CVE-2026-18718
Received Received - Intake

Arbitrary Code Execution in Ghidra via Swift Demangler Analyzer

Vulnerability report for CVE-2026-18718, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-03

Last updated on: 2026-08-03

Assigner: 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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-03
Last Modified
2026-08-03
Generated
2026-08-03
AI Q&A
2026-08-03
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
ghidra ghidra *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-427 The product uses a fixed or controlled search path to find resources, but one or more locations in that path can be under the control of unintended actors.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability allows an attacker to execute arbitrary code on a victim's system by tricking them into opening a malicious Ghidra project. The project contains a crafted Swift tool directory path that, when processed by Ghidra's Swift demangler analyzer, causes it to run attacker-controlled executables without verification or user confirmation.

Detection Guidance

This vulnerability can be detected by checking for unauthorized execution of binaries via Ghidra's Swift demangler analyzer. Inspect Ghidra project files for unexpected Swift tool directory paths. Monitor Ghidra process activity for suspicious child processes spawned without user interaction.

Impact Analysis

If you use Ghidra and open a project from an untrusted source, this vulnerability could allow an attacker to run malicious software on your computer. This could lead to data theft, system compromise, or further network attacks under your user privileges.

Compliance Impact

This vulnerability could lead to unauthorized code execution, potentially causing data breaches or loss of sensitive information. Such incidents may violate compliance requirements like GDPR (data protection) or HIPAA (health data security), leading to legal penalties or reputational damage.

Mitigation Strategies

Update Ghidra to the latest version that patches this vulnerability. Avoid opening untrusted Ghidra projects. Restrict access to Ghidra project files to trusted users only.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-18718. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart