CVE-2026-18718

Ghidra Swift Demangler Analyzer Arbitrary Code Execution via Project State

HIGH
7
CVSS Score
Published: August 3, 2026 at 04:54 PM UTC
Updated: October 23, 2026 at 09:10 PM UTC
2 products affected across 2 vendorsGhidraGhidra

Using Ghidra by National Security Agency?

Get instant alerts when new vulnerabilities affect Ghidra - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 12.1.2
Affected range stops below 12.1.2, so it looks safe — our inference, not a vendor statement
0 ≤ v < 12.1.20
Affected range stops below 12.1.2, so it looks safe — our inference, not a vendor statement
Vendor states this is fixed in 12.1.3 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7HIGHVulnCheck
Attack Vector
LOCAL
Complexity
HIGH
Privileges
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusAWAITING ANALYSIS
CWE
CWE-427

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card