Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious program database file
-
DeliveryDeliver file to target analyst
-
ExploitAnalyst imports file into Ghidra
-
ExecutionUnvalidated TYPE_COL triggers ArrayIndexOutOfBoundsException
-
PersistDomain objects left permanently locked
-
ImpactApplication stalls, no graceful shutdown
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Exception cleanup procedures
|
| Exploitation Conditions | Exploitation requires the victim to import/open an attacker-crafted Ghidra program database file whose TYPE_COL byte is not validated by OptionsDB.createUnregisteredOption(); this is local (AV:L) and requires user interaction (UI:P). Limiting factors: the attacker cannot trigger this remotely - a Ghidra operator must be socially engineered into loading the malicious file locally, the impact is confined to availability (application stall / permanent domain-object lock, no code execution or data exposure), and it affects only Ghidra versions before 12.1.4. No authentication or special configuration is otherwise needed. |
| Impact | This is a genuine but low-priority denial-of-service issue, not a critical flaw despite the moderate 6.8 CVSS 4.0 score. The vendor CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H) is internally consistent with the description and the CWE-460 (improper cleanup on thrown exception) classification: impact is availability-only (VA:H, no confidentiality or integrity impact), the vector is local (AV:L - the file must be opened by the Ghidra operator), and it requires user interaction (UI:P - the victim must import the malicious program database file). There is NO EPSS score, NO CISA KEV listing, and NO public exploit code identified at time of analysis, so exploitation status is 'no public exploit identified at time of analysis'. The source-code diff confirms the root cause: AbstractTransactionManager.lock() failed to decrement lockCount when prepareToSave() threw, leaving domain objects permanently locked - the fix wraps the operation in try/finally. Note the Tags field lists 'Information Disclosure', which directly CONFLICTS with the CVSS vector (VC:N - no confidentiality impact); this is a mislabeled tag and the vulnerability is purely a DoS. Realistically this is a nuisance/stability bug requiring a security analyst to import an attacker-supplied file into their own workstation, not a remotely automatable or wormable threat. |
| Exploit ScenarioDerived | An attacker distributes a malicious Ghidra program database (.gzf/.rep) file - for example seeded to a malware-analysis sharing channel or CTF drop - with a corrupted TYPE_COL byte. When a reverse-engineer imports the file into Ghidra, createUnregisteredOption() throws an unhandled ArrayIndexOutOfBoundsException, leaving domain objects permanently locked so the tool stalls and cannot clean up or shut down gracefully. No public exploit code has been identified, and the attack requires the analyst to actively open the crafted file (local access, user interaction). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 23, 2026
A local denial-of-service condition affects Ghidra versions before 12.1.4, where the software-suite's OptionsDB.createUnregisteredOption() routine fails to validate the TYPE_COL byte of an imported program database, triggering an ArrayIndexOutOfBoundsException. The exception path skips the lock-release logic in AbstractTransactionManager, leaving domain objects permanently locked so the application stalls and cannot clean up resources or shut down gracefully. Exploitation is not remote: it requires a Ghidra operator to be socially engineered into importing a maliciously crafted program database file (CVSS 4.0 base 6.8, AV:L/UI:P, availability-only impact), and no authentication or special configuration is needed. At time of analysis there is no public exploit code identified and no evidence of active exploitation, so this is best treated as a genuine but low-priority availability bug rather than a critical flaw.
RemediationAI
Upgrade to Ghidra 12.1.4 or later (Ghidra_12.1.4_build), which is the vendor-released patch; the corresponding fix commit is 594da048431aab082a9da7c4a965874d07d33310 and full release notes are at https://github.com/NationalSecurityAgency/ghidra/releases/tag/Ghidra_12.1.4_build, with the advisory at https://github.com/NationalSecurityAgency/ghidra/security/advisories/GHSA-4w7g-wmg8-fgv5. Because the flaw lives on the import path and requires a victim to open a crafted program database, the most effective interim compensating control is procedural: do not open Ghidra project or program database files from untrusted or unverified sources, and quarantine-scan/validate shared .gzf or project archives before importing - the trade-off is reduced analyst collaboration convenience, and this provides no protection once a malicious file has already been loaded. If a suspicious import causes Ghidra to hang, kill the process rather than attempting to save the project, since the permanently held domain-object lock will block normal shutdown and a forced save may be unreliable. Note that the vulnerability does not expose data or allow code execution, so these measures are about avoiding a disruptive local stall rather than preventing compromise.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Ghidra is a Java-based reverse-engineering framework built on a shared software-modeling runtime (the DB/Project framework), where each imported program is represented as a DomainObjectAdapterDB managed by an AbstractTransactionManager. OptionsDB stores per-database options and uses a TYPE_COL byte to select the backing column/type; createUnregisteredOption() indexes into a type table using that byte without range-checking it. A crafted program database supplying an out-of-range TYPE_COL value therefore throws an ArrayIndexOutOfBoundsException mid-operation. The root cause class, CWE-460 (Improper Cleanup on Thrown Exception), is realized because the lock() method incremented its lockCount and then called into prepareToSave()/option handling without a guarded rollback on the exception path; the upstream fix adds a success flag and a finally block that decrements lockCount when an exception escapes, ensuring the modification lock is released. The practical effect is not memory corruption or code execution but a wedged state: because the transaction lock is never released, subsequent operations block and the domain object cannot be saved, closed, or cleaned up, preventing graceful shutdown. The issue is purely local to file import and is confined to versions of Ghidra before 12.1.4.
Know when Ghidra gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Attacker-supplied file must be opened locally by the operator (AV:L, UI:R), no privileges needed (PR:N), and impact is an application-hang denial of service only (A:H, C/I:N).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
Ghidra before 12.1.4 fails to validate the TYPE_COL byte in OptionsDB.createUnregisteredOption(), causing an ArrayIndexOutOfBoundsException that leaves domain objects permanently locked. Attackers can craft a malicious program database file that, when imported, causes the application to stall and prevents resource cleanup or graceful shutdown.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Ghidra/RuntimeScripts/Linux/support/launch.sh in NSA Ghidra through 10.2.2 passes user-provided input into eval, leading
NSA Ghidra through 9.0.4, when experimental mode is enabled, allows arbitrary code execution if the Read XML Files featu
NSA Ghidra before 9.0.1 allows XXE when a project is opened or restored, or a tool is imported, as demonstrated by a pro
NSA Ghidra before 9.0.2 is vulnerable to DLL hijacking because it loads jansi.dll from the current working directory. Ra
In NSA Ghidra before 9.1, path traversal can occur in RestoreTask.java (from the package ghidra.app.plugin.core.archive)
Command injection in NSA Ghidra (versions before 12.0.3) executes arbitrary commands when analysts click on maliciously
SQL injection in Ghidra's BSim binary-similarity component (versions before 12.1) allows authenticated remote attackers
Authentication bypass in NSA Ghidra versions prior to 12.1 allows any holder of a valid CA-signed certificate to imperso
SQL injection in Ghidra's PostgreSQL collaboration backend (versions 11.0 through pre-12.1) allows authenticated users t
Remote code execution in NSA Ghidra before version 12.1 allows attackers to execute arbitrary commands when a user opens
Command injection in Ghidra versions before 12.1 on Windows allows attackers to execute arbitrary OS commands under the
Arbitrary file write in NSA's Ghidra reverse-engineering framework before version 12.0.4 allows attackers to escape the
EUVD-2026-84992
GHSA-jw6r-7cxw-rf3h
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB