CVE-2026-52759 Ghidra < 12.1.1 - Denial of Service via Uncontrolled Memory Allocation in Mach-O Parser
Attackers can crash Ghidra by supplying a crafted Mach-O binary with an excessive load command count, causing uncontrolled memory allocation.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-52759?
CVE-2026-52759 is a medium-severity denial of service vulnerability in Ghidra, published on 10 Jun 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-789
Which versions are affected by CVE-2026-52759?
It affects 1 product.
Products include Nsa Ghidra.
How do I fix CVE-2026-52759?
No fix has been published for CVE-2026-52759 yet. Limit exposure of the affected software until one is available.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2026-52759 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-52759 exists.
Other vulnerabilities in Ghidra
Sources
Also known as GHSA-v6c3-h9cp-3whf.