Ghidra through 12.1.4 Stack-based Buffer Overflow via leftshift128
NationalSecurityAgency ghidra
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| NationalSecurityAgency ghidra |
| No fix yet |
Original 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.
From the CVE record · VulnCheck