# CVE-2026-49497: Ghidra < 12.1 - Path Traversal via .gnu_debuglink in DWARF External Debug File Resolution

- Severity: Medium 4.6 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 8% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-10T12:37:59.471Z
- Modified: 2026-10-25T23:10:00.167Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- nationalsecurityagency ghidra: before 12.1 (not affected: 12.1)
- nsa ghidra: before 12.1

## Every score

- VulnCheck: CVSS:4.0 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`
- VulnCheck: CVSS:3.1 3.3 Low `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N`

## References

- <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)

## Sources

- CVE List: [CVE-2026-49497](https://www.cve.org/CVERecord?id=CVE-2026-49497), CVE Terms of Use, modified 2026-07-14
- NVD: [CVE-2026-49497](https://nvd.nist.gov/vuln/detail/CVE-2026-49497), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-49497 · Whole record: https://cve.day/CVE-2026-49497.json · Rebuilt by cve.day 2026-11-25T22:59:24.319Z
