Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft Rust binary with malicious symbol names
-
DeliveryDeliver binary to target analyst
-
ExploitAnalyst opens binary in Ghidra
-
Executionrust_demangle processes crafted symbols
-
PersistExponential memory allocation triggered
-
ImpactGhidra process crashes
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory allocation limits
|
| Exploitation Conditions | Active user interaction is required: a Ghidra user must explicitly open and trigger analysis of a maliciously crafted binary file. The vulnerability is triggered specifically when Ghidra's rust_demangle function processes Rust symbol names embedded in the binary - meaning the binary must contain Rust symbols (i.e., be Rust-compiled or artificially include Rust-style mangled names). The attack vector is local (AV:L in CVSS 4.0), meaning the malicious file must be present on or delivered to the analyst's machine; there is no remote, unauthenticated, or network-only exploitation path. No elevated privileges are required on the system. Exploitation is limited by the requirement for active analyst engagement and is further bounded to a denial-of-service outcome only - no code execution or data exfiltration is possible via this vulnerability path. |
| Impact | The CVSS 4.0 score of 6.7 reflects a local attack vector (AV:L), low complexity (AC:L), no privilege requirement (PR:N), but mandatory active user interaction (UI:A). The impact is limited to high availability loss on the vulnerable component only (VA:H); confidentiality and integrity are unaffected (VC:N, VI:N). Real-world risk is moderate and context-dependent: this vulnerability is only exploitable when an analyst actively opens a malicious binary in Ghidra - the attacker cannot trigger it remotely or without user interaction. No EPSS data was provided, and the vulnerability is not listed in the CISA KEV catalog, nor is any POC exploit code identified. The primary risk is to security research and reverse engineering teams that ingest untrusted binaries from unknown or adversarial sources. For such teams, a targeted supply-chain or lure attack (e.g., a malicious sample submitted to an analyst) is a credible threat model. For teams analyzing only trusted, internally built binaries, practical risk is very low. |
| Exploit ScenarioDerived | An adversary crafts a Rust-compiled binary embedding one or more deeply nested or recursively structured symbol names specifically engineered to trigger exponential buffer expansion in Ghidra's rust_demangle function. The binary is delivered to a security analyst - for example, as a malware sample, a shared research artifact, or a lure file - who opens it in Ghidra for reverse engineering. Upon loading and analyzing the binary, Ghidra's demangler processes the crafted symbols, exhausts process memory, and crashes, interrupting the analyst's workflow. No public POC exploit code has been identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 10, 2026
Uncontrolled memory allocation in Ghidra's rust_demangle function (versions before 12.0.3) allows a denial-of-service condition when a user analyzes a specially crafted binary containing malicious Rust symbol names. The affected function allocates output buffers without enforcing size limits, enabling exponential memory growth that crashes the Ghidra process. No public exploit code or active exploitation (CISA KEV) has been identified at time of analysis; however, the practical attack surface is real for teams that routinely analyze untrusted Rust binaries.
RemediationAI
The primary remediation is to upgrade Ghidra to version 12.0.3 or later, which resolves the unbounded allocation in rust_demangle. The vendor fix is documented in GitHub Security Advisory GHSA-m94m-fqr3-x442. If immediate upgrade is not possible, organizations should restrict analysts from opening binaries sourced from untrusted or adversarial origins using Ghidra until patched; this directly eliminates the required user interaction prerequisite. A secondary compensating control is to run Ghidra analysis tasks within a resource-constrained container or virtual machine with a configured memory ceiling (e.g., using cgroup memory limits on Linux), which would cause the process to be killed before consuming all host memory and prevent host-level availability impact. This does not fix the crash but limits blast radius. Neither workaround is a substitute for patching.
Affected VersionsENISA
Affected Packages
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 NSA's open-source reverse engineering framework, and this vulnerability resides in its Rust symbol demangler (rust_demangle). CWE-789 (Uncontrolled Memory Allocation) describes the root cause: the function does not enforce an upper bound on the output buffer it allocates when expanding mangled Rust symbol names. Rust symbol mangling can encode deeply nested generic types or long identifier chains; a maliciously constructed symbol can cause the demangler to recursively or exponentially expand allocations, exhausting available process memory. The affected CPE is cpe:2.3:a:nationalsecurityagency:ghidra:*:*:*:*:*:*:*:* covering all Ghidra versions prior to 12.0.3. This is a pure availability issue - no code execution or data disclosure path is present.
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
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
Lifecycle Timeline
2DescriptionCVE.org
Ghidra before 12.0.3 contains an out-of-memory vulnerability in the rust_demangle function that allocates unbounded output buffers without size limits. Attackers can craft malicious Rust symbol names in binaries to trigger exponential memory allocation, causing process crashes during binary analysis.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Ghidra/RuntimeScripts/Linux/support/launch.sh in NSA Ghidra through 10.2.2 passes user-provided input into eval, leading
NSA Ghidra through 9.0.4, when experimental mode is enabled, allows arbitrary code execution if the Read XML Files featu
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
NSA Ghidra before 9.0.2 is vulnerable to DLL hijacking because it loads jansi.dll from the current working directory. Ra
In NSA Ghidra before 9.1, path traversal can occur in RestoreTask.java (from the package ghidra.app.plugin.core.archive)
Command injection in NSA Ghidra (versions before 12.0.3) executes arbitrary commands when analysts click on maliciously
SQL injection in Ghidra's BSim binary-similarity component (versions before 12.1) allows authenticated remote attackers
Authentication bypass in NSA Ghidra versions prior to 12.1 allows any holder of a valid CA-signed certificate to imperso
SQL injection in Ghidra's PostgreSQL collaboration backend (versions 11.0 through pre-12.1) allows authenticated users t
Remote code execution in NSA Ghidra before version 12.1 allows attackers to execute arbitrary commands when a user opens
Command injection in Ghidra versions before 12.1 on Windows allows attackers to execute arbitrary OS commands under the
Arbitrary file write in NSA's Ghidra reverse-engineering framework before version 12.0.4 allows attackers to escape the
EUVD-2026-36012
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB