Vulnerability · Published Mar 24, 2023 · Assigned by fedora

CVE-2021-43312

High 7.5

In plain English

A high-severity memory corruption in upx. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 57% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)7.5High
Exploit odds (30 days)0.8%top 42.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

A heap-based buffer overflow was discovered in upx, during the variable 'bucket' points to an inaccessible address. The issue is being triggered in the function PackLinuxElf64::invert_pt_dynamic at p_lx_elf.cpp:5239.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:13upx-ucl4.2.2-1DEBIAN-CVE-2021-43312
Debian:14upx-ucl4.2.2-1DEBIAN-CVE-2021-43312
Ubuntu:22.04:LTSupx-uclno fix listedUBUNTU-CVE-2021-43312
Ubuntu:24.04:LTSupx-uclno fix listedUBUNTU-CVE-2021-43312
Ubuntu:25.10upx-uclno fix listedUBUNTU-CVE-2021-43312
Ubuntu:26.04:LTSupx-uclno fix listedUBUNTU-CVE-2021-43312
Ubuntu:26.10upx-uclno fix listedUBUNTU-CVE-2021-43312

Affected products (as reported)

VendorProductVersions
n/a upx upx before 4.0.0-git-c6b9e3c62d15

Weakness: CWE-119

References