{"id":"CVE-2019-16941","published":"2019-09-28T15:49:09Z","modified":"2024-08-05T01:24:48Z","title":"NSA Ghidra through 9.0.4, when experimental mode is enabled, allows arbitrary code execution if the Read XML Files…","vendor":null,"product":null,"tier":"tail","description":{"text":"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).","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.05133,"percentile":0.92594,"provenance":"source"},"cwes":[],"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"]}],"priority":{"score":23.5,"factors":[{"name":"EPSS percentile","points":18.52},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2019-10-01","earliestUrl":"https://github.com/purpleracc00n/CVE-2019-16941","repos":[{"name":"purpleracc00n/CVE-2019-16941","url":"https://github.com/purpleracc00n/CVE-2019-16941","stars":4,"created":"2019-10-01"}]},"first":{"date":"2019-10-01","source":"PoC-in-GitHub","url":"https://github.com/purpleracc00n/CVE-2019-16941"},"provenance":"source"},"summary":{"text":"The flaw is in NSA Ghidra through 9.0.4, specifically in the Read XML Files feature of Bit Patterns Explorer, within the FileBitPatternInfoReader component. An attacker who supplies a modified XML document, such as one originally created by DumpFunctionPatternInfoScript and then altered to include a java.lang.Runtime.exec call, can achieve arbitrary code execution when experimental mode is enabled and that file is read through the feature.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:09:37Z"},"euvd":{"id":"EUVD-2019-7427","exploited":false,"provenance":"source"}}