CVE-2026-100504
Received Received - Intake

Stack-Based Buffer Overflow in Ghidra Decompiler

Vulnerability report for CVE-2026-100504, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-26

Last updated on: 2026-09-26

Assigner: 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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-26
Last Modified
2026-09-26
Generated
2026-09-26
AI Q&A
2026-09-26
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
ghidra ghidra to 12.1.4 (inc)
national_security_agency ghidra to 12.1.4 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-787 The product writes data past the end, or before the beginning, of the intended buffer.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a stack-based out-of-bounds write vulnerability in Ghidra versions through 12.1.4. It occurs in the decompiler's leftshift128 function when processing negative shift amounts from p-code. Attackers can craft malicious binaries that trigger an overflow during decompilation, corrupting memory and potentially allowing code execution.

Detection Guidance

Detecting this vulnerability requires checking the installed Ghidra version. Run 'ghidra -version' or inspect the Ghidra installation directory for version information. If the version is 12.1.4 or earlier, the system is vulnerable. Additionally, monitor for crashes or memory corruption during decompilation of suspicious binaries.

Impact Analysis

If exploited, this vulnerability could allow attackers to execute arbitrary code on your system by tricking you into decompiling a malicious binary. This could lead to data theft, system compromise, or further network infiltration. Users running vulnerable Ghidra versions should update immediately.

Compliance Impact

This vulnerability could potentially impact compliance with GDPR and HIPAA by enabling code execution through crafted binaries. If exploited, it may allow unauthorized access to sensitive data during reverse engineering processes, violating confidentiality requirements in these regulations.

Mitigation Strategies

Update Ghidra to the latest version (12.2 or newer) immediately. The fix involves changes to multiprecision.cc and ruleaction.cc to use unsigned integers for shift amounts. Remove or restrict access to Ghidra for untrusted users until patched. Monitor for exploitation attempts targeting the decompiler.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-100504. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart