Numeric Truncation Error in Ghidra - CVE-2026-116012

 

Numeric Truncation Error in Ghidra - CVE-2026-116012

Published: October 28, 2026


Vulnerability identifier: #VU158275
CSH Severity: Medium
CVSS v4: 5.7 [CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-116012
CWE-ID: CWE-197
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to inject arbitrary protocol elements into the decompiler's input stream and cause a denial of service.

The vulnerability exists due to integer truncation in the PackedDecode::skipAttribute and PackedDecode::skipAttributeRemaining functions when processing string attributes in the packed binary format. A remote attacker can craft input for a victim to process with an encoded string length such as 0x100000000, which is truncated from 64 bits to 32 bits, causing the parser to skip zero bytes and interpret attacker-controlled string content as legitimate attributes and elements, corrupting parser state and potentially causing crashes or undefined behavior.


Affected software

Ghidra

How to mitigate CVE-2026-116012

Install security update from vendor's website.

Ghidra - update to 12.2

External References

Related Security Bulletins