CVE-2019-16941 XML external entity in n/a
Attackers can execute arbitrary code via malicious XML files in Ghidra's Bit Patterns Explorer when experimental mode is enabled.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2019-16941?
CVE-2019-16941 is a critical vulnerability in n/a, published on 28 Sep 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
NSA Ghidra through 9.0.4, when experimental mode is enabled, allows arbitrary code execution if the Read XML Files feature of Bit Patterns Explorer is used with a modified XML document. This occurs in Features/BytePatterns/src/main/java/ghidra/bitpatterns/info/FileBitPatternInfoReader.java. An attack could start with an XML document that was originally created by DumpFunctionPatternInfoScript but then directly modified by an attacker (for example, to make a java.lang.Runtime.exec call).
Weakness: CWE-91
Which versions are affected by CVE-2019-16941?
It affects 1 product.
Products include Nsa Ghidra.
How do I fix CVE-2019-16941?
No fix has been published for CVE-2019-16941 yet. Limit exposure of the affected software until one is available.
Is CVE-2019-16941 being exploited?
There is no known exploitation of CVE-2019-16941 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in n/a
- CVE-2023-22671 Command injection in n/a
- CVE-2019-13625 XML external entity in n/a
- CVE-2026-4946 NSA Ghidra Auto-Analysis Annotation Command Execution
- CVE-2026-49498 Ghidra 11.0 < 12.1 - SQL Injection in PostgreSQL Password Change via Unescaped Username
- CVE-2026-52754 Ghidra < 12.1 - Authentication Bypass via Null Signature in PKIAuthenticationModule
Sources
Also known as GHSA-gwg5-3r5x-cw74.