# CVE-2023-23456: Upx: heap-buffer-overflow in packtmt::pack()

- Severity: Medium 5.3 (CVSS:3.1, scored by fedora) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L`
- 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.44%, higher than 31% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-01-12T00:00:00.000Z
- Modified: 2026-06-17T05:37:11.033Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: fedora

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

(As written by CVE List.)

## Affected

- upx: no versions given (not affected: from 4.0.2 before *)
- upx upx: before 2022-11-24
- fedoraproject fedora: 36; 37

## Every score

- fedora: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L`
- 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/632> (exploit, third-party-advisory)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2160381> (issue-tracking, third-party-advisory)
- <https://github.com/upx/upx/commit/510505a85cbe45e51fbd470f1aa8b02157c429d4> (patch, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EL3BVKIGG3SH6I3KPOYQAWCBD4UMPOPI/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TGEP3FBNRZXGLIA2B2ICMB32JVMPREFZ/> (vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2024/12/msg00013.html>

## Sources

- CVE List: [CVE-2023-23456](https://www.cve.org/CVERecord?id=CVE-2023-23456), CVE Terms of Use, modified 2024-12-11
- NVD: [CVE-2023-23456](https://nvd.nist.gov/vuln/detail/CVE-2023-23456), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-23456 · Whole record: https://cve.day/CVE-2023-23456.json · Rebuilt by cve.day 2026-11-25T22:58:21.567Z
