Description
Ghidra before 12.2 contains a numeric truncation vulnerability in PackedDecode::skipAttribute and skipAttributeRemaining in marshal.cc that stores 64-bit string lengths in 32-bit variables. Attackers can supply a crafted packed stream, such as a malicious .sla file, to inject attributes into the decompiler's input or crash the decompiler process.
References5
- github.com/NationalSecurityAgency/ghidra/blob/Ghidra_12.1.4_bui…
- github.com/NationalSecurityAgency/ghidra/commit/d105789b331dba8…
- github.com/NationalSecurityAgency/ghidra/releases/tag/Ghidra_12…
- github.com/NationalSecurityAgency/ghidra/security/advisories/GH…
- www.vulncheck.com/advisories/ghidra-before-12.2-integer-truncat…
Metrics
- CVSS 3.1
-
3.6
LOW
Score source: CNA
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L - CVSS 4.0
-
2.0
LOW
Score source: CNA
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:N/VI:L/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: 11 · as of 8 November 2026
- CWE
- CWE-197
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.