Skip to main content

Ghidra CVE-2026-52753

| EUVDEUVD-2026-36012 MEDIUM
Memory Allocation with Excessive Size Value (CWE-789)
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 Rust binary with malicious symbol names
  2. Delivery
    Deliver binary to target analyst
  3. Exploit
    Analyst opens binary in Ghidra
  4. Execution
    rust_demangle processes crafted symbols
  5. Persist
    Exponential memory allocation triggered
  6. Impact
    Ghidra 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.

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 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

Ghidra 0 <12.0.3

Affected Packages

euvd ghidra fix: 12.0.3

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

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 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

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