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

- Severity: High 8.8 (CVSS:3.1, scored by AHA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.56%, higher than 48% of CVEs (2026-12-02)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2026-03-29T19:35:30.692Z
- Modified: 2026-08-10T14:08:11.723Z
- Weaknesses: CWE-78
- SSVC (AHA): exploitation poc, automatable no, technical impact total
- Assigned by: AHA

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

(As written by CVE List.)

## Affected

- NSA Ghidra: before 12.0.3

## References

- <https://takeonme.org/gcves/GCVE-1337-2026-00000000000000000000000000000000000000000000000001011111111111000111111110000000000000000000000000000000000000000000000000000000110> (exploit, third-party-advisory)
- <https://github.com/NationalSecurityAgency/ghidra/security/advisories/GHSA-mc3p-mq2p-xw6v> (exploit, vendor-advisory)

## Sources

- CVE List: [CVE-2026-4946](https://www.cve.org/CVERecord?id=CVE-2026-4946), CVE Terms of Use, modified 2026-03-30
- NVD: [CVE-2026-4946](https://nvd.nist.gov/vuln/detail/CVE-2026-4946), Public domain, modified 2026-08-10

---

Page: https://cve.day/CVE-2026-4946 · Whole record: https://cve.day/CVE-2026-4946.json · Rebuilt by cve.day 2026-11-25T22:59:17.494Z
