---
id: CVE-2026-52759
title: >-
  Ghidra < 12.1.1 - Denial of Service via Uncontrolled Memory Allocation in
  Mach-O Parser
summary: >-
  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
  lo…
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'
cvssSource: cna
cwe:
  - CWE-789
vendor: Ghidra
product: Ghidra
affected:
  - Ghidra < 12.1.1
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-06-10T14:46:22.393924Z'
exploitAvailable: true
published: '2026-06-10'
updated: '2026-09-24'
sourceUpdated: '2026-09-24T14:17:46.062Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-52759'
references:
  - url: >-
      https://github.com/NationalSecurityAgency/ghidra/security/advisories/GHSA-v6c3-h9cp-3whf
    label: GitHub Security Advisory (GHSA-v6c3-h9cp-3whf)
  - url: >-
      https://www.vulncheck.com/advisories/ghidra-denial-of-service-via-uncontrolled-memory-allocation-in-mach-o-parser
tags:
  - cve.org
  - exploit-available
epss: 0.00161
epssPercentile: 0.04552
ingestedAt: '2026-09-24T15:45:56.729Z'
---

## Overview

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.

## Affected

- `Ghidra < 12.1.1`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
