Vulnerability · Published Mar 27, 2025 · Assigned by VulDB

CVE-2025-2849UPX p_lx_elf.cpp un_DT_INIT heap-based overflow

Low 3.3

In plain English

A low-severity heap buffer overflow in UPX. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 23% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)3.3Low
Exploit odds (30 days)0.3%top 76.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

A vulnerability, which was classified as problematic, was found in UPX up to 5.0.0. Affected is the function PackLinuxElf64::un_DT_INIT of the file src/p_lx_elf.cpp. The manipulation leads to heap-based buffer overflow. It is possible to launch the attack on the local host. The exploit has been disclosed to the public and may be used. The patch is identified as e0b6ff192412f5bb5364c1948f4f6b27a0cd5ea2. It is recommended to apply a patch to fix this issue.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:13upx-ucl4.2.4-1.1DEBIAN-CVE-2025-2849
Debian:14upx-ucl4.2.4-1.1DEBIAN-CVE-2025-2849
Ubuntu:22.04:LTSupx-uclno fix listedUBUNTU-CVE-2025-2849
Ubuntu:24.04:LTSupx-uclno fix listedUBUNTU-CVE-2025-2849
Ubuntu:25.10upx-uclno fix listedUBUNTU-CVE-2025-2849
Ubuntu:26.04:LTSupx-uclno fix listedUBUNTU-CVE-2025-2849
Ubuntu:26.10upx-uclno fix listedUBUNTU-CVE-2025-2849

Affected products (as reported)

VendorProductVersions
n/a UPX 5.0

Weakness: CWE-122, CWE-119 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

References