Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Nsa | Ghidra | <= 12.1.4 |
Related Weaknesses (CWE)
References
- https://github.com/NationalSecurityAgency/ghidraProduct
- https://github.com/NationalSecurityAgency/ghidra/blob/8b6bbb857accdfa20dc5b2f5deProduct
- https://github.com/NationalSecurityAgency/ghidra/blob/8b6bbb857accdfa20dc5b2f5dePatch
- https://github.com/NationalSecurityAgency/ghidra/commit/6babe3c1cec7f5ec920dd16cPatch
- https://www.vulncheck.com/advisories/ghidra-through-12.1.4-stack-based-buffer-ovPatchThird Party Advisory
FAQ
What is CVE-2026-100504?
CVE-2026-100504 is a vulnerability with a CVSS score of 7.0 (HIGH). 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...
How severe is CVE-2026-100504?
CVE-2026-100504 has been rated HIGH with a CVSS base score of 7.0/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-100504?
Check the references section above for vendor advisories and patch information. Affected products include: Nsa Ghidra.