Home / UPX / UPX / CVE-2025-2849
CVE-2025-2849: is it exploited, and which versions of UPX are affected and fixed?
CVE-2025-2849 is a heap buffer overflow vulnerability in UPX. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:38 UTC). Affected: UPX 5.0 (CVE record by VulDB). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (4.8, CVSS 4.0, from VulDB).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:38 UTC, CVE record November 19, 2026, 07:10 UTC and NVD November 19, 2026, 07:21 UTC.
What is CVE-2025-2849?
UPX p_lx_elf.cpp un_DT_INIT heap-based overflow
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.
From the CVE record by VulDB, last updated March 27, 2025, 14:11 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| UPX | 5.0 |
As the CVE record by VulDB states it, last updated March 27, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| upx | upx | through 5.0.0 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 09:07 UTC.
How severe is CVE-2025-2849?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.8 | CVSS 4.0 | 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 |
| Low 3.3 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L | VulDB |
| Low 3.3 | CVSS 3.0 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L | VulDB |
| Low 1.7 | CVSS 2.0 | AV:L/AC:L/Au:S/C:N/I:N/A:P | VulDB |
| Medium 5.5 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-2849 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, March 27, 2025)
- EPSS
- 0.30% probability of exploitation activity in the next 30 days, percentile 25.0 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-122 Heap-based Buffer Overflow
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
- CWE-787 Out-of-bounds Write
Where are the vendor advisories and 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
Who found and reported it?
- NPU Unmanned Systems Safety Laboratory (VulDB User) (reporter)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- March 27, 2025
- Published
- March 27, 2025, 13:31 UTC
- CVE record updated
- March 27, 2025, 14:11 UTC by VulDB
- NVD
- Analyzed, last modified June 17, 2026, 09:07 UTC
- Last checked
- CVE list November 19, 2026, 07:10 UTC; NVD November 19, 2026, 07:21 UTC; KEV December 3, 2026, 11:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect UPX?
- Apr 2, 2024CVE-2024-3209 UPX: heap buffer overflow
- Aug 22, 2023CVE-2021-46179 Upx: reachable assertion (crash)
- Mar 24, 2023CVE-2021-43317 upx: memory corruption (buffer overflow)
- Mar 24, 2023CVE-2021-43316 upx: memory corruption (buffer overflow)
- Mar 24, 2023CVE-2021-43315 upx: memory corruption (buffer overflow)
- Mar 24, 2023CVE-2021-43314 upx: memory corruption (buffer overflow)
- Mar 24, 2023CVE-2021-43313 upx: memory corruption (buffer overflow)
- Mar 24, 2023CVE-2021-43312 upx: memory corruption (buffer overflow)
Questions about CVE-2025-2849
Is CVE-2025-2849 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:38 UTC. FIRST's EPSS gives it a 0.30% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of UPX are affected by CVE-2025-2849?
UPX 5.0, per the CVE record by VulDB. The tables above give every range the sources list.
Which version fixes CVE-2025-2849?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2025-2849?
Medium (4.8, CVSS 4.0, from VulDB). The severity table above shows each score with its source.
Where is the official record of CVE-2025-2849?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.