Vulnerability · Published May 26, 2021 · Assigned by redhat

CVE-2021-30501

Medium 5.5

In plain English

A medium-severity improper input validation in upx. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 64% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)5.5Medium
Exploit odds (30 days)1.0%top 35.8% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20upx4.0.0-r0ALPINE-CVE-2021-30501
Alpine:v3.21upx4.0.0-r0ALPINE-CVE-2021-30501
Alpine:v3.22upx4.0.0-r0ALPINE-CVE-2021-30501
Alpine:v3.23upx4.0.0-r0ALPINE-CVE-2021-30501
Alpine:v3.24upx4.0.0-r0ALPINE-CVE-2021-30501
Debian:13upx-ucl4.2.2-1DEBIAN-CVE-2021-30501
Debian:14upx-ucl4.2.2-1DEBIAN-CVE-2021-30501
Ubuntu:22.04:LTSupx-uclno fix listedUBUNTU-CVE-2021-30501
Ubuntu:24.04:LTSupx-uclno fix listedUBUNTU-CVE-2021-30501
Ubuntu:25.10upx-uclno fix listedUBUNTU-CVE-2021-30501
Ubuntu:26.04:LTSupx-uclno fix listedUBUNTU-CVE-2021-30501
Ubuntu:26.10upx-uclno fix listedUBUNTU-CVE-2021-30501

Affected products (as reported)

VendorProductVersions
n/a upx upx 4.0

Weakness: CWE-20

References