What’s Vulnerable › Vulnerabilities
CVE-2025-2849: UPX p_lx_elf.cpp un_DT_INIT heap-based overflow
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2025-03-27 · updated 2026-06-17
- Weakness: CWE-119
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 products
- upx: through 5.0.0
References
- https://github.com/upx/upx/commit/e0b6ff192412f5bb5364c1948f4f6b27a0cd5ea2
- https://github.com/upx/upx/issues/898
- https://github.com/upx/upx/issues/898#issuecomment-2734082143
- https://github.com/user-attachments/files/19307868/input.zip
- https://vuldb.com/?ctiid.301494
- https://vuldb.com/?id.301494
- https://vuldb.com/?submit.522371
- https://github.com/upx/upx/issues/898#issuecomment-2734082143
Get alerted when CVE-2025-2849 or the next vulnerability affects your stack