{"api_version":"1","generated_at":"2026-05-13T02:11:07+00:00","cve":"CVE-2019-16941","urls":{"html":"https://cve.report/CVE-2019-16941","api":"https://cve.report/api/cve/CVE-2019-16941.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2019-16941","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2019-16941"},"summary":{"title":"CVE-2019-16941","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).","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2019-09-28 16:15:00","updated_at":"2019-10-04 21:15:00"},"problem_types":["CWE-91"],"metrics":[],"references":[{"url":"https://github.com/purpleracc00n/CVE-2019-16941","name":"https://github.com/purpleracc00n/CVE-2019-16941","refsource":"MISC","tags":[],"title":"GitHub - purpleracc00n/CVE-2019-16941: PoC for CVE-2019-16941","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/NationalSecurityAgency/ghidra/issues/1090","name":"https://github.com/NationalSecurityAgency/ghidra/issues/1090","refsource":"MISC","tags":["Exploit","Issue Tracking","Patch","Third Party Advisory"],"title":"RCE possible in Function Bit Patterns Explorer Plugin · Issue #1090 · NationalSecurityAgency/ghidra · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://twitter.com/NSAGov/status/1178812792159248385","name":"https://twitter.com/NSAGov/status/1178812792159248385","refsource":"MISC","tags":[],"title":"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.\"","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.symantec.com/security-center/vulnerabilities/writeup/110223?om_rssid=sr-advisories","name":"https://www.symantec.com/security-center/vulnerabilities/writeup/110223?om_rssid=sr-advisories","refsource":"MISC","tags":[],"title":"Ghidra CVE-2019-16941 Arbitrary Code Execution Vulnerability | Symantec","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/NationalSecurityAgency/ghidra/blob/79d8f164f8bb8b15cfb60c5d4faeb8e1c25d15ca/Ghidra/Features/BytePatterns/src/main/java/ghidra/bitpatterns/info/FileBitPatternInfoReader.java#L187-L188","name":"https://github.com/NationalSecurityAgency/ghidra/blob/79d8f164f8bb8b15cfb60c5d4faeb8e1c25d15ca/Ghidra/Features/BytePatterns/src/main/java/ghidra/bitpatterns/info/FileBitPatternInfoReader.java#L187-L188","refsource":"MISC","tags":["Third Party Advisory"],"title":"ghidra/FileBitPatternInfoReader.java at 79d8f164f8bb8b15cfb60c5d4faeb8e1c25d15ca · NationalSecurityAgency/ghidra · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/NationalSecurityAgency/ghidra/commit/a17728f8c12effa171b17a25ccfb7e7d9528c5d0","name":"https://github.com/NationalSecurityAgency/ghidra/commit/a17728f8c12effa171b17a25ccfb7e7d9528c5d0","refsource":"MISC","tags":[],"title":"Merge remote-tracking branch 'origin/GT-3198_dev747368_fix_XMLDecoder… · NationalSecurityAgency/ghidra@a17728f · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-16941","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-16941","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2019","cve_id":"16941","vulnerable":"1","versionEndIncluding":"9.0.4","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"nsa","cpe5":"ghidra","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2019-16941","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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)."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"url":"https://github.com/NationalSecurityAgency/ghidra/issues/1090","refsource":"MISC","name":"https://github.com/NationalSecurityAgency/ghidra/issues/1090"},{"url":"https://github.com/NationalSecurityAgency/ghidra/blob/79d8f164f8bb8b15cfb60c5d4faeb8e1c25d15ca/Ghidra/Features/BytePatterns/src/main/java/ghidra/bitpatterns/info/FileBitPatternInfoReader.java#L187-L188","refsource":"MISC","name":"https://github.com/NationalSecurityAgency/ghidra/blob/79d8f164f8bb8b15cfb60c5d4faeb8e1c25d15ca/Ghidra/Features/BytePatterns/src/main/java/ghidra/bitpatterns/info/FileBitPatternInfoReader.java#L187-L188"},{"refsource":"MISC","name":"https://github.com/purpleracc00n/CVE-2019-16941","url":"https://github.com/purpleracc00n/CVE-2019-16941"},{"refsource":"MISC","name":"https://github.com/NationalSecurityAgency/ghidra/commit/a17728f8c12effa171b17a25ccfb7e7d9528c5d0","url":"https://github.com/NationalSecurityAgency/ghidra/commit/a17728f8c12effa171b17a25ccfb7e7d9528c5d0"},{"refsource":"MISC","name":"https://www.symantec.com/security-center/vulnerabilities/writeup/110223?om_rssid=sr-advisories","url":"https://www.symantec.com/security-center/vulnerabilities/writeup/110223?om_rssid=sr-advisories"},{"refsource":"MISC","name":"https://twitter.com/NSAGov/status/1178812792159248385","url":"https://twitter.com/NSAGov/status/1178812792159248385"}]}},"nvd":{"publishedDate":"2019-09-28 16:15:00","lastModifiedDate":"2019-10-04 21:15:00","problem_types":["CWE-91"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.9,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":6.8},"severity":"MEDIUM","exploitabilityScore":8.6,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:nsa:ghidra:*:*:*:*:*:*:*:*","versionEndIncluding":"9.0.4","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2019","CveId":"16941","Ordinal":"156712","Title":"CVE-2019-16941","CVE":"CVE-2019-16941","Year":"2019"},"notes":[{"CveYear":"2019","CveId":"16941","Ordinal":"1","NoteData":"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).","Type":"Description","Title":null},{"CveYear":"2019","CveId":"16941","Ordinal":"2","NoteData":"2019-09-28","Type":"Other","Title":"Published"},{"CveYear":"2019","CveId":"16941","Ordinal":"3","NoteData":"2019-10-04","Type":"Other","Title":"Modified"}]}}}