Skip to main content

Ghidra EUVDEUVD-2026-36004

| CVE-2026-49495 MEDIUM
Loop with Unreachable Exit Condition (Infinite Loop) (CWE-835)
2026-06-10 VulnCheck
6.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft Mach-O binary with circular trie
  2. Delivery
    Deliver file to target analyst
  3. Exploit
    Analyst opens binary in Ghidra
  4. Execution
    parseTrie() traverses circular references unboundedly
  5. Persist
    JVM heap exhausted via queue and string growth
  6. Impact
    OutOfMemoryError crashes JVM and destroys unsaved work

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Loop termination conditions
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The analyst must actively open a crafted Mach-O binary file within an affected Ghidra instance (versions 10.2 through pre-12.1) - this is confirmed by CVSS UI:A (active user interaction required) and AV:L (local attack vector). The vulnerability is specific to Ghidra's Mach-O export trie parser; PE, ELF, or other binary formats do not trigger this code path. No authentication or elevated privileges are required by the attacker (PR:N), but the attacker must successfully deliver the malicious file to the analyst's local filesystem or a path the analyst will open. Exploitation is limited to denial-of-service (availability only); the CVSS vector confirms no confidentiality or integrity impact, so an attacker cannot read files, escalate privileges, or execute arbitrary code through this vulnerability.

Impact

CVSS 4.0 scores this at 6.7 with vector AV:L/AC:L/AT:N/PR:N/UI:A/VA:H. The local attack vector and mandatory active user interaction (UI:A) are the primary risk-limiting factors - an attacker cannot exploit this remotely or silently; a human analyst must explicitly open the crafted file. No privileges are required (PR:N) and attack complexity is low (AC:L), meaning once a file is opened, exploitation is reliable and requires no special knowledge. The availability impact is High (VA:H) with no confidentiality or integrity impact, confirming this is a pure denial-of-service. No CISA KEV listing and no public exploit code are confirmed at time of analysis, and no EPSS score was provided. Despite the moderate CVSS score, the operational context meaningfully amplifies risk: Ghidra's primary use case is analyzing potentially hostile binaries, making the delivery mechanism (send a malicious binary to a researcher) entirely plausible and socially low-effort. The loss of unsaved analytical work in a long reverse-engineering session adds a productivity impact beyond the crash itself.

Exploit ScenarioDerived

An attacker crafts a Mach-O binary (e.g., a fake macOS dylib or executable) containing a deliberately circular export trie, where one or more trie nodes reference ancestor nodes, then submits it to a target security researcher as a sample for analysis - via email, a bug bounty submission, a malware-sharing platform, or a poisoned open-source package. When the researcher opens the file in an unpatched Ghidra instance, ExportTrie.parseTrie() enters an unbounded loop, memory is exhausted within seconds to minutes depending on heap size, and the JVM crashes, destroying hours of unsaved reverse-engineering work. No public proof-of-concept code is confirmed at time of analysis, but the attack is straightforward to reproduce from the CVE description alone.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 10, 2026

Uncontrolled resource consumption in Ghidra's Mach-O binary parser (versions 10.2 through pre-12.1) allows a crafted binary to crash the entire JVM and destroy all unsaved analyst work. The ExportTrie.parseTrie() method lacks cycle detection when walking export trie structures, so a malicious Mach-O binary embedding circular trie references triggers unbounded queue growth and exponential string concatenation until an OutOfMemoryError terminates the JVM process. No public exploit has been identified at time of analysis and no CISA KEV listing exists, but the risk is materially elevated in adversarial research contexts where analysts routinely open untrusted binaries - exactly the workflow Ghidra is designed for.

RemediationAI

The primary fix is upgrading to Ghidra 12.1 or later, which introduces cycle detection in the ExportTrie.parseTrie() method. The vendor advisory is available at https://github.com/NationalSecurityAgency/ghidra/security/advisories/GHSA-wm33-9f68-3vjg and the VulnCheck write-up at https://www.vulncheck.com/advisories/ghidra-denial-of-service-via-circular-reference-in-mach-o-export-trie-parser. The exact patched release version is stated as 12.1 in the description but should be independently confirmed against the GitHub release page before deployment. If immediate upgrade is not possible, the most targeted workaround is to avoid opening Mach-O binaries from untrusted sources in unpatched Ghidra instances; analysts should instead use an isolated VM or sandbox environment where a JVM crash has no impact on broader work. Saving work frequently before opening any untrusted binary reduces the data-loss component of the impact. There is no known configuration switch to disable export trie parsing selectively, so functional workarounds short of version upgrade are limited.

Affected VersionsENISA

Ghidra 10.2 <12.1

Affected Packages

euvd ghidra fix: 12.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Ghidra is the NSA-released Java-based reverse engineering framework (CPE: cpe:2.3:a:nationalsecurityagency:ghidra:*:*:*:*:*:*:*:*). The Mach-O binary format used by Apple platforms includes an export trie - a compressed trie data structure encoding exported symbol names and addresses. The parser in ExportTrie.parseTrie() traverses this structure using a queue or recursive approach. CWE-835 (Loop with Unreachable Exit Condition) is the root cause: when the trie contains a node that back-references an ancestor, the traversal never terminates. The JVM heap fills from two compounding effects: the work queue grows without bound as new nodes are enqueued faster than they are dequeued, and string concatenation of trie path prefixes grows exponentially at each circular node, consuming heap at an accelerating rate until the JVM throws OutOfMemoryError, which in Ghidra's single-process architecture terminates the entire application.

Know when Ghidra gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 6.7 MEDIUM
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

Primary rating from Vendor (VulnCheck) · only source for this CVE.

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Jun 10, 2026 - 15:01 EUVD
CVSS changed
Jun 10, 2026 - 14:22 NVD
5.5 (MEDIUM) 6.7 (MEDIUM)

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.0%
Top 98% exploitable
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

More in Ghidra

View all
CVE-2023-22671 CRITICAL POC
9.8 Jan 06

Ghidra/RuntimeScripts/Linux/support/launch.sh in NSA Ghidra through 10.2.2 passes user-provided input into eval, leading

CVE-2019-16941 CRITICAL POC
9.8 Sep 28

NSA Ghidra through 9.0.4, when experimental mode is enabled, allows arbitrary code execution if the Read XML Files featu

CVE-2019-13625 CRITICAL POC
9.1 Jul 17

NSA Ghidra before 9.0.1 allows XXE when a project is opened or restored, or a tool is imported, as demonstrated by a pro

CVE-2019-17665 HIGH POC
7.8 Oct 16

NSA Ghidra before 9.0.2 is vulnerable to DLL hijacking because it loads jansi.dll from the current working directory. Ra

CVE-2019-13623 HIGH POC
7.8 Jul 17

In NSA Ghidra before 9.1, path traversal can occur in RestoreTask.java (from the package ghidra.app.plugin.core.archive)

CVE-2026-4946 HIGH
8.8 Mar 29

Command injection in NSA Ghidra (versions before 12.0.3) executes arbitrary commands when analysts click on maliciously

CVE-2026-52758 HIGH
8.7 Jun 10

SQL injection in Ghidra's BSim binary-similarity component (versions before 12.1) allows authenticated remote attackers

CVE-2026-52754 HIGH
8.7 Jun 10

Authentication bypass in NSA Ghidra versions prior to 12.1 allows any holder of a valid CA-signed certificate to imperso

CVE-2026-49498 HIGH
8.7 Jun 10

SQL injection in Ghidra's PostgreSQL collaboration backend (versions 11.0 through pre-12.1) allows authenticated users t

CVE-2026-52751 HIGH
8.6 Jun 10

Remote code execution in NSA Ghidra before version 12.1 allows attackers to execute arbitrary commands when a user opens

CVE-2026-52750 HIGH
8.4 Jun 10

Command injection in Ghidra versions before 12.1 on Windows allows attackers to execute arbitrary OS commands under the

CVE-2026-52755 HIGH
8.4 Jun 10

Arbitrary file write in NSA's Ghidra reverse-engineering framework before version 12.0.4 allows attackers to escape the

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy