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.
Published: 2026-10-24
Score: 2 Low
EPSS: n/a
KEV: No
Impact: Denial of Service
Action: Update
AI Analysis

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.

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

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 yet.

History

Sat, 24 Oct 2026 11:45:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-24T11:40:30.825Z

Reserved: 2026-10-24T11:23:54.560Z

Link: CVE-2026-116012

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-24T12:16:57.250

Modified: 2026-10-24T12:16:57.250

Link: CVE-2026-116012

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-24T12:30:08Z

Weaknesses