{"id":"CVE-2023-23456","summary":"Upx: heap-buffer-overflow in packtmt::pack()","details":"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.","modified":"2026-08-12T13:33:54.868058Z","published":"2023-01-12T00:00:00Z","related":["CGA-wrr5-jpq6-8xv7","openSUSE-SU-2023:0088-1"],"database_specific":{"cna_assigner":"fedora","cwe_ids":["CWE-787"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/23xxx/CVE-2023-23456.json"},"references":[{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/12/msg00013.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/23xxx/CVE-2023-23456.json"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EL3BVKIGG3SH6I3KPOYQAWCBD4UMPOPI/"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TGEP3FBNRZXGLIA2B2ICMB32JVMPREFZ/"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-23456"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2160381"},{"type":"REPORT","url":"https://github.com/upx/upx/issues/632"},{"type":"FIX","url":"https://github.com/upx/upx/commit/510505a85cbe45e51fbd470f1aa8b02157c429d4"},{"type":"PACKAGE","url":"https://github.com/upx/upx"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/upx/upx","events":[{"introduced":"0"},{"fixed":"510505a85cbe45e51fbd470f1aa8b02157c429d4"}],"database_specific":{"source":"REFERENCES"}}],"versions":["v4.0.1","v4.0.0","v3.99","v3.96","v3.95","v3.93","v3.92","v3.91","v3.09","v3.07","v3.06","v3.04","v3.03","v3.02","v3.01","v3.00","v2.93","v2.92","v2.91","v2.90","v2.01","v2.00","v1.96","v1.95","v1.94","v1.93","v1.92","v1.91","v1.90","v1.11","v1.10"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-23456.json","vanir_signatures_modified":"2026-08-12T13:33:54Z","vanir_signatures":[{"deprecated":false,"digest":{"function_hash":"220717979257995067740235354140517022474","length":2463},"id":"CVE-2023-23456-30406e57","signature_type":"Function","signature_version":"v1","source":"https://github.com/upx/upx/commit/510505a85cbe45e51fbd470f1aa8b02157c429d4","target":{"file":"src/p_tmt.cpp","function":"PackTmt::pack"}},{"digest":{"line_hashes":["270024483870746860115248023866527824226","79830583490447665270709313112436993527","291318213354037756716722800564369620775","4740004736721467142620947638923731624","120725108330954488452842994145145398294","138298100867617654658183141083695253012","194280349460958820897612452077813851344","70290090431462953646166478681158878249","215867728904584706182861124232248056731","186605570923333482126481702737061720027","58757993893416442914959371182918678569","337992464289758136001726834326682586653"],"threshold":0.9},"id":"CVE-2023-23456-781d46cd","signature_type":"Line","signature_version":"v1","source":"https://github.com/upx/upx/commit/510505a85cbe45e51fbd470f1aa8b02157c429d4","target":{"file":"src/p_tmt.cpp"},"deprecated":false},{"deprecated":false,"digest":{"length":1709,"function_hash":"117702628094271530305967185331654311313"},"id":"CVE-2023-23456-a8760a82","signature_type":"Function","signature_version":"v1","source":"https://github.com/upx/upx/commit/510505a85cbe45e51fbd470f1aa8b02157c429d4","target":{"function":"PackTmt::readFileHeader","file":"src/p_tmt.cpp"}}]}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L"}]}