CVE-2025-2849 Details
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.
A heap-based buffer overflow vulnerability has been identified in UPX versions prior to 5.0.0. The issue arises in the PackLinuxElf64::un_DT_INIT function within the src/p_lx_elf.cpp file. This vulnerability can be exploited locally by manipulating the input to the unpacking process, leading to a segmentation fault and application crash. The vulnerability has been publicly disclosed and is available as a proof-of-concept exploit.
Users are advised to update to UPX version 5.0.1 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 27, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/upx/upx/issues/898#issuecomment-2734082143 | CISA-ADP | ExploitIssue Tracking |
| https://github.com/upx/upx/commit/e0b6ff192412f5bb5364c1948f4f6b27a0cd5ea2 | [email protected] | Patch |
| https://github.com/upx/upx/issues/898 | [email protected] | ExploitIssue Tracking |
| https://github.com/upx/upx/issues/898#issuecomment-2734082143 | [email protected] | ExploitIssue Tracking |
| https://github.com/user-attachments/files/19307868/input.zip | [email protected] | Product |
| https://vuldb.com/?ctiid.301494 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.301494 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.522371 | [email protected] | Third Party AdvisoryVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-787 | Out-of-bounds Write | [email protected] |
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer | [email protected] |
| CWE-122 | Heap-based Buffer Overflow | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| upx upx | <= 5.0.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 11, 2025 | Initial Analysis | [email protected] |
| Mar 27, 2025 | New CVE Received | [email protected] |
| Mar 27, 2025 | CVE Modified | CISA-ADP |