Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious x86-64 binary
-
DeliveryDeliver sample to analyst or pipeline
-
ExploitGhidra decompiles crafted function
-
ExecutionTrigger stale INDIRECT use-after-free in opInsertAfter
-
ImpactDecompile helper process crashes (DoS)
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that a victim load and decompile an attacker-crafted x86-64 binary in Ghidra (versions through 12.1.4); the malicious sample must contain a specific instruction sequence that leaves stale INDIRECT effect-op references processed by the decompiler's INDIRECT-collapse logic. Limiting factors: the vector is local (AV:L) - the file must be fed to the local decompiler; user interaction is required (UI:P) - an analyst must open/decompile the file or an automated pipeline must ingest it; and impact is capped at a crash of the decompile helper process with no confidentiality or integrity effect. It does not affect default installations passively - a malicious input must be actively analyzed. |
| Impact | This is a genuinely low-severity, availability-only issue despite being a memory-corruption class bug (CWE-416 use-after-free). The vendor CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L, base 4.8) is internally consistent with the description: exploitation is local (a malicious binary must be loaded into Ghidra's decompiler), requires passive user interaction (an analyst or pipeline must actually decompile the crafted file), and yields only low availability impact (the decompile helper process crashes - no confidentiality or integrity loss, VC:N/VI:N). No EPSS score, KEV listing, or public POC was provided in the intelligence, so there is no public exploit identified at time of analysis and no evidence of active exploitation. The one signal that slightly elevates practical concern is that the crash occurs in automated analysis pipelines, meaning a malware author distributing samples could degrade a triage/CI decompilation service - but the impact ceiling is a process crash, not code execution. Net: this is a low-real-risk DoS, not a high-CVSS-but-overstated issue; the CVSS score already reflects the limited impact. The most notable gap is the tension between a use-after-free primitive (which sometimes escalates to code execution) and the vendor's assessment that impact is confined to a crash - analysts wanting to rule out RCE should review the VulnCheck advisory and the merge.cc/subflow.cc code paths, but nothing in the provided data supports more than DoS. |
| Exploit ScenarioDerived | An attacker crafts a malicious x86-64 binary containing a specific instruction sequence that produces stale INDIRECT effect-op references, then distributes it (e.g., as a malware sample submitted to a triage service or handed to a reverse engineer). When an analyst or an automated pipeline decompiles the file, Funcdata::opInsertAfter dereferences the freed reference and the decompile helper process crashes, denying decompilation service. No public exploit code was identified in the provided intelligence, and impact is limited to a crash rather than code execution. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 26, 2026
Decompiling an attacker-crafted x86-64 binary in NSA Ghidra through version 12.1.4 can crash the decompiler helper process via a heap use-after-free in Funcdata::opInsertAfter, denying service to analysts and automated analysis pipelines. The vulnerability is triggered only when a victim actively loads and decompiles a malicious sample containing a specific instruction sequence that leaves stale INDIRECT effect-op references in the decompiler's internal P-code model; it is a local, user-interaction-required issue (CVSS 4.0 4.8; assessed CVSS 3.1 AV:L/AC:L/PR:N/UI:R, C:N/I:N/A:L) with no confidentiality or integrity impact. No public exploit code has been identified and there is no indication of confirmed active exploitation; the practical risk is a restartable crash of the helper process, not code execution or data compromise. Vendor patch data is available (upstream fix commit), and the flaw is classed as CWE-416 (use-after-free).
RemediationAI
Upstream fix available (commit 5ef1ee4d7a25a65db195f3a70f681ca74440be61); a released patched version number is not independently confirmed by the provided data, so treat any Ghidra build containing this commit (i.e. the version after 12.1.4) as the remediation target and verify the decompiler minorversion has been bumped to 2, which ships with the fix. Patch status is 'patch available per vendor advisory' - apply the vendor update to both the GUI and headless decompiler installations, since the bug is in the shared native decompiler used by analyzeHeadless. Until patched, the most effective compensating control is isolation: decompile untrusted or attacker-supplied binaries only inside a disposable, resource-capped container or VM with no access to production credentials, and run automated ingestion pipelines in a worker pool where a helper-process crash is contained and retried rather than treated as fatal; the trade-off is reduced throughput and added infrastructure overhead. Because the trigger is a malicious input rather than a network service, there is no port or endpoint to block and no feature to disable without losing decompilation entirely; if availability is paramount, restrict automated pipelines to trusted binaries only (side effect: unvetted samples must be queued for manual, sandboxed review) and configure supervisors to auto-restart the decompile helper and to surface repeated helper crashes as an indicator of a malicious sample. Monitor for orphaned or repeatedly crashing decompiler helper processes as the primary detection signal for exploitation attempts.
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's decompiler is a C++ component that lifts machine code into P-code and then applies a series of transformation rules over the IR; memory side effects are modeled with CPUI_INDIRECT operations that tie an output value to the underlying effect op (typically a STORE). The bug is a CWE-416 use-after-free in Funcdata::opInsertAfter, where stale INDIRECT effect-op references are still reachable when the decompiler collapses INDIRECTs, so a specific x86-64 instruction sequence that produces overlapping INDIRECT/copy effects causes the helper process to operate on freed memory and abort. The upstream fix (commit 5ef1ee4d7a25a65db195f3a70f681ca74440be61) replaces RuleIndirectCollapse with RuleAliasUpdate in the universal action database, adds Funcdata::opCollapseIndirectsForCopy, Funcdata::opCollapseIndirectsForAlias and Funcdata::markIndirectAliasUpdate to correctly convert or eliminate INDIRECTs when STOREs become COPYs or aliases are resolved, moves verifyMultNegOne onto PcodeOp, and bumps ArchitectureCapability minorversion from 1 to 2. The CPE cpe:2.3:a:nationalsecurityagency:ghidra:*:*:*:*:*:*:*:* confirms the affected product line is the NSA-maintained Ghidra distribution across all platforms on which the decompiler and headless analyzer run.
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:L/SC:N/SI:N/SA:N
Local because a crafted file must be fed to the decompiler (AV:L); requires the analyst/pipeline to decompile it (UI:R); no auth needed (PR:N); impact is only a helper-process crash (A:L, C:N/I:N).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
Ghidra versions through 12.1.4 contain a heap use-after-free vulnerability in the decompiler's Funcdata::opInsertAfter function caused by stale INDIRECT effect-op references. Attackers can craft a malicious binary with a specific x86-64 sequence that triggers the vulnerability during decompilation, causing the decompile helper process to crash and denying service to analysts and automated analysis pipelines.
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
Attack Technique
Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.
Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
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-87372
GHSA-7rr6-c8rx-m78p
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB