4.6medium
Ghidra < 12.1 - Path Traversal via .gnu_debuglink in DWARF External Debug File Resolution
- Severity
- 4.6medium CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.18% (higher than 8% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| nationalsecurityagency ghidra | before 12.1 Not affected: 12.1 | CVE List |
| nsa ghidra | before 12.1 | NVD |
All scores
| VulnCheck | 4.6medium CVSS:4.0 | 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 |
| VulnCheck | 3.3low CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
Ghidra antes de 12.1 contiene una vulnerabilidad de salto de ruta en SameDirDebugInfoProvider que no valida los nombres de archivo de las secciones .gnu_debuglink de binarios ELF antes de construir rutas de archivo. Los atacantes pueden crear binarios ELF maliciosos con secuencias de salto para sondear la existencia del sistema de archivos y filtrar hashes CRC32 de archivos arbitrarios durante el análisis DWARF automático.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-49497 changed 2026-07-14 | CVE Terms of Use |
| NVD | CVE-2026-49497 changed 2026-10-25 | Public domain |