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.
References6
- github.com/NationalSecurityAgency/ghidra
- github.com/NationalSecurityAgency/ghidra/commit/c03a70d
- github.com/NationalSecurityAgency/ghidra/security/advisories/GH…
- github.com/sn0x-sharma/CVE-2026-18718
- sn0xs-organization.gitbook.io/sn0x-order.org/bb-web-hunt/critic…
- www.vulncheck.com/advisories/ghidra-swift-demangler-analyzer-ar…
Metrics
- CVSS 3.1
-
7.0
HIGH
Score source: CNA
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 4.0
-
7.1
HIGH
Score source: CNA
CVSS:4.0/AV:L/AC:H/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - EPSS — exploit probability
- 0% percentile: 7 · as of 13 November 2026
- CWE
- CWE-427
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.