CVE-2017-18594
nse_libssh2.cc in Nmap 7.70 is subject to a denial of service condition due to a double free when...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.5
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.
- Record
CVE-2017-18594- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:N/A:P - Weakness
- CWE-415
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2017-18594- Updated
- 2026-11-02
EUVDEUVD-2017-9707 No score
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.
- Record
EUVD-2017-9707- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-mh4c-hqr8-mc3f
7.5
nse_libssh2.cc in Nmap 7.70 is subject to a denial of service condition due to a double free when...
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.
- Record
GHSA-mh4c-hqr8-mc3f- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-415
- Updated
- 2026-11-02
OSVALPINE-CVE-2017-18594
7.5
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.
- Record
ALPINE-CVE-2017-18594- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSV
7.5
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.
- Record
CVE-2017-18594- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 8 moreShow less
OSVDEBIAN-CVE-2017-18594
7.5
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.
- Record
DEBIAN-CVE-2017-18594- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2017-18594
7.5
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.
- Record
UBUNTU-CVE-2017-18594- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVMGASA-2020-0216 No score
Updated nmap packages fix security vulnerability
Updated nmap packages fix security vulnerability:
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 (CVE-2017-18594).
Also, when a server forced a protocol and did not return TLS ALPN extension, this caused an infinite loop.
- Record
MGASA-2020-0216- Updated
- 2026-11-02
OSVopenSUSE-SU-2019:2198-1 No score
Security update for nmap
This update for nmap fixes the following issues:
Security issue fixed:
- CVE-2017-18594: Fixed a denial of service condition due to a double free when an SSH connection fails. (bsc#1148742)
Non-security issue fixed:
- Fixed a regression in the version scanner caused, by the fix for CVE-2018-15173. (bsc#1135350)
This update was imported from the SUSE:SLE-15:Update update project.
- Record
openSUSE-SU-2019:2198-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2019:2200-1 No score
Security update for nmap
This update for nmap fixes the following issues:
Security issue fixed:
- CVE-2017-18594: Fixed a denial of service condition due to a double free when an SSH connection fails. (bsc#1148742)
Non-security issue fixed:
- Fixed a regression in the version scanner caused, by the fix for CVE-2018-15173. (bsc#1135350)
This update was imported from the SUSE:SLE-15:Update update project.
- Record
openSUSE-SU-2019:2200-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:11750-1 No score
ncat-7.92-4.1 on GA media
These are all security issues fixed in the ncat-7.92-4.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:11750-1- Updated
- 2026-11-02
OSVSUSE-SU-2019:2425-1 No score
Security update for nmap
This update for nmap fixes the following issues:
Security issue fixed:
- CVE-2017-18594: Fixed a denial of service condition due to a double free when an SSH connection fails. (bsc#1148742)
Non-security issue fixed:
- Fixed a regression in the version scanner caused, by the fix for CVE-2018-15173. (bsc#1135350)
- Record
SUSE-SU-2019:2425-1- Updated
- 2026-11-02
OSVSUSE-SU-2019:2425-2 No score
Security update for nmap
This update for nmap fixes the following issues:
Security issue fixed:
- CVE-2017-18594: Fixed a denial of service condition due to a double free when an SSH connection fails. (bsc#1148742)
Non-security issue fixed:
- Fixed a regression in the version scanner caused, by the fix for CVE-2018-15173. (bsc#1135350)
- Record
SUSE-SU-2019:2425-2- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
nmapAlpine:v3.10 |
before 7.70-r4 | 7.70-r4 |
nmapAlpine:v3.11 |
before 7.80-r0 | 7.80-r0 |
nmapAlpine:v3.12 |
before 7.80-r0 | 7.80-r0 |
nmapAlpine:v3.13 |
before 7.80-r0 | 7.80-r0 |
nmapAlpine:v3.14 |
before 7.80-r0 | 7.80-r0 |
nmapAlpine:v3.15 |
before 7.80-r0 | 7.80-r0 |
nmapAlpine:v3.16 |
before 7.80-r0 | 7.80-r0 |
nmapAlpine:v3.17 |
before 7.80-r0 | 7.80-r0 |
nmapAlpine:v3.18 |
before 7.80-r0 | 7.80-r0 |
nmapAlpine:v3.19 |
before 7.80-r0 | 7.80-r0 |
Show 24 moreShow less
| Package | Affected | Fixed |
|---|---|---|
nmapAlpine:v3.20 |
before 7.80-r0 | 7.80-r0 |
nmapAlpine:v3.21 |
before 7.80-r0 | 7.80-r0 |
nmapAlpine:v3.22 |
before 7.80-r0 | 7.80-r0 |
nmapAlpine:v3.23 |
before 7.80-r0 | 7.80-r0 |
nmapAlpine:v3.24 |
before 7.80-r0 | 7.80-r0 |
nmapAlpine:v3.7 |
before 7.60-r3 | 7.60-r3 |
nmapAlpine:v3.8 |
before 7.70-r2 | 7.70-r2 |
nmapAlpine:v3.9 |
before 7.70-r4 | 7.70-r4 |
nmapDebian:12 |
before 7.80+dfsg1-1 | 7.80+dfsg1-1 |
nmapDebian:13 |
before 7.80+dfsg1-1 | 7.80+dfsg1-1 |
nmapDebian:14 |
before 7.80+dfsg1-1 | 7.80+dfsg1-1 |
nmapMageia:7 |
before 7.70-2.2.mga7 | 7.70-2.2.mga7 |
nmapSUSE:Linux Enterprise Module for Basesystem 15 From an advisory covering 2 CVEs |
before 7.70-3.12.1 | 7.70-3.12.1 |
nmapSUSE:Linux Enterprise Module for Basesystem 15 SP1 From an advisory covering 2 CVEs |
before 7.70-3.12.1 | 7.70-3.12.1 |
nmapSUSE:Linux Enterprise Module for Package Hub 15 From an advisory covering 2 CVEs |
before 7.70-3.12.1 | 7.70-3.12.1 |
nmapSUSE:Linux Enterprise Module for Basesystem 15 SP2 From an advisory covering 2 CVEs |
before 7.70-3.12.1 | 7.70-3.12.1 |
nmapSUSE:Linux Enterprise Module for Package Hub 15 SP1 From an advisory covering 2 CVEs |
before 7.70-3.12.1 | 7.70-3.12.1 |
nmapSUSE:Linux Enterprise Module for Package Hub 15 SP2 From an advisory covering 2 CVEs |
before 7.70-3.12.1 | 7.70-3.12.1 |
nmapUbuntu:14.04:LTS |
All versions, plus listed versions 6.40-0.1ubuntu16.40-0.2ubuntu1 |
None known |
nmapUbuntu:16.04:LTS |
All versions, plus listed versions 6.47-77.01-2ubuntu17.01-2ubuntu2 |
None known |
nmapUbuntu:18.04:LTS |
All versions, plus listed versions 7.60-1ubuntu17.60-1ubuntu27.60-1ubuntu37.60-1ubuntu47.60-1ubuntu5 |
None known |
nmapopenSUSE:Leap 15.0 From an advisory covering 2 CVEs |
before 7.70-lp150.2.9.1 | 7.70-lp150.2.9.1 |
nmapopenSUSE:Leap 15.1 From an advisory covering 2 CVEs |
before 7.70-lp151.3.9.1 | 7.70-lp151.3.9.1 |
nmapopenSUSE:Tumbleweed |
before 7.92-4.1 | 7.92-4.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2017-18594 is a high vulnerability (CVSS 7.5) in Nmap, published August 28, 2019. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.16%, the 88th percentile. Fixed in nmap 7.70-r4.
References
seclists.org/nmap-dev/2018/q2/45
github.com/nmap/nmap/issues/1227
github.com/nmap/nmap/commit/350bbe0597d37ad67abe5fef8fba984707b4e9ad
github.com/nmap/nmap/issues/1077
github.com/AMatchandaHaystack/Research/blob/master/Nmap%26libsshDF
seclists.org/nmap-announce/2019/0
Show 20 moreShow less
lists.opensuse.org/opensuse-security-announce/2019-09/msg00073.html
lists.opensuse.org/opensuse-security-announce/2019-09/msg00075.html
nvd.nist.gov/vuln/detail/CVE-2017-18594
github.com/advisories/GHSA-mh4c-hqr8-mc3f
security.alpinelinux.org/vuln/CVE-2017-18594
security-tracker.debian.org/tracker/CVE-2017-18594
advisories.mageia.org/MGASA-2020-0216.html
bugs.mageia.org/show_bug.cgi?id=25770
github.com/nmap/nmap/commit/3b8b6516a7697d8b6d4cd87e253daa369fcdbf2a
lists.opensuse.org/opensuse-updates/2019-09/msg00156.html
suse.com/support/update/announcement/2019/suse-su-20192425-1
bugzilla.suse.com/1135350
bugzilla.suse.com/1148742
suse.com/security/cve/CVE-2017-18594
suse.com/security/cve/CVE-2018-15173
suse.com/support/update/announcement/2019/suse-su-20192425-2
ubuntu.com/security/CVE-2017-18594
cve.org/CVERecord?id=CVE-2017-18594
lists.opensuse.org/archives/list/[email protected]/thread/VUNKFOGQTN5AMFYPDWGM7FZRRQTMWEKH
lists.opensuse.org/archives/list/[email protected]/thread/QH6AWULXISQ4CGTZ5RSPEKBLMWHOAMFF