CVE-2026-18718 HIGH

CVE-2026-18718: Ghidra Swift Demangler Analyzer Arbitrary Code Execution via Project State

Vendor National Security Agency
Product Ghidra
Weakness CWE-427
Published August 3, 2026
Last update August 3, 2026

CVSS base score

7.1/10
Attack vector Local
Attack complexity High
Privileges required None
User interaction
Confidentiality
Integrity

CVSS vector

CVSS:4.0/AV:L/AC:H/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

August 3, 2026 CVE published
August 3, 2026 Record updated