PatchSiren cyber security CVE debrief
CVE-2026-18718 National Security Agency CVE debrief
Ghidra contains an arbitrary code execution vulnerability in the Swift demangler analyzer. An attacker can execute arbitrary binaries by supplying a malicious Ghidra project with a crafted Swift tool directory path. When a victim opens the project, SwiftDemanglerAnalyzer restores the persisted Swift binary directory from project state and SwiftNativeDemangler executes the resolved binary without integrity or signature verification.
- Vendor
- National Security Agency
- Product
- Ghidra
- CVSS
- HIGH 7.1
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-08-03
- Original CVE updated
- 2026-09-24
- Advisory published
- 2026-08-03
- Advisory updated
- 2026-09-24
Who should care
Defenders responsible for Ghidra deployments, developers using Ghidra, and security teams monitoring for suspicious activity should assess exposure and prioritize verification of Ghidra project integrity.
Why it matters
Defenders should prioritize verifying Ghidra project integrity and restricting project loading from untrusted sources due to the risk of arbitrary code execution.
- Execution of arbitrary binaries under the Ghidra process user
- Potential for lateral movement and further exploitation
- Need for verification of Ghidra project integrity
- Possible impact on development and testing workflows
Technical summary
The Ghidra Swift demangler analyzer contains a vulnerability that allows an attacker to execute arbitrary binaries by supplying a malicious Ghidra project with a crafted Swift tool directory path. This vulnerability is due to the analyzer's failure to verify the integrity or signature of the resolved binary, allowing attacker-controlled executables to run under the Ghidra process user with no prompt or confirmation. The vulnerability affects Ghidra deployments, and defenders should assess exposure and prioritize verification of Ghidra project integrity.
Defensive priority
Defenders should prioritize verifying Ghidra project integrity and restricting project loading from untrusted sources.
Recommended defensive actions
- Verify Ghidra project integrity before loading
- Restrict project loading from untrusted sources
- Monitor Ghidra project loading for suspicious activity
- Consider implementing compensating controls for Ghidra deployments
- Review relevant monitoring, detection, and logs for exposed assets that need extra review
- Track exceptions, retest remediated assets, and close the item only after evidence is documented
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
Evidence notes
The CVE record and NVD entry provide details on the vulnerability. However, the exact scope of affected versions and remediation steps require verification from official sources. Defenders should verify Ghidra project integrity and restrict project loading from untrusted sources. Evidence from official sources is limited, so defenders must exercise caution when assessing exposure.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-18718 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-18718
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-18718 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-18718
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://github.com/NationalSecurityAgency/ghidra
-
Source reference
Unverified legacy reference
URL: https://github.com/NationalSecurityAgency/ghidra/commit/c03a70d
-
Source reference
Unverified legacy reference
URL: https://github.com/NationalSecurityAgency/ghidra/security/advisories/GHSA-pcfh-853f-q3gh
-
Source reference
Unverified legacy reference
URL: https://github.com/sn0x-sharma/CVE-2026-18718
-
Source reference
Unverified legacy reference
URL: https://sn0xs-organization.gitbook.io/sn0x-order.org/bb-web-hunt/critical/how-i-found-a-0-day-in-ghidra-shared-project-file-became-a-code-execution-vector
-
Source reference
Unverified legacy reference
URL: https://www.vulncheck.com/advisories/ghidra-swift-demangler-analyzer-arbitrary-code-execution-via-project-state
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.