Ghidra Swift Demangler Analyzer Arbitrary Code Execution via Project State
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Active
- Attack complexity
- High
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-427.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| National Security Agency | Ghidra | before 12.1.2 | 12.1.2, 12.1.3 | Patch available | CNA |
- Ghidra VendorNational Security Agency Affected before 12.1.2 Fixed in 12.1.2, 12.1.3 Patch available CNA
Remediation
- Fix · CNA Ghidra (National Security Agency) Fixed in 12.1.2, 12.1.3
Timeline
- 2026-10-02 Threatist record created from CVE-2026-18718
- 2026-10-03 Alias added: GHSA-mfcj-9frg-f2r4
References
Sources
- CVE-2026-18718 · CVE Program
- CVE-2026-18718 · NVD
- FIRST EPSS
- GHSA-mfcj-9frg-f2r4 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences