Vulnerability · Published Jan 12, 2023 · Assigned by fedora
CVE-2023-23456Upx: heap-buffer-overflow in packtmt::pack()
Medium 5.3
In plain English
A medium-severity out-of-bounds write in upx. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 34% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)0.4%top 65.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
A heap-based buffer overflow issue was discovered in UPX in PackTmt::pack() in p_tmt.cpp file. The flow allows an attacker to cause a denial of service (abort) via a crafted file.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | upx | 4.0.2-r0 | ALPINE-CVE-2023-23456 |
| Alpine:v3.21 | upx | 4.0.2-r0 | ALPINE-CVE-2023-23456 |
| Alpine:v3.22 | upx | 4.0.2-r0 | ALPINE-CVE-2023-23456 |
| Alpine:v3.23 | upx | 4.0.2-r0 | ALPINE-CVE-2023-23456 |
| Alpine:v3.24 | upx | 4.0.2-r0 | ALPINE-CVE-2023-23456 |
| Debian:13 | upx-ucl | 4.2.2-1 | DEBIAN-CVE-2023-23456 |
| Debian:14 | upx-ucl | 4.2.2-1 | DEBIAN-CVE-2023-23456 |
| Ubuntu:24.04:LTS | upx-ucl | no fix listed | UBUNTU-CVE-2023-23456 |
| Ubuntu:25.10 | upx-ucl | no fix listed | UBUNTU-CVE-2023-23456 |
| Ubuntu:26.04:LTS | upx-ucl | no fix listed | UBUNTU-CVE-2023-23456 |
| Ubuntu:26.10 | upx-ucl | no fix listed | UBUNTU-CVE-2023-23456 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| upx | see references |
Weakness: CWE-787 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2160381
- https://github.com/upx/upx/commit/510505a85cbe45e51fbd470f1aa8b02157c429d4
- https://github.com/upx/upx/issues/632
- FEDORA-2023-8d91390935 vendor-advisory
- FEDORA-2023-89fdc22ace vendor-advisory
- https://lists.debian.org/debian-lts-announce/2024/12/msg00013.html