Skip to content

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

MediumCVSS 4.6 EPSS 0.19%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
nationalsecurityagency/ghidra < 12.1 12.1 Fixed
nsa Ghidra < 12.1 12.1 Fixed

Affected products

ProductAffected versionsFixed in
nationalsecurityagency/ghidra < 12.1 12.1
nsa Ghidra < 12.1 12.1

References