High
Security advisory
NSA Ghidra through 9.0.4 uses a potentially untrusted search path. When executing Ghidra from a given path, the Java process working directory is set to this path. Then, when launching the Python interpreter via the "Ghidra Codebrowser > Window > Python" option, Ghidra will try to execute the cmd.exe program from this working directory.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2019-17664
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:02 UTC · Revision 1
Source evidence
NSA Ghidra through 9.0.4 uses a potentially untrusted search path. When executing Ghidra from a given path, the Java process working directory is set to this path. Then, when launching the Python interpreter via the "Ghidra Codebrowser > Window > Python" option, Ghidra will try to execute the cmd.exe program from this working directory.
osv:CVE-2019-17664
Complete source record
{
"id": "73609c50126f3ec6f340c9adff8a3616fcaa6d164d9eca8db5d0a08e029b04ea",
"url": "https://osv.dev/vulnerability/CVE-2019-17664",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2019-17664",
"summary": "NSA Ghidra through 9.0.4 uses a potentially untrusted search path. When executing Ghidra from a given path, the Java process working directory is set to this path. Then, when launching the Python interpreter via the \"Ghidra Codebrowser > Window > Python\" option, Ghidra will try to execute the cmd.exe program from this working directory.",
"evidence": "osv:CVE-2019-17664",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2019-17664",
"aliases": [
"CVE-2019-17664"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/nationalsecurityagency/ghidra",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "6b4d64a2ac07f154bf1fca307ad99aaa522d41e4"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:nsa:ghidra:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "9.0.4"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"Ghidra_9.0.4_build",
"Ghidra_9.0.3_build",
"Ghidra_9.0.1_build"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-17664.json"
}
}
],
"modified": "2026-10-20T10:52:29.071617882Z",
"provider": "osv",
"references": [
"https://github.com/NationalSecurityAgency/ghidra/issues/107"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2019-17664",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 383668,
"published_at": "2019-10-16T20:15:11.183+00:00"
}