Home

Description

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.

PUBLISHED Reserved 2026-06-08 | Published 2026-06-10 | Updated 2026-06-10 | Assigner VulnCheck




MEDIUM: 6.7CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

MEDIUM: 5.5CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Problem types

Memory Allocation with Excessive Size Value

Product status

Default status
unaffected

Any version before 12.1.1
affected

12.1.1 (semver)
unaffected

Credits

kwenma (@nyst) reporter

References

github.com/...ghidra/security/advisories/GHSA-v6c3-h9cp-3whf exploit

github.com/...ghidra/security/advisories/GHSA-v6c3-h9cp-3whf (GitHub Security Advisory (GHSA-v6c3-h9cp-3whf)) vendor-advisory

www.vulncheck.com/...lled-memory-allocation-in-mach-o-parser third-party-advisory

cve.org (CVE-2026-52759)

nvd.nist.gov (CVE-2026-52759)

Download JSON