{"api_version":"1","generated_at":"2026-06-29T21:15:18+00:00","cve":"CVE-2017-18594","urls":{"html":"https://cve.report/CVE-2017-18594","api":"https://cve.report/api/cve/CVE-2017-18594.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2017-18594","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2017-18594"},"summary":{"title":"CVE-2017-18594","description":"nse_libssh2.cc in Nmap 7.70 is subject to a denial of service condition due to a double free when an SSH connection fails, as demonstrated by a leading \\n character to ssh-brute.nse or ssh-auth-methods.nse.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2019-08-29 00:15:00","updated_at":"2019-09-26 12:15:00"},"problem_types":["CWE-415"],"metrics":[],"references":[{"url":"https://github.com/nmap/nmap/commit/350bbe0597d37ad67abe5fef8fba984707b4e9ad","name":"https://github.com/nmap/nmap/commit/350bbe0597d37ad67abe5fef8fba984707b4e9ad","refsource":"MISC","tags":["Patch","Third Party Advisory"],"title":"Avoid a crash (double-free) when SSH connection fails · nmap/nmap@350bbe0 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://seclists.org/nmap-announce/2019/0","name":"https://seclists.org/nmap-announce/2019/0","refsource":"MISC","tags":["Mailing List","Third Party Advisory"],"title":"Nmap Announce: Nmap Defcon Release! 80+ improvements include new NSE scripts/libs, new Npcap, etc.","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/nmap/nmap/issues/1077","name":"https://github.com/nmap/nmap/issues/1077","refsource":"MISC","tags":["Patch","Third Party Advisory"],"title":"NMAP crash with ssh-auth-methods.nse (patch included) · Issue #1077 · nmap/nmap · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://seclists.org/nmap-dev/2018/q2/45","name":"https://seclists.org/nmap-dev/2018/q2/45","refsource":"MISC","tags":["Mailing List","Third Party Advisory"],"title":"Nmap Development: Crash in libssh with certain SSH scripts","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/AMatchandaHaystack/Research/blob/master/Nmap%26libsshDF","name":"https://github.com/AMatchandaHaystack/Research/blob/master/Nmap%26libsshDF","refsource":"MISC","tags":["Third Party Advisory"],"title":"Research/Nmap&libsshDF at master · AMatchandaHaystack/Research · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00073.html","name":"openSUSE-SU-2019:2198","refsource":"SUSE","tags":[],"title":"[security-announce] openSUSE-SU-2019:2198-1: important: Security update","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/nmap/nmap/issues/1227","name":"https://github.com/nmap/nmap/issues/1227","refsource":"MISC","tags":["Exploit","Third Party Advisory"],"title":"Crash in libssh when port 22 response is unexpected · Issue #1227 · nmap/nmap · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00075.html","name":"openSUSE-SU-2019:2200","refsource":"SUSE","tags":[],"title":"[security-announce] openSUSE-SU-2019:2200-1: important: Security update","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-18594","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-18594","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2017","cve_id":"18594","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"nmap","cpe5":"nmap","cpe6":"7.70","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2017","cve_id":"18594","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"nmap","cpe5":"nmap","cpe6":"7.70","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2017-18594","qid":"500431","title":"Alpine Linux Security Update for nmap"},{"cve":"CVE-2017-18594","qid":"504194","title":"Alpine Linux Security Update for nmap"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2017-18594","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":"nse_libssh2.cc in Nmap 7.70 is subject to a denial of service condition due to a double free when an SSH connection fails, as demonstrated by a leading \\n character to ssh-brute.nse or ssh-auth-methods.nse."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"url":"https://seclists.org/nmap-dev/2018/q2/45","refsource":"MISC","name":"https://seclists.org/nmap-dev/2018/q2/45"},{"url":"https://github.com/nmap/nmap/issues/1227","refsource":"MISC","name":"https://github.com/nmap/nmap/issues/1227"},{"url":"https://github.com/nmap/nmap/commit/350bbe0597d37ad67abe5fef8fba984707b4e9ad","refsource":"MISC","name":"https://github.com/nmap/nmap/commit/350bbe0597d37ad67abe5fef8fba984707b4e9ad"},{"url":"https://github.com/nmap/nmap/issues/1077","refsource":"MISC","name":"https://github.com/nmap/nmap/issues/1077"},{"url":"https://github.com/AMatchandaHaystack/Research/blob/master/Nmap%26libsshDF","refsource":"MISC","name":"https://github.com/AMatchandaHaystack/Research/blob/master/Nmap%26libsshDF"},{"url":"https://seclists.org/nmap-announce/2019/0","refsource":"MISC","name":"https://seclists.org/nmap-announce/2019/0"},{"refsource":"SUSE","name":"openSUSE-SU-2019:2198","url":"http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00073.html"},{"refsource":"SUSE","name":"openSUSE-SU-2019:2200","url":"http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00075.html"}]}},"nvd":{"publishedDate":"2019-08-29 00:15:00","lastModifiedDate":"2019-09-26 12:15:00","problem_types":["CWE-415"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.0","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:N/I:N/A:P","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"PARTIAL","baseScore":5},"severity":"MEDIUM","exploitabilityScore":10,"impactScore":2.9,"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:nmap:nmap:7.70:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2017","CveId":"18594","Ordinal":"155313","Title":"CVE-2017-18594","CVE":"CVE-2017-18594","Year":"2017"},"notes":[{"CveYear":"2017","CveId":"18594","Ordinal":"1","NoteData":"nse_libssh2.cc in Nmap 7.70 is subject to a denial of service condition due to a double free when an SSH connection fails, as demonstrated by a leading \\n character to ssh-brute.nse or ssh-auth-methods.nse.","Type":"Description","Title":null},{"CveYear":"2017","CveId":"18594","Ordinal":"2","NoteData":"2019-08-28","Type":"Other","Title":"Published"},{"CveYear":"2017","CveId":"18594","Ordinal":"3","NoteData":"2019-09-26","Type":"Other","Title":"Modified"}]}}}