Home / Nsa / Ghidra / CVE-2019-16941
CVE-2019-16941: is it exploited, and which versions of Nsa Ghidra are affected and fixed?
CVE-2019-16941 is a XML injection vulnerability in Nsa Ghidra. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 10:38 UTC). Affected: ghidra through 9.0.4 (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Critical (9.8, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:38 UTC, CVE record November 19, 2026, 07:16 UTC and NVD November 19, 2026, 08:19 UTC.
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).
From the CVE record by mitre, last updated August 5, 2024, 01:24 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| nsa | ghidra | through 9.0.4 | application |
NVD analysis (status Modified), last modified June 17, 2026, 02:23 UTC.
How severe is CVE-2019-16941?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
| Medium 6.8 | CVSS 2.0 | AV:N/AC:M/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2019-16941 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 5.13% probability of exploitation activity in the next 30 days, percentile 92.6 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-91 XML Injection
Where are the vendor advisories and references?
- https://github.com/NationalSecurityAgency/ghidra/issues/1090 x_refsource_MISC
- https://github.com/NationalSecurityAgency/ghidra/blob/79d8f164f8bb8b15cfb60c5d4faeb8e1c25d15ca/Ghidra/Features/BytePatterns/src/main/java/ghidra/bitpatterns/info/FileBitPatternInfoReader.java#L187-L188 x_refsource_MISC
- https://github.com/purpleracc00n/CVE-2019-16941 x_refsource_MISC
- https://github.com/NationalSecurityAgency/ghidra/commit/a17728f8c12effa171b17a25ccfb7e7d9528c5d0 x_refsource_MISC
- https://www.symantec.com/security-center/vulnerabilities/writeup/110223?om_rssid=sr-advisories x_refsource_MISC
- https://twitter.com/NSAGov/status/1178812792159248385 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- September 28, 2019
- Published
- September 28, 2019, 15:49 UTC
- CVE record updated
- August 5, 2024, 01:24 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 02:23 UTC
- Last checked
- CVE list November 19, 2026, 07:16 UTC; NVD November 19, 2026, 08:19 UTC; KEV December 3, 2026, 10:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Ghidra?
- Mar 29, 2026CVE-2026-4946 NSA Ghidra: OS command injection
- Jan 6, 2023CVE-2023-22671 Nsa Ghidra: command injection
- Oct 16, 2019CVE-2019-17664 Nsa Ghidra: untrusted Search Path
- Oct 16, 2019CVE-2019-17665 Nsa Ghidra: uncontrolled search path (DLL or library hijacking)
- Jul 17, 2019CVE-2019-13625 Nsa Ghidra: XML external entity (XXE)
- Jul 17, 2019CVE-2019-13623 Nsa Ghidra: path traversal (reading or writing files outside the intended folder)
Questions about CVE-2019-16941
Is CVE-2019-16941 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:38 UTC. FIRST's EPSS gives it a 5.13% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Nsa Ghidra are affected by CVE-2019-16941?
ghidra through 9.0.4, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2019-16941?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2019-16941?
Critical (9.8, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2019-16941?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.