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 · last modified .
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
EPSS: 0.002 (4.9th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 5th percentile — 4.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.002 · newest: 0.002 · change: +0.000
Affected products
Weakness classification (CWE)
References
- github.com/NationalSecurityAgency/ghidra (Product, product)
- github.com/NationalSecurityAgency/ghidra/blob/8b6bbb857accdfa20dc5b2f5dea471178… (Product, technical-description)
- github.com/NationalSecurityAgency/ghidra/blob/8b6bbb857accdfa20dc5b2f5dea471178… (technical-description, Patch)
- Patch Commit (Patch, patch)
- VulnCheck Advisory: Ghidra through 12.1.4 Stack-based Buffer Overflow via leftshift128 (Patch, Third Party Advisory, 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.