# CVE-2025-2849: UPX p_lx_elf.cpp un_DT_INIT heap-based overflow

- Severity: Medium 4.8 (CVSS:4.0, scored by VulDB) `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 25% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 3 links below, marked "exploit"
- Published: 2025-03-27T13:31:06.442Z
- Modified: 2026-06-17T09:07:43.647Z
- Weaknesses: CWE-119, CWE-122, CWE-787
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- UPX: 5.0
- upx upx: up to 5.0.0

## Every score

- VulDB: CVSS:4.0 4.8 Medium `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N`
- VulDB: CVSS:3.1 3.3 Low `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- VulDB: CVSS:3.0 3.3 Low `CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- VulDB: CVSS:2.0 1.7 Low `AV:L/AC:L/Au:S/C:N/I:N/A:P`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`

## References

- <https://github.com/upx/upx/issues/898> (exploit, issue-tracking)
- <https://github.com/upx/upx/issues/898#issuecomment-2734082143> (exploit, issue-tracking)
- <https://github.com/user-attachments/files/19307868/input.zip> (exploit, product)
- <https://vuldb.com/?id.301494> (technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/?ctiid.301494> (permissions-required, signature, vdb-entry)
- <https://vuldb.com/?submit.522371> (third-party-advisory, vdb-entry)
- <https://github.com/upx/upx/commit/e0b6ff192412f5bb5364c1948f4f6b27a0cd5ea2> (patch)

## Sources

- CVE List: [CVE-2025-2849](https://www.cve.org/CVERecord?id=CVE-2025-2849), CVE Terms of Use, modified 2025-03-27
- NVD: [CVE-2025-2849](https://nvd.nist.gov/vuln/detail/CVE-2025-2849), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-2849 · Whole record: https://cve.day/CVE-2025-2849.json · Rebuilt by cve.day 2026-11-25T22:58:55.603Z
