Every CVE Search/ Get API key

CVE-2017-18594

nse_libssh2.cc in Nmap 7.70 is subject to a denial of service condition due to a double free when...

7.5 HighFix available

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

3.16%Up 0.9 points since Apr 14, 2021
90%50%10%1%

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 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.0
5.0 MediumAV: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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

Affected packages
PackageAffectedFixed
nmap
Alpine:v3.10
before 7.70-r4
7.70-r4
nmap
Alpine:v3.11
before 7.80-r0
7.80-r0
nmap
Alpine:v3.12
before 7.80-r0
7.80-r0
nmap
Alpine:v3.13
before 7.80-r0
7.80-r0
nmap
Alpine:v3.14
before 7.80-r0
7.80-r0
nmap
Alpine:v3.15
before 7.80-r0
7.80-r0
nmap
Alpine:v3.16
before 7.80-r0
7.80-r0
nmap
Alpine:v3.17
before 7.80-r0
7.80-r0
nmap
Alpine:v3.18
before 7.80-r0
7.80-r0
nmap
Alpine:v3.19
before 7.80-r0
7.80-r0
Show 24 moreShow less
Affected packages
PackageAffectedFixed
nmap
Alpine:v3.20
before 7.80-r0
7.80-r0
nmap
Alpine:v3.21
before 7.80-r0
7.80-r0
nmap
Alpine:v3.22
before 7.80-r0
7.80-r0
nmap
Alpine:v3.23
before 7.80-r0
7.80-r0
nmap
Alpine:v3.24
before 7.80-r0
7.80-r0
nmap
Alpine:v3.7
before 7.60-r3
7.60-r3
nmap
Alpine:v3.8
before 7.70-r2
7.70-r2
nmap
Alpine:v3.9
before 7.70-r4
7.70-r4
nmap
Debian:12
before 7.80+dfsg1-1
7.80+dfsg1-1
nmap
Debian:13
before 7.80+dfsg1-1
7.80+dfsg1-1
nmap
Debian:14
before 7.80+dfsg1-1
7.80+dfsg1-1
nmap
Mageia:7
before 7.70-2.2.mga7
7.70-2.2.mga7
nmap
SUSE:Linux Enterprise Module for Basesystem 15
From an advisory covering 2 CVEs
before 7.70-3.12.1
7.70-3.12.1
nmap
SUSE:Linux Enterprise Module for Basesystem 15 SP1
From an advisory covering 2 CVEs
before 7.70-3.12.1
7.70-3.12.1
nmap
SUSE:Linux Enterprise Module for Package Hub 15
From an advisory covering 2 CVEs
before 7.70-3.12.1
7.70-3.12.1
nmap
SUSE:Linux Enterprise Module for Basesystem 15 SP2
From an advisory covering 2 CVEs
before 7.70-3.12.1
7.70-3.12.1
nmap
SUSE: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
nmap
SUSE: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
nmap
Ubuntu:14.04:LTS
All versions, plus listed versions
6.40-0.1ubuntu16.40-0.2ubuntu1
None known
nmap
Ubuntu:16.04:LTS
All versions, plus listed versions
6.47-77.01-2ubuntu17.01-2ubuntu2
None known
nmap
Ubuntu:18.04:LTS
All versions, plus listed versions
7.60-1ubuntu17.60-1ubuntu27.60-1ubuntu37.60-1ubuntu47.60-1ubuntu5
None known
nmap
openSUSE:Leap 15.0
From an advisory covering 2 CVEs
before 7.70-lp150.2.9.1
7.70-lp150.2.9.1
nmap
openSUSE:Leap 15.1
From an advisory covering 2 CVEs
before 7.70-lp151.3.9.1
7.70-lp151.3.9.1
nmap
openSUSE:Tumbleweed
before 7.92-4.1
7.92-4.1

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE 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

Show 20 moreShow less
MoveEnter Open