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.
References
| Link | Resource |
|---|---|
| https://github.com/NationalSecurityAgency/ghidra/security/advisories/GHSA-57g6-7qw2-p5hx | Exploit Vendor Advisory |
| https://www.vulncheck.com/advisories/ghidra-path-traversal-via-gnu-debuglink-in-dwarf-external-debug-file-resolution | Third Party Advisory |
Configurations
History
11 Jun 2026, 19:50
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/NationalSecurityAgency/ghidra/security/advisories/GHSA-57g6-7qw2-p5hx - Exploit, Vendor Advisory | |
| References | () https://www.vulncheck.com/advisories/ghidra-path-traversal-via-gnu-debuglink-in-dwarf-external-debug-file-resolution - Third Party Advisory | |
| CPE | cpe:2.3:a:nsa:ghidra:*:*:*:*:*:*:*:* | |
| First Time |
Nsa ghidra
Nsa |
10 Jun 2026, 14:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-06-10 14:16
Updated : 2026-06-11 19:50
NVD link : CVE-2026-49497
Mitre link : CVE-2026-49497
CVE.ORG link : CVE-2026-49497
JSON object : View
Products Affected
nsa
- ghidra
CWE
CWE-22
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
