CVE-2021-30501 json
An assertion abort was found in upx MemBuffer::alloc() in mem.cpp, in version UPX 4.0.0.
published 2021-05-26 5 y ago modified 2026-06-17 4 mo ago also EUVD-2021-17422
- cvss
- 5.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.0%
- EPSS 1.0% chance of exploitation in 30 days, percentile 64%
- public exploits
- 0
- none known
Summary
An assertion abort was found in upx MemBuffer::alloc() in mem.cpp, in version UPX 4.0.0. The flow allows attackers to cause a denial of service (abort) via a crafted file.
Patch / fix
- upx-ucl Debian 14, Debian 13 4.2.2-1
debian advisories DEBIAN-CVE-2021-30501
- 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-30501
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@28e761c commit
- github.com/upx/upx#487 pull request
- bugzilla.redhat.com/show_bug.cgi?id=1948696 advisory
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-30501 updated cvss 5.3
upx: Assertion abort in function MemBuffer::alloc()
-
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.04% chance of exploitation in the next 30 days, higher than 64% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/upx/upx/pull/487 referenced PoC, tagged "exploit" by a source, unverified
- github.com https://github.com/upx/upx/issues/486 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
Affected products
- n/a upx
Classification
References
-
github.com
/upx/upx/pull/487
exploit, patch, third-party-advisory
-
github.com
/upx/upx/commit/28e761cd42211dfe0124b7a29b2f74730f453e46
patch, third-party-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=1948696
issue-tracking, patch, third-party-advisory
-
github.com
/upx/upx/issues/486
exploit, issue-tracking, third-party-advisory
Sources
- CVE List CVE-2021-30501
- NVD CVE-2021-30501
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.