Description
Ghidra versions through 12.1.4 contain a heap use-after-free vulnerability in the decompiler's Funcdata::opInsertAfter function caused by stale INDIRECT effect-op references. Attackers can craft a malicious binary with a specific x86-64 sequence that triggers the vulnerability during decompilation, causing the decompile helper process to crash and denying service to analysts and automated analysis pipelines.
Affected products
nsa: ghidra
References5
- github.com/NationalSecurityAgency/ghidra/blob/8b6bbb857accdfa20… Patch
- github.com/NationalSecurityAgency/ghidra/blob/8b6bbb857accdfa20… Patch
- github.com/NationalSecurityAgency/ghidra/commit/5ef1ee4d7a25a65… Patch
- www.vulncheck.com/advisories/ghidra-through-12.1.4-heap-use-aft… PatchThird Party Advisory
- github.com/NationalSecurityAgency/ghidra Product
Metrics
- CVSS 3.1
-
5.5
MEDIUM
Score source: NVD
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - CVSS 4.0
-
4.8
MEDIUM
Score source: CNA
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - EPSS — exploit probability
- 0% percentile: 2 · as of 9 November 2026
- CWE
- CWE-416
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.