CVE-2026-116012

Ghidra before 12.2 Integer Truncation in PackedDecode::skipAttribute Decompiler Parser

Published Oct 24, 2026 CVSS 4.0 · 2 Low EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

This vulnerability arises from an integer truncation in the decompiler parser, where 64‑bit string lengths are mistakenly stored in 32‑bit variables. The truncation can allow an attacker to inject malicious attributes into the decompiler’s input stream or trigger a crash. The outcome is a loss of service or potential unintended code execution within the decompiler, but no direct remote code execution or data exfiltration is described in the advisory.

Affected Systems

The issue affects National Security Agency Ghidra releases prior to version 12.2. Users running Ghidra 12.1.4 or earlier are vulnerable. The vulnerability is specific to the PackedDecode::skipAttribute routine in marshal.cc within the decompiler component. No other products or vendors are listed as affected.

Risk and Exploitability

The CVSS score of 2 indicates a low severity, and the EPSS score is not available, suggesting few public exploits or low exploitation likelihood. The vulnerability is not catalogued in the CISA Known Exploited Vulnerabilities list, further implying limited real‑world attacks. The most probable attack vector is a local user who opens a crafted packed file, such as a .sla file, in Ghidra—leading to a decompiler crash or controlled attribute injection.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the official patch by upgrading Ghidra to version 12.2 or later
  • If immediate upgrade is impossible, restrict users from opening untrusted .sla or packed files in the decompiler
  • Verify the integrity of any input stream or validate file size limits before processing within Ghidra

Generated by OpenCVE AI on October 24, 2026 at 12:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Nationalsecurityagency
Nationalsecurityagency ghidra
Vendors & Products Nationalsecurityagency
Nationalsecurityagency ghidra
Type Values Removed Values Added
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.
Title Ghidra before 12.2 Integer Truncation in PackedDecode::skipAttribute Decompiler Parser
First Time appeared Nsa
Nsa ghidra
Weaknesses CWE-197
CPEs cpe:2.3:a:nsa:ghidra:*:*:*:*:*:*:*:*
Vendors & Products Nsa
Nsa ghidra
References
Metrics cvssV3_1

{'score': 3.6, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L'}

cvssV4_0

{'score': 2, 'vector': '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 5, 2026, 4:27 PM
Reserved
Oct 24, 2026, 11:23 AM
Status
Awaiting Analysis
Published
Oct 24, 2026, 12:16 PM
Modified
Nov 5, 2026, 5:17 PM