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
Published · last modified .
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.
EPSS exploit prediction
EPSS 0.003, 23.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Upx
- Upx — versions 5.0
Weakness classification (CWE)
References
- VDB-301494 | UPX p_lx_elf.cpp un_DT_INIT heap-based overflow (technical-description, Third Party Advisory, VDB Entry, vdb-entry)
- VDB-301494 | CTI Indicators (IOB, IOC, IOA) (signature, Permissions Required, permissions-required, VDB Entry)
- Submit #522371 | upx 5.0.0 Buffer Overflow (Third Party Advisory, VDB Entry, third-party-advisory)
- github.com/upx/upx/issues/898 (issue-tracking, Exploit, Issue Tracking)
- github.com/upx/upx/issues/898 (issue-tracking, Exploit, Issue Tracking)
- github.com/user-attachments/files/19307868/input.zip (Product, exploit)
- github.com/upx/upx/commit/e0b6ff192412f5bb5364c1948f4f6b27a0cd5ea2 (Patch, patch)