{"id":"CVE-2017-18594","url":"https://www.cyber-defence.io/tools/cve/CVE-2017-18594","generatedAt":"2026-10-28T20:26:30.791Z","title":"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.","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.","published":"2019-08-29T00:15:10.000Z","lastModified":"2026-06-17T01:13:10.000Z","status":"Modified","sourceIdentifier":"cve@mitre.org","cvss":{"version":"3.0","score":7.5,"severity":"HIGH","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},"cwe":["CWE-415"],"affected":["nmap/nmap"],"epss":{"score":0.03164,"percentile":0.87932,"date":"2026-10-27","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"high","text":"High impact if exploited, but EPSS currently rates exploitation as unlikely (3.16%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit."},"changes":[],"references":[{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00073.html","source":"cve@mitre.org"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00075.html","source":"cve@mitre.org"},{"url":"https://github.com/AMatchandaHaystack/Research/blob/master/Nmap%26libsshDF","tags":["Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://github.com/nmap/nmap/commit/350bbe0597d37ad67abe5fef8fba984707b4e9ad","tags":["Patch","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://github.com/nmap/nmap/issues/1077","tags":["Patch","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://github.com/nmap/nmap/issues/1227","tags":["Exploit","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://seclists.org/nmap-announce/2019/0","tags":["Mailing List","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://seclists.org/nmap-dev/2018/q2/45","tags":["Mailing List","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00073.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00075.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/AMatchandaHaystack/Research/blob/master/Nmap%26libsshDF","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/nmap/nmap/commit/350bbe0597d37ad67abe5fef8fba984707b4e9ad","tags":["Patch","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/nmap/nmap/issues/1077","tags":["Patch","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/nmap/nmap/issues/1227","tags":["Exploit","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://seclists.org/nmap-announce/2019/0","tags":["Mailing List","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://seclists.org/nmap-dev/2018/q2/45","tags":["Mailing List","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2017-18594","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}