Description
Ghidra through 12.2 contains an uncontrolled memory allocation vulnerability in BinaryField.read() that allows attackers to exhaust heap memory via an unchecked 32-bit length field. Attackers can persuade users to import a crafted GZF packed database file, triggering an OutOfMemoryError in PackedDatabase.open() that aborts the import and denies service.
Published: 2026-10-22
Score: 6.8 Medium
EPSS: n/a
KEV: No
Impact: Denial of Service via memory exhaustion
Action: Patch
AI Analysis

Impact

An uncontrolled 32‑bit length field in Ghidra’s BinaryField.read() allows an attacker to trigger an uncontrolled heap allocation. When a malicious GZF packed database file is imported, PackedDatabase.open() throws an OutOfMemoryError and aborts the operation, leaving the application unresponsive. The vulnerability is a classic example of an uncontrolled memory allocation flaw, classified as CWE‑789, and it compromises the availability of the Ghidra environment but does not provide direct data disclosure or remote code execution.

Affected Systems

The flaw affects National Security Agency Ghidra binaries through version 12.2. Any installation that allows import of GZF files – including standalone users, shared workstations, or team environments – is susceptible. The issue does not depend on specific OS or configuration beyond the presence of the vulnerable Ghidra build.

Risk and Exploitability

The CVSS vector for this vulnerability is 6.8, indicating a moderate severity that can disrupt continuous use of Ghidra. No EPSS score is currently published, so the exploitation probability cannot be quantified from the available data. The vulnerability is not listed in the CISA KEV catalog. Attackers would typically acquire the victim’s context by sending a crafted GZF file and enticing the user to import it, suggesting a local or user‑prompted attack vector rather than a remote network exploit.

Generated by OpenCVE AI on October 23, 2026 at 03:21 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Ghidra to a version newer than 12.2 that resolves the BinaryField length check bug
  • If an upgrade is not immediately possible, restrict GZF file imports to trusted sources and verify file integrity before opening
  • Apply additional input validation to reject GZF files that contain unusually large length fields, ensuring the 32‑bit value is bounded by available heap size

Generated by OpenCVE AI on October 23, 2026 at 03:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 23 Oct 2026 04:15:00 +0000

Type Values Removed Values Added
First Time appeared Nationalsecurityagency
Nationalsecurityagency ghidra
Vendors & Products Nationalsecurityagency
Nationalsecurityagency ghidra

Fri, 23 Oct 2026 00:45:00 +0000

Type Values Removed Values Added
Description Ghidra through 12.2 contains an uncontrolled memory allocation vulnerability in BinaryField.read() that allows attackers to exhaust heap memory via an unchecked 32-bit length field. Attackers can persuade users to import a crafted GZF packed database file, triggering an OutOfMemoryError in PackedDatabase.open() that aborts the import and denies service.
Title Ghidra through 12.2 Denial of Service via BinaryField Memory Allocation
First Time appeared Nsa
Nsa ghidra
Weaknesses CWE-789
CPEs cpe:2.3:a:nsa:ghidra:*:*:*:*:*:*:*:*
Vendors & Products Nsa
Nsa ghidra
References
Metrics cvssV3_1

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

cvssV4_0

{'score': 6.8, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Nationalsecurityagency Ghidra
Nsa Ghidra
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-22T19:14:00.068Z

Reserved: 2026-10-22T11:27:18.001Z

Link: CVE-2026-115394

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-22T19:17:47.190

Modified: 2026-10-22T19:17:47.190

Link: CVE-2026-115394

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-23T04:00:11Z

Weaknesses
  • CWE-789

    Memory Allocation with Excessive Size Value