CVE-2026-49497
JSON

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 packageVersionsReported by
nationalsecurityagency ghidrabefore 12.1
Not affected: 12.1
CVE List
nsa ghidrabefore 12.1NVD

All scores

VulnCheck4.6medium CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
VulnCheck3.3low CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N

Classification

CWE-22

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

SourceRecordLicence
CVE ListCVE-2026-49497 changed 2026-07-14CVE Terms of Use
NVDCVE-2026-49497 changed 2026-10-25Public domain