CVE-2025-2849
UPX p_lx_elf.cpp un_DT_INIT heap-based overflow
Reported by vuldb · Published March 27, 2025
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| upx | Wolfi | 5.0.1-r0 |
| upx | upx | 5.0.0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | UPX | 5.0 |
| wolfi | upx | 0 |
| chainguard | upx | 0 |
| n/a | UPX | 5.0 |
Timeline
- Mar 27, 2025 CVE Published
- Mar 27, 2025 CVE Updated
- Mar 28, 2025 EPSS Score (30 in total, the first dated here)
- Mar 29, 2025 Coalition ESS Score (8 in total, the first dated here)
- Apr 1, 2026 Security Advisory (2 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-2849
vulnetix vdb fixes CVE-2025-2849
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-2849/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- VDB-301494 | UPX p_lx_elf.cpp un_DT_INIT heap-based overflow vdb-entrytechnical-description
- VDB-301494 | CTI Indicators (IOB, IOC, IOA) signaturepermissions-required
- Submit #522371 | upx 5.0.0 Buffer Overflow third-party-advisory
- issue-tracking
- issue-tracking
- exploit
- patch