Vulnerability · Published Sep 26, 2026 · Assigned by VulnCheck
CVE-2026-100504Ghidra through 12.1.4 Stack-based Buffer Overflow via leftshift128
High 7.0
In plain English
A high-severity out-of-bounds write in ghidra from NationalSecurityAgency. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 5% of all known vulnerabilities).
Official description
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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| NationalSecurityAgency | ghidra | 0 – through 12.1.4 |
Weakness: CWE-787 · Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
References
- Patch Commit patch
- https://github.com/NationalSecurityAgency/ghidra product
- https://github.com/NationalSecurityAgency/ghidra/blob/8b6bbb857accdfa20dc5b2f5dea471178c2e9fbc/Ghidra/Features/Decompiler/src/decompile/cpp/multiprecision.cc#L29-L61 technical-description
- https://github.com/NationalSecurityAgency/ghidra/blob/8b6bbb857accdfa20dc5b2f5dea471178c2e9fbc/Ghidra/Features/Decompiler/src/decompile/cpp/ruleaction.cc#L7848-L7878 technical-description
- VulnCheck Advisory: Ghidra through 12.1.4 Stack-based Buffer Overflow via leftshift128 third-party-advisory