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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:13 | upx-ucl | 4.2.4-1.1 | DEBIAN-CVE-2025-2849 |
| Debian:14 | upx-ucl | 4.2.4-1.1 | DEBIAN-CVE-2025-2849 |
| Ubuntu:22.04:LTS | upx-ucl | no fix listed | UBUNTU-CVE-2025-2849 |
| Ubuntu:24.04:LTS | upx-ucl | no fix listed | UBUNTU-CVE-2025-2849 |
| Ubuntu:25.10 | upx-ucl | no fix listed | UBUNTU-CVE-2025-2849 |
| Ubuntu:26.04:LTS | upx-ucl | no fix listed | UBUNTU-CVE-2025-2849 |
| Ubuntu:26.10 | upx-ucl | no fix listed | UBUNTU-CVE-2025-2849 |
Affected products (as reported)
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
- VDB-301494 | UPX p_lx_elf.cpp un_DT_INIT heap-based overflow vdb-entry, technical-description
- VDB-301494 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- Submit #522371 | upx 5.0.0 Buffer Overflow third-party-advisory
- https://github.com/upx/upx/issues/898 issue-tracking
- https://github.com/upx/upx/issues/898#issuecomment-2734082143 issue-tracking
- https://github.com/user-attachments/files/19307868/input.zip exploit
- https://github.com/upx/upx/commit/e0b6ff192412f5bb5364c1948f4f6b27a0cd5ea2 patch