Ghidra through 12.1.4 Stack-based Buffer Overflow via leftshift128
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-787 and the CVSS impact.
Summary
Ghidra versions through 12.1.4 contain a stack-based out-of-bounds write vulnerability in the decompiler's leftshift128 function when processing negative shift amounts from p-code. Attackers can craft malicious binaries with specific instruction sequences that trigger the overflow when decompiled, corrupting memory and potentially achieving code execution.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| NationalSecurityAgency | ghidra | up to 12.1.4 | — | No fix listed | CNA |
- ghidra VendorNationalSecurityAgency Affected up to 12.1.4 Fixed in — No fix listed CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:nsa:ghidra:*:*:*:*:*:*:*:* | up to 12.1.4 | Vulnerable | NationalSecurityAgency |
- cpe:2.3:a:nsa:ghidra:*:*:*:*:*:*:*:* Versions up to 12.1.4 Vulnerable ·NationalSecurityAgency
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2026-100504
- 2026-10-03 Alias added: GHSA-m3q7-8jjf-cmcw
References
Patch 2
More NationalSecurityAgency Ghidra vulnerabilities
- TI-2023-08846 Ghidra/RuntimeScripts/Linux/support/launch.sh in NSA Ghidra through 10.2.2 passes… CVSS 3.1CRITICAL 9.8
- TI-2026-37876 Ghidra < 12.1 - SQL Injection via Unescaped Filter Values in BSim Search CVSS 4.0HIGH 8.7
- TI-2026-04310 NSA Ghidra Auto-Analysis Annotation Command Execution CVSS 3.1HIGH 8.8
- TI-2026-37873 Ghidra < 12.0.4 - Path Traversal via Zip Slip in Theme Import CVSS 4.0HIGH 8.4
- TI-2026-37870 Ghidra < 12.0.2 - Path Traversal in Extension Installer via ZIP Entry Names CVSS 4.0HIGH 8.4
- TI-2026-36646 Ghidra < 12.1 - Heap-Use-After-Free in SleighBuilder::generatePointerAdd via Vector Reallocation CVSS 4.0MEDIUM 6.9
Sources
- CVE-2026-100504 · CVE Program
- CVE-2026-100504 · NVD
- FIRST EPSS
- GHSA-m3q7-8jjf-cmcw · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences