CVE-2025-2849 UPX p_lx_elf.cpp un_DT_INIT heap-based overflow
MediumCVSS 4.8
EPSS 0.30%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebian
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
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/upx-ucl(Debian:13) | < 4.2.4-1.1 | 4.2.4-1.1 |
| debian/upx-ucl(Debian:14) | < 4.2.4-1.1 | 4.2.4-1.1 |
| ubuntu/upx-ucl(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/upx-ucl(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/upx-ucl(Ubuntu:26.04) | All versions | No fix listed |
| upx | <= 5.0.0 | No fix listed |
| ubuntu/upx-ucl(Ubuntu:26.10) | All versions | No fix listed |
References
- Debian Security Tracker CVE-2025-2849 vendor-advisory
- VDB-301494 | UPX p_lx_elf.cpp un_DT_INIT heap-based overflow technical-description third-party-advisory vdb-entry
- VDB-301494 | CTI Indicators (IOB, IOC, IOA) permissions-required signature vdb-entry
- Submit #522371 | upx 5.0.0 Buffer Overflow third-party-advisory vdb-entry
- github.com exploit issue-tracking
- github.com exploit product
- github.com patch
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- bugs.debian.org issue-tracking