Cyber Posture

CVE-2026-4946

HighRCE

Published: 29 March 2026

Published
29 March 2026
Modified
30 March 2026
KEV Added
Patch
CVSS Score 8.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS Score 0.0005 16.0th percentile
Risk Priority 18 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2026-4946 is a high-severity OS Command Injection (CWE-78) vulnerability. Its CVSS base score is 8.8 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploitation for Client Execution (T1203); ranked at the 16.0th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified are NIST 800-53 SI-10 (Information Input Validation) and SI-2 (Flaw Remediation).

Threat & Defense at a Glance

What attackers do: exploitation maps to Exploitation for Client Execution (T1203) and 2 other techniques. What defenders deploy: see the NIST 800-53 controls recommended below.
Threat & Defense Details

Mitigating Controls (NIST 800-53 r5)AI

prevent

Requires timely remediation of the Ghidra flaw through patching to 12.0.3 or later, directly preventing arbitrary command execution from crafted binary annotations.

prevent

Mandates validation of untrusted binary data inputs during auto-analysis to block malicious @execute annotations from being processed.

prevent

Supports secure configuration of Ghidra by disabling auto-analysis features that parse executable annotations from untrusted binaries.

MITRE ATT&CK Enterprise TechniquesAI

T1203 Exploitation for Client Execution Execution
Adversaries may exploit software vulnerabilities in client applications to execute code.
T1204.002 Malicious File Execution
An adversary may rely upon a user opening a malicious file in order to gain execution.
T1059 Command and Scripting Interpreter Execution
Adversaries may abuse command and script interpreters to execute commands, scripts, or binaries.
Why these techniques?

Vulnerability in Ghidra (client RE tool) enables code execution via crafted malicious binary (Mach-O with @execute annotation) requiring analyst interaction, directly mapping to client-side exploitation (T1203) and user execution of malicious file (T1204.002) leading to arbitrary OS command execution (T1059).

Confidence: HIGH · MITRE ATT&CK Enterprise v18.1

NVD Description

Ghidra versions prior to 12.0.3 improperly process annotation directives embedded in automatically extracted binary data, resulting in arbitrary command execution when an analyst interacts with the UI. Specifically, the @execute annotation (which is intended for trusted, user-authored comments) is also…

more

parsed in comments generated during auto-analysis (such as CFStrings in Mach-O binaries). This allows a crafted binary to present seemingly benign clickable text which, when clicked, executes attacker-controlled commands on the analyst’s machine.

Deeper analysisAI

CVE-2026-4946 is a high-severity vulnerability (CVSS 8.8) affecting Ghidra versions prior to 12.0.3, a reverse engineering tool developed by the National Security Agency. The flaw stems from improper processing of annotation directives embedded in automatically extracted binary data during auto-analysis. Specifically, the @execute annotation, intended only for trusted user-authored comments, is parsed in comments generated by auto-analysis features, such as those for CFStrings in Mach-O binaries. This leads to arbitrary command execution when an analyst interacts with the user interface.

An attacker can exploit this vulnerability by crafting a malicious binary that embeds the @execute directive in a way that survives auto-analysis and appears as benign clickable text in Ghidra's UI. Exploitation requires no privileges (PR:N) and can occur over the network (AV:N) with low complexity (AC:L), but demands user interaction (UI:R) from a Ghidra analyst analyzing the binary. Successful exploitation grants the attacker high-impact confidentiality, integrity, and availability compromise (C:H/I:H/A:H) through execution of arbitrary commands on the analyst's local machine, classified under CWE-78 (OS Command Injection).

The official Ghidra security advisory (GHSA-mc3p-mq2p-xw6v) and related references recommend upgrading to Ghidra 12.0.3 or later, which addresses the improper parsing of annotations in auto-generated comments. Practitioners should avoid analyzing untrusted binaries until patching and consider disabling auto-analysis or reviewing generated comments carefully in vulnerable versions.

Details

CWE(s)

Affected Products

Ghidra
inferred from references and description; NVD did not file a CPE for this CVE

CVEs Like This One

CVE-2026-40517Shared CWE-78
CVE-2024-14010Shared CWE-78
CVE-2026-40029Shared CWE-78
CVE-2026-34982Shared CWE-78
CVE-2026-40499Shared CWE-78
CVE-2025-65480Shared CWE-78
CVE-2026-26331Shared CWE-78
CVE-2026-34714Shared CWE-78
CVE-2026-33874Shared CWE-78
CVE-2025-52626Shared CWE-78

References