Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft ELF binary with traversal sequences in .gnu_debuglink
-
DeliveryDeliver binary to Ghidra analyst via phishing or sample repo
-
ExploitAnalyst opens binary in Ghidra pre-12.1
-
ExecutionAutomatic DWARF analysis invokes SameDirDebugInfoProvider
-
PersistUnvalidated path traversal probes arbitrary filesystem locations
-
ImpactCRC32 hash and file existence leaked to attacker
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Active user interaction is required (CVSS UI:A): the victim must open the malicious ELF binary in Ghidra, and automatic DWARF analysis must execute - this is the default analysis profile in Ghidra. The attack vector is local (CVSS AV:L), meaning the crafted ELF binary must first be present on the analyst's filesystem; remote exploitation is not possible without a separate delivery mechanism such as phishing or a shared malware repository. No attacker-side privileges are required (CVSS PR:N). Exploitation is limited to information disclosure - specifically, probing for the existence of arbitrary files and recovering their CRC32 checksums - with no write primitives or code execution capability. The attack is further bounded to systems running Ghidra versions prior to 12.1; patched installations are not affected. The vulnerability does not trigger unless the ELF binary contains a .gnu_debuglink section and the DWARF external debug file resolution feature processes it. |
| Impact | The CVSS 4.0 base score is 4.6 (Medium). The vector (AV:L/AC:L/AT:N/PR:N/UI:A/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N) indicates a local attack requiring active user interaction - the victim must deliberately open a crafted ELF file - with no privileges required from the attacker. The confidentiality impact is low (VC:L): the attacker gains file existence information and CRC32 hashes, not direct file content reads; integrity and availability are unaffected. This is not in CISA KEV and no POC has been identified in the available data, keeping real-world exploitation likelihood low at this time. EPSS data was not provided, so exploitation probability cannot be quantified from a probabilistic model. The practical risk concentrates heavily in analyst-facing environments: malware analysts, CTF participants, and vulnerability researchers who regularly open untrusted ELF binaries in Ghidra are the realistic target population. The CVSS score accurately reflects the limited, partial information disclosure nature of this flaw - this is not a high-urgency patch scenario for general users, but a meaningful risk for those doing reverse engineering on adversary samples. |
| Exploit ScenarioDerived | An adversary embeds a .gnu_debuglink section in a malicious ELF binary containing a crafted filename with traversal sequences such as '../../../../etc/shadow'. The binary is delivered to a Ghidra analyst via phishing, a shared sample repository, or as part of a CTF challenge. When the analyst opens the binary in Ghidra pre-12.1, automatic DWARF analysis triggers SameDirDebugInfoProvider, which constructs and probes the traversed path and exposes the CRC32 hash of the target file, allowing the attacker to fingerprint filesystem contents or confirm the presence of sensitive files on the analyst's workstation. No public exploit code is currently identified. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 10, 2026
Path traversal in Ghidra's SameDirDebugInfoProvider (versions before 12.1) enables filesystem probing and CRC32 hash leakage of arbitrary files when a user opens a crafted ELF binary during automatic DWARF analysis. The vulnerability stems from missing validation of filenames embedded in ELF .gnu_debuglink sections before those filenames are used to construct filesystem paths. No public exploit code is currently identified and it is not listed in CISA KEV, but the risk is notable for security researchers and reverse engineers who routinely analyze untrusted binaries.
RemediationAI
Upgrade to Ghidra 12.1 or later, which contains the vendor-released patch for this vulnerability per the advisory GHSA-57g6-7qw2-p5hx at https://github.com/NationalSecurityAgency/ghidra/security/advisories/GHSA-57g6-7qw2-p5hx. As a compensating control for environments that cannot immediately upgrade, users should disable automatic DWARF debug-file resolution in Ghidra's analysis options - this eliminates the vulnerable code path but will prevent automatic loading of external debug symbols, requiring manual symbol resolution workflows. Additionally, analysts should avoid opening ELF binaries from untrusted sources in unpatched Ghidra versions, or analyze such files in an isolated environment (e.g., air-gapped VM) where filesystem probing cannot expose sensitive host files.
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 the NSA's open-source software reverse engineering framework. The vulnerable component, SameDirDebugInfoProvider, implements automatic external debug-file resolution: when Ghidra's DWARF analysis engine processes an ELF binary, it reads the .gnu_debuglink section to locate a companion debug file. The .gnu_debuglink section contains an attacker-controlled filename and a CRC32 checksum. Ghidra constructs a filesystem path from this filename without sanitizing path traversal sequences (CWE-22: Improper Limitation of a Pathname to a Restricted Directory). As a consequence, sequences such as '../../../etc/shadow' in the section cause Ghidra to probe those paths on the analyst's machine. The CRC32 of the target file is then compared or exposed during the resolution process, leaking filesystem content metadata. Affected product confirmed by CPE cpe:2.3:a:nationalsecurityagency:ghidra:*:*:*:*:*:*:*:* covering all versions before 12.1.
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:L/VI:N/VA:N/SC:N/SI:N/SA:N
Primary rating from Vendor (VulnCheck) · only source for this CVE.
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
3DescriptionCVE.org
Ghidra before 12.1 contains a path traversal vulnerability in SameDirDebugInfoProvider that fails to validate filenames from ELF binary .gnu_debuglink sections before constructing file paths. Attackers can craft malicious ELF binaries with traversal sequences to probe filesystem existence and leak CRC32 hashes of arbitrary files during automatic DWARF 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
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
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-36006
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB