Vulnerability in National Security Agency Ghidra
CVE-2026-18718
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.0 (High). Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.002 (6.9th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 7th percentile — 6.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.002 · newest: 0.002 · change: 0.000
Affected products
- National Security Agency Ghidra — versions 0, 12.1.3
Weakness classification (CWE)
Public proof-of-concept exploits
References
- app.notion.com/p/Conditional-Arbitrary-Code-Execution-via-Swift-Demangler-Analy… (technical-description)
- github.com/NationalSecurityAgency/ghidra (product)
- github.com/NationalSecurityAgency/ghidra/commit/c03a70d (patch)
- github.com/NationalSecurityAgency/ghidra/security/advisories/GHSA-pcfh-853f-q3gh (vendor-advisory)
- www.vulncheck.com/advisories/ghidra-swift-demangler-analyzer-arbitrary-code-exe… (third-party-advisory)
- github.com/sn0x-sharma/CVE-2026-18718 (technical-description)
- sn0xs-organization.gitbook.io/sn0x-order.org/bb-web-hunt/critical/how-i-found-a… (technical-description)
Frequently asked questions
- What is CVE-2026-18718?
- CVE-2026-18718 is a high-severity vulnerability in National Security Agency Ghidra, classified under Uncontrolled Search Path Element. CVSS score: 7.0/10. Published 2026-08-03.
- How severe is CVE-2026-18718?
- High severity. CVSS v3 base score is 7.0 out of 10.
- Is CVE-2026-18718 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.