{"id":"CVE-2019-16941","state":"PUBLISHED","title":"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 docu","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).","publishedAt":"2019-09-28T15:49:09.000Z","updatedAt":"2024-08-05T01:24:48.676Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://github.com/NationalSecurityAgency/ghidra/issues/1090","https://github.com/NationalSecurityAgency/ghidra/blob/79d8f164f8bb8b15cfb60c5d4faeb8e1c25d15ca/Ghidra/Features/BytePatterns/src/main/java/ghidra/bitpatterns/info/FileBitPatternInfoReader.java#L187-L188","https://github.com/purpleracc00n/CVE-2019-16941","https://github.com/NationalSecurityAgency/ghidra/commit/a17728f8c12effa171b17a25ccfb7e7d9528c5d0","https://www.symantec.com/security-center/vulnerabilities/writeup/110223?om_rssid=sr-advisories","https://twitter.com/NSAGov/status/1178812792159248385"],"weaknesses":[],"ingestedAt":"2026-10-29T19:45:36.262Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2019/16xxx/CVE-2019-16941.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2019-16941","state":"PUBLISHED","datePublished":"2019-09-28T15:49:09.000Z","dateUpdated":"2024-08-05T01:24:48.676Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2019-09-28T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","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)."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://github.com/NationalSecurityAgency/ghidra/issues/1090","tags":["x_refsource_MISC"]},{"url":"https://github.com/NationalSecurityAgency/ghidra/blob/79d8f164f8bb8b15cfb60c5d4faeb8e1c25d15ca/Ghidra/Features/BytePatterns/src/main/java/ghidra/bitpatterns/info/FileBitPatternInfoReader.java#L187-L188","tags":["x_refsource_MISC"]},{"url":"https://github.com/purpleracc00n/CVE-2019-16941","tags":["x_refsource_MISC"]},{"url":"https://github.com/NationalSecurityAgency/ghidra/commit/a17728f8c12effa171b17a25ccfb7e7d9528c5d0","tags":["x_refsource_MISC"]},{"url":"https://www.symantec.com/security-center/vulnerabilities/writeup/110223?om_rssid=sr-advisories","tags":["x_refsource_MISC"]},{"url":"https://twitter.com/NSAGov/status/1178812792159248385","tags":["x_refsource_MISC"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2019-10-04T20:11:53.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"x_legacyV4Record":{"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":[{"name":"https://github.com/NationalSecurityAgency/ghidra/issues/1090","refsource":"MISC","url":"https://github.com/NationalSecurityAgency/ghidra/issues/1090"},{"name":"https://github.com/NationalSecurityAgency/ghidra/blob/79d8f164f8bb8b15cfb60c5d4faeb8e1c25d15ca/Ghidra/Features/BytePatterns/src/main/java/ghidra/bitpatterns/info/FileBitPatternInfoReader.java#L187-L188","refsource":"MISC","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/purpleracc00n/CVE-2019-16941","refsource":"MISC","url":"https://github.com/purpleracc00n/CVE-2019-16941"},{"name":"https://github.com/NationalSecurityAgency/ghidra/commit/a17728f8c12effa171b17a25ccfb7e7d9528c5d0","refsource":"MISC","url":"https://github.com/NationalSecurityAgency/ghidra/commit/a17728f8c12effa171b17a25ccfb7e7d9528c5d0"},{"name":"https://www.symantec.com/security-center/vulnerabilities/writeup/110223?om_rssid=sr-advisories","refsource":"MISC","url":"https://www.symantec.com/security-center/vulnerabilities/writeup/110223?om_rssid=sr-advisories"},{"name":"https://twitter.com/NSAGov/status/1178812792159248385","refsource":"MISC","url":"https://twitter.com/NSAGov/status/1178812792159248385"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/NationalSecurityAgency/ghidra/issues/1090","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/NationalSecurityAgency/ghidra/blob/79d8f164f8bb8b15cfb60c5d4faeb8e1c25d15ca/Ghidra/Features/BytePatterns/src/main/java/ghidra/bitpatterns/info/FileBitPatternInfoReader.java#L187-L188","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/purpleracc00n/CVE-2019-16941","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/NationalSecurityAgency/ghidra/commit/a17728f8c12effa171b17a25ccfb7e7d9528c5d0","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://www.symantec.com/security-center/vulnerabilities/writeup/110223?om_rssid=sr-advisories","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://twitter.com/NSAGov/status/1178812792159248385","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-05T01:24:48.676Z"}}]}}}