CVE-2026-18718
Ghidra contains an arbitrary code execution vulnerability in the …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- app.notion.com/p/Conditional-Arbitrary-Code-Execution-via-Swift-Demangler-Analyzer-ACE-GHI
- github.com/NationalSecurityAgency/ghidra
- github.com/NationalSecurityAgency/ghidra/commit/c03a70d
- github.com/NationalSecurityAgency/ghidra/security/advisories/GHSA-pcfh-853f-q3gh
- www.vulncheck.com/advisories/ghidra-swift-demangler-analyzer-arbitrary-code-execution-via-
- github.com/sn0x-sharma/CVE-2026-18718
- sn0xs-organization.gitbook.io/sn0x-order.org/bb-web-hunt/critical/how-i-found-a-0-day-in-g
- nvd.nist.gov/vuln/detail/CVE-2026-18718
- cve.org/CVERecord?id=CVE-2026-18718
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.