CVE-2021-30500 json
Null pointer dereference was found in upx PackLinuxElf::canUnpack() in p_lx_elf.cpp,in version UPX 4.0.0.
published 2021-05-26 5 y ago modified 2026-06-17 4 mo ago also EUVD-2021-17421
- cvss
- 7.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.2%
- EPSS 1.2% chance of exploitation in 30 days, percentile 69%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- upx-ucl Debian 14, Debian 13 4.2.2-1
debian advisories DEBIAN-CVE-2021-30500
- upx Package Hub 15 SP4, openSUSE Leap 15.4 4.0.2-bp154.4.6.1
opensuse advisories openSUSE-SU-2023:0088-1
- upx Alpine 3.24, Alpine 3.23, Alpine 3.22 +5 more 4.0.0-r0
alpine advisories ALPINE-CVE-2021-30500
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- github.com/upx/upx@90279ab commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-30500 updated cvss 7.5
upx: Null pointer dereference in PackLinuxElf::canUnpack() in p_lx_elf.cpp
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.23% chance of exploitation in the next 30 days, higher than 69% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/upx/upx/issues/485 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected products
- n/a upx
Classification
- Weakness
-
- CWE-476 NULL Pointer Dereference
References
-
github.com
/upx/upx/commit/90279abdfcd235172eab99651043051188938dcc
patch, third-party-advisory
-
github.com
/upx/upx/issues/485
exploit, issue-tracking, third-party-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=1948692
issue-tracking, third-party-advisory
Sources
- CVE List CVE-2021-30500
- NVD CVE-2021-30500
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.