Vulnerability · Published May 26, 2021 · Assigned by redhat

CVE-2021-30500

High 7.8

In plain English

A high-severity null pointer dereference 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.2% (higher than 69% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)7.8High
Exploit odds (30 days)1.2%top 30.9% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

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

Affected products (as reported)

VendorProductVersions
n/a upx upx 4.0

Weakness: CWE-476

References