CVE-2026-4946: NSA Ghidra Auto-Analysis Annotation Command Execution

Published Mar 29, 2026
·
Updated

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.

Affected Software

2 affected components
National Security Agency Ghidra<12.0.3
NSA Ghidra<12.0.3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Ghidra to a version that resolves this vulnerability.

    Fixed in 12.0.3
  2. Compensating control

    Do not interact with/execute clickable annotation directives in UI text that originate from auto-analysis of untrusted binaries; treat any @execute-like content from extracted/comment data as potentially malicious until Ghidra is upgraded to 12.0.3.

Event History

Mar 29, 2026
CVE Published
via MITRE·07:35 PM
Data Sourced
via MITRE·07:35 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:16 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-4946?

CVE-2026-4946 has a critical severity rating due to the potential for arbitrary command execution.

2

How do I fix CVE-2026-4946?

To fix CVE-2026-4946, update your Ghidra installation to version 12.0.3 or later.

3

What types of systems are vulnerable to CVE-2026-4946?

CVE-2026-4946 affects all versions of Ghidra prior to 12.0.3.

4

What are the risks associated with CVE-2026-4946?

The risks include unauthorized command execution which could compromise system integrity and security.

5

How does CVE-2026-4946 exploit the Ghidra platform?

CVE-2026-4946 exploits improperly processed annotation directives within the Ghidra UI during binary analysis.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203