{"id":"CVE-2021-30500","details":"Null pointer dereference was found in upx PackLinuxElf::canUnpack() in p_lx_elf.cpp,in version UPX 4.0.0. That allow attackers to execute arbitrary code and cause a denial of service via a crafted file.","modified":"2026-07-09T00:14:02.976616Z","published":"2021-05-27T00:15:08.483Z","related":["openSUSE-SU-2023:0088-1"],"database_specific":{"unresolved_ranges":[{"cpes":["cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"33"},{"last_affected":"33"}],"source":"CPE_STRING","vendor_product":"fedoraproject:fedora"},{"cpes":["cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"7.0"},{"last_affected":"7.0"}],"source":"CPE_STRING","vendor_product":"redhat:enterprise_linux"}]},"references":[{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1948692"},{"type":"REPORT","url":"https://github.com/upx/upx/issues/485"},{"type":"FIX","url":"https://github.com/upx/upx/commit/90279abdfcd235172eab99651043051188938dcc"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/upx/upx","events":[{"introduced":"69ca635c4c0ba474e9ca583dbb42e3d028c4533a"},{"last_affected":"69ca635c4c0ba474e9ca583dbb42e3d028c4533a"},{"fixed":"90279abdfcd235172eab99651043051188938dcc"}],"database_specific":{"extracted_events":[{"introduced":"4.0.0"},{"last_affected":"4.0.0"}],"source":["CPE_STRING","REFERENCES"],"cpe":"cpe:2.3:a:upx:upx:4.0.0:*:*:*:*:*:*:*"}}],"versions":["4.0.0","v4.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-30500.json","vanir_signatures_modified":"2026-07-09T00:14:02Z","vanir_signatures":[{"id":"CVE-2021-30500-1db58217","signature_type":"Function","signature_version":"v1","source":"https://github.com/upx/upx/commit/90279abdfcd235172eab99651043051188938dcc","target":{"file":"src/p_lx_elf.cpp","function":"PackLinuxElf32::canUnpack"},"deprecated":false,"digest":{"function_hash":"195659927832214189917620206032031836622","length":187}},{"signature_version":"v1","source":"https://github.com/upx/upx/commit/90279abdfcd235172eab99651043051188938dcc","target":{"file":"src/p_lx_elf.cpp","function":"PackLinuxElf64::canUnpack"},"deprecated":false,"digest":{"length":678,"function_hash":"297660809110354721268824656352953698232"},"id":"CVE-2021-30500-a331cfa2","signature_type":"Function"},{"digest":{"threshold":0.9,"line_hashes":["67808947422885382892001242696481940408","248774463811149992663541651901235319961","86334854398016093809039749763893135532","317261114776454577962241975778966464315","54005563392294180897993548789785126937","245740544534781845508031889732424515074","272111553269849423416259819047661130422","213855792622867085735299794779365703227","216478141590148980457976540764247459929","274930623838235982655322564949524819121","47113020994492468516410760695982302936","86334854398016093809039749763893135532","107370910835469206454149122140010260115","255830532206859043250869008652145294010","74292198608600530625601120046048391471","98584086108833330075633664089875600274","25965964887037125459983560885222598586","282492245537366763669467335669003515783"]},"id":"CVE-2021-30500-e010c96c","signature_type":"Line","signature_version":"v1","source":"https://github.com/upx/upx/commit/90279abdfcd235172eab99651043051188938dcc","target":{"file":"src/p_lx_elf.cpp"},"deprecated":false}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}