Ghidra before 12.1.1 contains an uncontrolled memory allocation vulnerability in the Mach-O binary parser that allows attackers to cause denial of service. An attacker can supply a crafted Mach-O binary with an arbitrarily large ncmds load command count value, forcing the parser to allocate excessive heap memory without validating file size, crashing the Ghidra JVM.
{
"cna_assigner": "VulnCheck",
"cwe_ids": [
"CWE-789"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52759.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "12.1.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"cpe": "cpe:2.3:a:nsa:ghidra:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "12.1.1"
}
],
"source": "CPE_RANGE"
}
]
}