Skip to main content

Ghidra CVE-2026-49497

| EUVDEUVD-2026-36006 MEDIUM
Path Traversal (CWE-22)
2026-06-10 VulnCheck
4.6
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Craft ELF binary with traversal sequences in .gnu_debuglink
  2. Delivery
    Deliver binary to Ghidra analyst via phishing or sample repo
  3. Exploit
    Analyst opens binary in Ghidra pre-12.1
  4. Execution
    Automatic DWARF analysis invokes SameDirDebugInfoProvider
  5. Persist
    Unvalidated path traversal probes arbitrary filesystem locations
  6. Impact
    CRC32 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.

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

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

Ghidra 0 <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'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

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

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

Lifecycle Timeline

3
Patch available
Jun 10, 2026 - 15:01 EUVD
Severity Changed
Jun 10, 2026 - 14:22 NVD
LOW MEDIUM
CVSS changed
Jun 10, 2026 - 14:22 NVD
3.3 (LOW) 4.6 (MEDIUM)

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

EPSS Score
0.0%
Top 99% exploitable
Data Quality
7 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
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

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