UPX p_lx_elf.cpp un_DT_INIT heap-based overflow
Vulnerability 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.
Impact Analysis
Refer to official advisory for detailed impact metrics.
Remediation
Ensure systems are updated to the latest vendor-supplied patch levels.
Am I Vulnerable?
Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2025-2849
Credits & Attribution
The following person or organization is credited with identifying this vulnerability, as recorded in the NVD database:
- NPU Unmanned Systems Safety Laboratory (VulDB User)
References
- https://vuldb.com/?id.301494
- https://vuldb.com/?ctiid.301494
- https://vuldb.com/?submit.522371
- 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://github.com/upx/upx/commit/e0b6ff192412f5bb5364c1948f4f6b27a0cd5ea2