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.
[
{
"signature_version": "v1",
"deprecated": false,
"source": "https://github.com/upx/upx/commit/510505a85cbe45e51fbd470f1aa8b02157c429d4",
"signature_type": "Function",
"digest": {
"function_hash": "220717979257995067740235354140517022474",
"length": 2463.0
},
"target": {
"function": "PackTmt::pack",
"file": "src/p_tmt.cpp"
},
"id": "CVE-2023-23456-30406e57"
},
{
"signature_version": "v1",
"deprecated": false,
"source": "https://github.com/upx/upx/commit/510505a85cbe45e51fbd470f1aa8b02157c429d4",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"270024483870746860115248023866527824226",
"79830583490447665270709313112436993527",
"291318213354037756716722800564369620775",
"4740004736721467142620947638923731624",
"120725108330954488452842994145145398294",
"138298100867617654658183141083695253012",
"194280349460958820897612452077813851344",
"70290090431462953646166478681158878249",
"215867728904584706182861124232248056731",
"186605570923333482126481702737061720027",
"58757993893416442914959371182918678569",
"337992464289758136001726834326682586653"
]
},
"target": {
"file": "src/p_tmt.cpp"
},
"id": "CVE-2023-23456-781d46cd"
},
{
"signature_version": "v1",
"deprecated": false,
"source": "https://github.com/upx/upx/commit/510505a85cbe45e51fbd470f1aa8b02157c429d4",
"signature_type": "Function",
"digest": {
"function_hash": "117702628094271530305967185331654311313",
"length": 1709.0
},
"target": {
"function": "PackTmt::readFileHeader",
"file": "src/p_tmt.cpp"
},
"id": "CVE-2023-23456-a8760a82"
}
]