Skip to main content

Ghidra CVE-2026-4946

| EUVDEUVD-2026-17042 HIGH
OS Command Injection (CWE-78)
2026-03-29 AHA
8.8
CVSS 3.1 · Vendor: AHA
Share

Severity by source

Vendor (AHA) PRIMARY
8.8 HIGH
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Primary rating from Vendor (AHA) · only source for this CVE.

CVSS VectorVendor: AHA

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

6
Analysis Updated
Apr 16, 2026 - 06:11 EUVD-patch-fix
executive_summary
Re-analysis Queued
Apr 16, 2026 - 05:29 backfill_euvd_patch
patch_released
Patch available
Apr 16, 2026 - 05:29 EUVD
12.0.3
EUVD ID Assigned
Mar 29, 2026 - 19:45 euvd
EUVD-2026-17042
Analysis Generated
Mar 29, 2026 - 19:45 vuln.today
CVE Published
Mar 29, 2026 - 19:35 nvd
HIGH 8.8

DescriptionCVE.org

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

AnalysisAI

Command injection in NSA Ghidra (versions before 12.0.3) executes arbitrary commands when analysts click on maliciously crafted binary comments. Attackers embed @execute annotation directives in binary data (e.g., CFStrings in Mach-O files) that Ghidra auto-extracts and renders as clickable UI elements, bypassing the intended trust boundary for user-authored annotations. No public exploit identified at time of analysis, though the attack vector is well-documented in vendor advisory. EPSS data not available; CVSS 8.8 reflects high impact contingent on user interaction with a weaponized binary file.

Technical ContextAI

Ghidra is the NSA's open-source reverse engineering framework used for malware analysis and vulnerability research. The vulnerability stems from CWE-78 (OS Command Injection) in the annotation processing subsystem. Ghidra supports @execute directives in user comments to automate workflows, executing Python/Java code within the Ghidra environment. The flaw arises because auto-analysis modules (particularly those parsing Mach-O CFString constants and other binary metadata) generate comments containing attacker-controlled strings, which are then passed to the same annotation parser used for trusted user input. The NSA CPE identifier (cpe:2.3:a:nsa:ghidra) confirms this affects the core Ghidra application across all platforms (Windows, Linux, macOS) where the binary analysis UI is used.

RemediationAI

Upgrade to Ghidra version 12.0.3 or later immediately, as confirmed by the NSA GitHub security advisory at https://github.com/NationalSecurityAgency/ghidra/security/advisories/GHSA-mc3p-mq2p-xw6v. The patch sanitizes auto-generated comments to prevent @execute directive parsing in untrusted content. Organizations unable to upgrade immediately should implement defense-in-depth controls: restrict Ghidra usage to isolated virtual machines or containers with no network access or sensitive data, disable auto-analysis features for untrusted binaries, and establish mandatory code review for any binaries from external sources before analysis. Network-level controls blocking outbound connections from analysis workstations can limit post-exploitation impact but do not prevent local privilege escalation or data exfiltration to removable media. Supplement with endpoint detection rules monitoring for unexpected child processes spawned by the Ghidra JVM (java.exe/javaw.exe).

More in Ghidra

View all
CVE-2023-22671 CRITICAL POC
9.8 Jan 06

Ghidra/RuntimeScripts/Linux/support/launch.sh in NSA Ghidra through 10.2.2 passes user-provided input into eval, leading

CVE-2019-16941 CRITICAL POC
9.8 Sep 28

NSA Ghidra through 9.0.4, when experimental mode is enabled, allows arbitrary code execution if the Read XML Files featu

CVE-2019-13625 CRITICAL POC
9.1 Jul 17

NSA Ghidra before 9.0.1 allows XXE when a project is opened or restored, or a tool is imported, as demonstrated by a pro

CVE-2019-17665 HIGH POC
7.8 Oct 16

NSA Ghidra before 9.0.2 is vulnerable to DLL hijacking because it loads jansi.dll from the current working directory. Ra

CVE-2019-13623 HIGH POC
7.8 Jul 17

In NSA Ghidra before 9.1, path traversal can occur in RestoreTask.java (from the package ghidra.app.plugin.core.archive)

CVE-2026-52758 HIGH
8.7 Jun 10

SQL injection in Ghidra's BSim binary-similarity component (versions before 12.1) allows authenticated remote attackers

CVE-2026-52754 HIGH
8.7 Jun 10

Authentication bypass in NSA Ghidra versions prior to 12.1 allows any holder of a valid CA-signed certificate to imperso

CVE-2026-49498 HIGH
8.7 Jun 10

SQL injection in Ghidra's PostgreSQL collaboration backend (versions 11.0 through pre-12.1) allows authenticated users t

CVE-2026-52751 HIGH
8.6 Jun 10

Remote code execution in NSA Ghidra before version 12.1 allows attackers to execute arbitrary commands when a user opens

CVE-2026-52750 HIGH
8.4 Jun 10

Command injection in Ghidra versions before 12.1 on Windows allows attackers to execute arbitrary OS commands under the

CVE-2026-52755 HIGH
8.4 Jun 10

Arbitrary file write in NSA's Ghidra reverse-engineering framework before version 12.0.4 allows attackers to escape the

CVE-2026-52752 HIGH
8.4 Jun 10

Arbitrary file write in NSA Ghidra versions prior to 12.0.2 allows local attackers to achieve code execution by tricking

Share

CVE-2026-4946 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy