CVE-2026-49495

Ghidra 10.2 < 12.1 - Denial of Service via Circular Reference in Mach-O Export Trie Parser

Published Jun 10, 2026 CVSS 4.0 · 6.7 Medium EPSS < 1% KEV · Not listed
Description
Ghidra 10.2 before 12.1 contains an uncontrolled resource consumption vulnerability in ExportTrie.parseTrie() that lacks cycle detection when traversing Mach-O binary export tries. A crafted Mach-O binary with circular references in the export trie causes unbounded queue growth and exponential string concatenation, triggering OutOfMemoryError that crashes the entire JVM and loses all unsaved work.

Analysis

AI-generated

Technical impact

Ghidra versions 10.2 through 12.0 contain an uncontrolled resource consumption bug in the ExportTrie.parseTrie() routine. When a Mach‑O binary with circular references in its export trie is parsed, the algorithm grows an unbounded queue and performs exponential string concatenation. This leads to an OutOfMemoryError that crashes the Java Virtual Machine, terminating the analysis session and discarding any unsaved work. The weakness is a classic lack of resource limiting, classified as CWE‑835.

Affected Systems

The National Security Agency’s Ghidra platform, from version 10.2 up to 12.0, is affected. Versions 12.1 and later include the necessary cycle detection logic and are not vulnerable. Any deployment of Ghidra that loads user‑supplied or externally provided Mach‑O binaries using these affected releases is at risk.

Risk and Exploitability

The CVSS score of 6.7 indicates a moderate severity. No EPSS value is available, and the flaw is not listed in the CISA KEV catalog, indicating it is not yet known to be exploited in the wild. The effect is local; an attacker would need to supply a crafted Mach‑O binary to a user running Ghidra, causing an application crash. The vulnerability cannot be leveraged for remote code execution but can still disrupt analysis workflows when malicious or corrupt binary files are processed.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Ghidra to version 12.1 or later, which includes cycle detection in the export‑trie parser.
  • Configure Ghidra’s JVM options to limit the maximum heap size, reducing the impact of any out‑of‑memory conditions.
  • Restrict the use of external Mach‑O binaries by validating file integrity or providing a sandboxed import process before analysis.

Generated by OpenCVE AI on June 10, 2026 at 15:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Ghidra 10.2 before 12.1 contains an uncontrolled resource consumption vulnerability in ExportTrie.parseTrie() that lacks cycle detection when traversing Mach-O binary export tries. A crafted Mach-O binary with circular references in the export trie causes unbounded queue growth and exponential string concatenation, triggering OutOfMemoryError that crashes the entire JVM and loses all unsaved work.
Title Ghidra 10.2 < 12.1 - Denial of Service via Circular Reference in Mach-O Export Trie Parser
First Time appeared Nsa
Nsa ghidra
Weaknesses CWE-835
CPEs cpe:2.3:a:nsa:ghidra:*:*:*:*:*:*:*:*
Vendors & Products Nsa
Nsa ghidra
References
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 6.7, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-835

    Loop with Unreachable Exit Condition ('Infinite Loop')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Jul 14, 2026, 9:33 PM
Reserved
May 31, 2026, 11:54 AM
Status
Analyzed
Published
Jun 10, 2026, 2:16 PM
Modified
Oct 26, 2026, 11:10 AM