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

Configuration 1 (hide)

cpe:2.3:a:nsa:ghidra:*:*:*:*:*:*:*:*

History

08 Oct 2026, 16:30

Type Values Removed Values Added
CPE cpe:2.3:a:nsa:ghidra:*:*:*:*:*:*:*:*
First Time Nsa ghidra
Nsa
References () https://github.com/NationalSecurityAgency/ghidra - () https://github.com/NationalSecurityAgency/ghidra - Product
References () https://github.com/NationalSecurityAgency/ghidra/blob/8b6bbb857accdfa20dc5b2f5dea471178c2e9fbc/Ghidra/Features/Decompiler/src/decompile/cpp/multiprecision.cc#L29-L61 - () https://github.com/NationalSecurityAgency/ghidra/blob/8b6bbb857accdfa20dc5b2f5dea471178c2e9fbc/Ghidra/Features/Decompiler/src/decompile/cpp/multiprecision.cc#L29-L61 - Product
References () https://github.com/NationalSecurityAgency/ghidra/blob/8b6bbb857accdfa20dc5b2f5dea471178c2e9fbc/Ghidra/Features/Decompiler/src/decompile/cpp/ruleaction.cc#L7848-L7878 - () https://github.com/NationalSecurityAgency/ghidra/blob/8b6bbb857accdfa20dc5b2f5dea471178c2e9fbc/Ghidra/Features/Decompiler/src/decompile/cpp/ruleaction.cc#L7848-L7878 - Patch
References () https://github.com/NationalSecurityAgency/ghidra/commit/6babe3c1cec7f5ec920dd16cdc86a02893e5b33c - () https://github.com/NationalSecurityAgency/ghidra/commit/6babe3c1cec7f5ec920dd16cdc86a02893e5b33c - Patch
References () https://www.vulncheck.com/advisories/ghidra-through-12.1.4-stack-based-buffer-overflow-via-leftshift128 - () https://www.vulncheck.com/advisories/ghidra-through-12.1.4-stack-based-buffer-overflow-via-leftshift128 - Patch, Third Party Advisory

26 Sep 2026, 01:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-09-26 01:17

Updated : 2026-10-08 16:30


NVD link : CVE-2026-100504

Mitre link : CVE-2026-100504

CVE.ORG link : CVE-2026-100504


JSON object : View

Products Affected

nsa

  • ghidra
CWE
CWE-787

Out-of-bounds Write