Buffer overflow in Nationalsecurityagency Ghidra
CVE-2026-100504
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.
Vulnerability class: Buffer Overflow
Published .
CVSS v3 metric
CVSS v3 base score 7.0 (High). Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
No EPSS score from FIRST.org yet. New CVEs usually get one within a few days; no score means no signal yet, not low risk. How EPSS works.
Affected products
Weakness classification (CWE)
References
- github.com/NationalSecurityAgency/ghidra (product)
- github.com/NationalSecurityAgency/ghidra/blob/8b6bbb857accdfa20dc5b2f5dea471178… (technical-description)
- github.com/NationalSecurityAgency/ghidra/blob/8b6bbb857accdfa20dc5b2f5dea471178… (technical-description)
- github.com/NationalSecurityAgency/ghidra/commit/6babe3c1cec7f5ec920dd16cdc86a02… (patch)
- www.vulncheck.com/advisories/ghidra-through-12.1.4-stack-based-buffer-overflow-… (third-party-advisory)
Frequently asked questions
- What is CVE-2026-100504?
- CVE-2026-100504 is a high-severity vulnerability in Nationalsecurityagency Ghidra, classified under Out-of-bounds Write. CVSS score: 7.0/10. Published 2026-09-26.
- How severe is CVE-2026-100504?
- High severity. CVSS v3 base score is 7.0 out of 10.