CVE-2019-16941
CVE-2019-16941 is a critical-severity vulnerability in Nsa Ghidra with a CVSS 3.x base score of 9.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-91.
Key facts
- Severity: Critical (CVSS 3.x base score 9.8)
- CVSS v2: 6.8
- EPSS exploit prediction: 5% (91st percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-91
- Affected product: Nsa Ghidra
- Published:
- Last modified:
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).
Frequently asked questions
- What is CVE-2019-16941?
- 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).
- How severe is CVE-2019-16941?
- CVE-2019-16941 has a CVSS 3.x base score of 9.8, rated critical severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2019-16941 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 5% (91st percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2019-16941?
- CVE-2019-16941 affects Nsa Ghidra. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2019-16941?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
- When was CVE-2019-16941 published?
- CVE-2019-16941 was published on 2019-09-28 and last updated on 2026-06-17.
References
- https://github.com/NationalSecurityAgency/ghidra/blob/79d8f164f8bb8b15cfb60c5d4faeb8e1c25d15ca/Ghidra/Features/BytePatterns/src/main/java/ghidra/bitpatterns/info/FileBitPatternInfoReader.java#L187-L188
- https://github.com/NationalSecurityAgency/ghidra/commit/a17728f8c12effa171b17a25ccfb7e7d9528c5d0
- https://github.com/NationalSecurityAgency/ghidra/issues/1090
- https://github.com/purpleracc00n/CVE-2019-16941
- https://twitter.com/NSAGov/status/1178812792159248385
- https://www.symantec.com/security-center/vulnerabilities/writeup/110223?om_rssid=sr-advisories
Affected products (1)
- cpe:2.3:a:nsa:ghidra:*:*:*:*:*:*:*:*
More vulnerabilities in Nsa Ghidra
- CVE-2023-22671 — Critical (CVSS 9.8): Ghidra/RuntimeScripts/Linux/support/launch.sh in NSA Ghidra through 10.2.2 passes user-provided input into eval,…
- CVE-2019-13625 — Critical (CVSS 9.1): NSA Ghidra before 9.0.1 allows XXE when a project is opened or restored, or a tool is imported, as demonstrated by a…
- CVE-2026-52758 — High (CVSS 8.8): Ghidra before 12.1 contains a SQL injection vulnerability in BSim filter types that concatenate user-supplied values…
- CVE-2026-52754 — High (CVSS 8.8): Ghidra before 12.1 contains an authentication bypass vulnerability in PKIAuthenticationModule.authenticate() that…
- CVE-2026-52751 — High (CVSS 8.8): Ghidra before 12.1 contains an unsafe deserialization vulnerability in client-side Shared-Project RMI connection code…
- CVE-2026-49498 — High (CVSS 8.8): Ghidra 11.0 before 12.1 contains a SQL injection vulnerability in the changePassword() method of…
All CVEs affecting Nsa Ghidra →
Other CWE-91 (XML Injection) vulnerabilities
- CVE-2021-4140 — Critical (CVSS 10.0): It was possible to construct specific XSLT markup that would be able to bypass an iframe sandbox. This vulnerability…
- CVE-2023-43187 — Critical (CVSS 9.8): A remote code execution (RCE) vulnerability in the xmlrpc.php endpoint of NodeBB Inc NodeBB forum software prior to…
- CVE-2019-19450 — Critical (CVSS 9.8): paraparser in ReportLab before 3.5.31 allows remote code execution because start_unichar in paraparser.py evaluates…
- CVE-2021-37154 — Critical (CVSS 9.8): In ForgeRock Access Management (AM) before 7.0.2, the SAML2 implementation allows XML injection, potentially enabling a…
- CVE-2020-29128 — Critical (CVSS 9.8): petl before 1.68, in some configurations, allows resolution of entities in an XML document.
- CVE-2020-25216 — Critical (CVSS 9.8): yWorks yEd Desktop before 3.20.1 allows code execution via an XSL Transformation when using an XML file in conjunction…