CVE-2026-18718
JSON

7.1high

Ghidra Swift Demangler Analyzer Arbitrary Code Execution via Project State

Severity
7.1high CVSS:4.0 by VulnCheck
Exploit likelihood
0.24% (higher than 16% of CVEs; EPSS, by FIRST)
Published
Last changed
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

Product or packageVersionsReported by
National Security Agency Ghidrabefore 12.1.2
Not affected: 12.1.3
CVE List

All scores

VulnCheck7.1high CVSS:4.0CVSS:4.0/AV:L/AC:H/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
VulnCheck7.0high CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Classification

CWE-427

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

Ghidra contiene una vulnerabilidad de ejecución de código arbitrario en el analizador de descompilación de Swift que permite a un atacante ejecutar binarios arbitrarios al proporcionar un proyecto Ghidra malicioso con una ruta de directorio de herramientas de Swift manipulada. Cuando una víctima abre el proyecto proporcionado por el atacante, SwiftDemanglerAnalyzer restaura el directorio de binarios de Swift persistido del estado del proyecto y SwiftNativeDemangler ejecuta el binario resuelto sin verificación de integridad o firma, lo que provoca que los ejecutables controlados por el atacante se ejecuten bajo el usuario del proceso de Ghidra sin aviso ni confirmación.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-18718 changed 2026-11-08CVE Terms of Use
NVDCVE-2026-18718 changed 2026-10-23Public domain