CVE-2019-16941

Summary

CVECVE-2019-16941
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2019-09-28 16:15:00 UTC
Updated2019-10-04 21:15:00 UTC
DescriptionNSA 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).

Risk And Classification

Problem Types: CWE-91

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Nsa Ghidra All All All All

References

ReferenceSourceLinkTags
GitHub - purpleracc00n/CVE-2019-16941: PoC for CVE-2019-16941 MISC github.com
RCE possible in Function Bit Patterns Explorer Plugin · Issue #1090 · NationalSecurityAgency/ghidra · GitHub MISC github.com Exploit, Issue Tracking, Patch, Third Party Advisory
NSA/CSS on Twitter: "#Ghidra Users: A flaw currently exists within Ghidra versions through 9.0.4. The conditions needed to exploit this flaw are rare and a patch is currently being worked. This flaw is not a serious issue as long as you don’t accept XML files from an untrusted source." MISC twitter.com
Ghidra CVE-2019-16941 Arbitrary Code Execution Vulnerability | Symantec MISC www.symantec.com
ghidra/FileBitPatternInfoReader.java at 79d8f164f8bb8b15cfb60c5d4faeb8e1c25d15ca · NationalSecurityAgency/ghidra · GitHub MISC github.com Third Party Advisory
Merge remote-tracking branch 'origin/GT-3198_dev747368_fix_XMLDecoder… · NationalSecurityAgency/ghidra@a17728f · GitHub MISC github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report