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

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Sat, 26 Sep 2026 01:15:00 +0000

Type Values Removed Values Added
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.
Title Ghidra through 12.1.4 Stack-based Buffer Overflow via leftshift128
First Time appeared Nsa
Nsa ghidra
Weaknesses CWE-787
CPEs cpe:2.3:a:nsa:ghidra:*:*:*:*:*:*:*:*
Vendors & Products Nsa
Nsa ghidra
References
Metrics cvssV3_1

{'score': 7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 7.3, 'vector': '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'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-09-26T00:36:32.604Z

Reserved: 2026-09-25T22:14:36.046Z

Link: CVE-2026-100504

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-26T01:17:00.043

Modified: 2026-09-26T01:17:00.043

Link: CVE-2026-100504

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-26T04:00:05Z

Weaknesses