CVE-2026-18718Ghidra Swift Demangler Analyzer Arbitrary Code Execution via Project State
Updated under an hour ago ()
Does this affect you?
It affects National Security Agency Ghidra. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
Ghidra contains an arbitrary code execution vulnerability in the Swift demangler analyzer that allows an attacker to execute arbitrary binaries by supplying a malicious Ghidra project with a crafted Swift tool directory path. When a victim opens the attacker-supplied project, SwiftDemanglerAnalyzer restores the persisted Swift binary directory from project state and SwiftNativeDemangler executes the resolved binary without integrity or signature verification, causing attacker-controlled executables to run under the Ghidra process user with no prompt or confirmation.
- CVSS
- 7.0 HIGH (v3.1, CNA)CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
- Weakness (CWE)
- CWE-427
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- VulnCheck
- NVD analysis
- Awaiting Analysis
- Record last updated
- Sep 24, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
National Security Agency Ghidra national_security_agency:ghidra (from the name) | before 12.1.2; 12.1.3 not affected | CNA record |
References
- https://github.com/NationalSecurityAgency/ghidra/security/advisories/GHSA-pcfh-853f-q3ghvendor-advisory
- https://github.com/NationalSecurityAgency/ghidra/commit/c03a70dpatch
- https://github.com/NationalSecurityAgency/ghidraproduct
- https://github.com/sn0x-sharma/CVE-2026-18718technical-description
- https://www.vulncheck.com/advisories/ghidra-swift-demangler-analyzer-arbitrary-code-execution-via-project-statethird-party-advisory
- https://sn0xs-organization.gitbook.io/sn0x-order.org/bb-web-hunt/critical/how-i-found-a-0-day-in-ghidra-shared-project-file-became-a-code-execution-vectortechnical-description
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.