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
No history.
Information
Published : 2026-06-10 14:16
Updated : 2026-07-14 22:17
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')
