Ghidra before 12.2 Integer Truncation in PackedDecode::skipAttribute Decompiler Parser
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 12.2
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
Ghidra, the open-source software reverse engineering framework, is affected, specifically its decompiler's parser for packed data streams. An attacker who supplies a specially crafted file, such as a malicious compiled-specification file, could cause the decompiler to misread data, inject unintended attributes, or crash.
Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.
Read the original 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.
Timeline
- CVE published
- First seen by cve.now
Affected versions
- NationalSecurityAgency ghidra
fixed in 12.2