{"id":"CVE-2019-16941","aliases":["EUVD-2019-7427","GHSA-gwg5-3r5x-cw74"],"status":"published","title":"NSA Ghidra through 9.0.4, when experimental mode is enabled, allows arbitrary code execution if...","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).","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.05133,"percentile":0.92457,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"cwes":["CWE-91"],"published":"2019-09-28T15:49:09Z","modified":"2026-10-20T10:50:17Z","exploits":[{"source":"pocgithub","id":"purpleracc00n/CVE-2019-16941","title":"purpleracc00n/CVE-2019-16941","date":"2019-10-01","url":"https://github.com/purpleracc00n/CVE-2019-16941"}],"products":[{"vendor":"nsa","product":"ghidra"}],"references":[{"url":"https://github.com/NationalSecurityAgency/ghidra/issues/1090","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Patch","Third Party Advisory","fix"]},{"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","Third Party Advisory","advisory"]},{"url":"https://github.com/purpleracc00n/CVE-2019-16941","tags":["x_refsource_MISC","x_transferred","package"]},{"url":"https://github.com/NationalSecurityAgency/ghidra/commit/a17728f8c12effa171b17a25ccfb7e7d9528c5d0","tags":["x_refsource_MISC","x_transferred","fix"]},{"url":"https://www.symantec.com/security-center/vulnerabilities/writeup/110223?om_rssid=sr-advisories","tags":["x_refsource_MISC","x_transferred","advisory"]},{"url":"https://twitter.com/NSAGov/status/1178812792159248385","tags":["x_refsource_MISC","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-16941"},{"url":"https://github.com/advisories/GHSA-gwg5-3r5x-cw74"}],"sources":{"cve":[{"id":"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).","status":"published","published":"2019-09-28T15:49:09Z","modified":"2024-08-05T01:24:48.676Z","updated_at":"2026-11-02T14:32:23.485011Z"}],"euvd":[{"id":"EUVD-2019-7427","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).","status":"published","published":"2019-09-28T15:49:09Z","modified":"2024-08-05T01:24:48Z","updated_at":"2026-11-03T02:40:31.903592Z"}],"ghsa":[{"id":"GHSA-gwg5-3r5x-cw74","title":"NSA Ghidra through 9.0.4, when experimental mode is enabled, allows arbitrary code execution if...","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).","status":"published","published":"2022-05-24T16:57:09Z","modified":"2024-04-04T02:02:13Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-91"],"updated_at":"2026-11-02T14:56:05.532666Z"}],"nvd":[{"id":"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).","status":"published","published":"2019-09-28T16:15:09.997Z","modified":"2026-06-17T02:23:00.03Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-91"],"updated_at":"2026-11-02T14:05:30.039477Z"}],"osv":[{"id":"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).","status":"published","published":"2019-09-28T16:15:09.997Z","modified":"2026-10-20T10:50:17.023765977Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:11.673963Z"}]}}
