Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/NationalSecurityAgency/ghidra
- https://github.com/NationalSecurityAgency/ghidra/commit/c03a70d
- https://github.com/NationalSecurityAgency/ghidra/security/advisories/GHSA-pcfh-8
- https://github.com/sn0x-sharma/CVE-2026-18718
- https://sn0xs-organization.gitbook.io/sn0x-order.org/bb-web-hunt/critical/how-i-
- https://www.vulncheck.com/advisories/ghidra-swift-demangler-analyzer-arbitrary-c
FAQ
What is CVE-2026-18718?
CVE-2026-18718 is a vulnerability with a CVSS score of 7.0 (HIGH). 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 S...
How severe is CVE-2026-18718?
CVE-2026-18718 has been rated HIGH with a CVSS base score of 7.0/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-18718?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.