Skip to content
OpenAdvisories
High · 7.0 Public exploit CVE-2026-18718 EUVD-2026-52372GHSA-mfcj-9frg-f2r4

Ghidra Swift Demangler Analyzer Arbitrary Code Execution via Project State

Published Aug 3, 2026 · Updated Nov 8, 2026 · Assigned by VulnCheck

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 products

VendorProductAffectedFixed
National Security Agency Ghidra < 12.1.2 12.1.2

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

References