CVE-2026-18718 Ghidra Swift Demangler Analyzer Arbitrary Code Execution via Project State
HighCVSS 7.1
EPSS 0.17%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
Description
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| National Security Agency Ghidra | < 12.1.2 | 12.1.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| National Security Agency Ghidra | < 12.1.2 | 12.1.2 |
References
- GitHub Security Advisory (GHSA-pcfh-853f-q3gh) vendor-advisory
- Patch Commit patch
- Product Repository product
- Blog Post technical-description
- www.vulncheck.com third-party-advisory
- sn0xs-organization.gitbook.io technical-description
- ENISA EUVD EUVD-2026-52372 third-party-advisory