Buffer overflow in Upx

CVE-2025-2849

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.

Vulnerability class: Buffer Overflow

EPSS: 0.003 (19.6th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 3.3 (Low). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L.

Affected products

  • Upx
  • N/a Upx — versions 5.0

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2025-2849?
CVE-2025-2849 is a low-severity vulnerability in Upx, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. CVSS score: 3.3/10. Published 2025-03-27.
How severe is CVE-2025-2849?
Low severity. CVSS v3 base score is 3.3 out of 10.