Vulnerability · Published Aug 25, 2022 · Assigned by redhat

CVE-2020-27797

Medium 5.5

In plain English

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

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

Official description

An invalid memory address reference was discovered in the elf_lookup function in p_lx_elf.cpp in UPX 4.0.0 via a crafted Mach-O file.

Affected packages & fixed versions

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

Affected products (as reported)

VendorProductVersions
n/a upx upx 4.0.0-git-87b73e5cfdc1+

Weakness: CWE-119

References