# CVE-2026-100504: Ghidra through 12.1.4 Stack-based Buffer Overflow via leftshift128

- Severity: High 7.3 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/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.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2026-09-26T00:36:32.604Z
- Modified: 2026-10-22T09:48:43.541Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- NationalSecurityAgency ghidra: up to 12.1.4
- nsa ghidra: up to 12.1.4

## Every score

- VulnCheck: CVSS:4.0 7.3 High `CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 7.0 High `CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/NationalSecurityAgency/ghidra/commit/6babe3c1cec7f5ec920dd16cdc86a02893e5b33c> (patch)
- <https://github.com/NationalSecurityAgency/ghidra> (product)
- <https://github.com/NationalSecurityAgency/ghidra/blob/8b6bbb857accdfa20dc5b2f5dea471178c2e9fbc/Ghidra/Features/Decompiler/src/decompile/cpp/multiprecision.cc#L29-L61> (product, technical-description)
- <https://github.com/NationalSecurityAgency/ghidra/blob/8b6bbb857accdfa20dc5b2f5dea471178c2e9fbc/Ghidra/Features/Decompiler/src/decompile/cpp/ruleaction.cc#L7848-L7878> (patch, technical-description)
- <https://www.vulncheck.com/advisories/ghidra-through-12.1.4-stack-based-buffer-overflow-via-leftshift128> (patch, third-party-advisory)

## Sources

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

---

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