← Vulnerability feed

Vulnerability record · CVE-2016-6515 · published 7 August 2016

CVE-2016-6515: OpenSSH sshd password auth lacks length limit, enabling crypt CPU DoS

Openbsd · Openssh

The auth_password function in auth-passwd.c in sshd in OpenSSH before 7.3 does not limit password lengths for password authentication. A remote attacker can send an arbitrarily long password string, forcing the server to spend excessive CPU in the crypt hashing routine. This is an improper input validation flaw (CWE-20) that degrades or denies SSH service availability.

7.5 CVSS 3.0 High EPSS 59% · top 0.9% CWE-20 · Improper input validation
7.5CVSS 3.0 base score, v2 7.8
59%EPSS exploitation probability, 30 days
NoNot in CISA KEV
2Affected product versions listed by NVD
30References
17 Jun 2026Last modified by NVD

Description

The auth_password function in auth-passwd.c in sshd in OpenSSH before 7.3 does not limit password lengths for password authentication, which allows remote attackers to cause a denial of service (crypt CPU consumption) via a long string.

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 19 September 2026. Confidence: high.

high priorityRemote, unauthenticated, low-complexity availability impact with public exploit code and very high EPSS, though it is not in KEV and only causes denial of service.

What it is

The auth_password function in auth-passwd.c in sshd in OpenSSH before 7.3 does not limit password lengths for password authentication. A remote attacker can send an arbitrarily long password string, forcing the server to spend excessive CPU in the crypt hashing routine. This is an improper input validation flaw (CWE-20) that degrades or denies SSH service availability.

Impact

An attacker can consume crypt CPU resources on the SSH daemon, causing a denial of service that slows or blocks legitimate SSH logins. There is no confidentiality or integrity impact; only availability is affected.

Attack surface

Reachable over the network against sshd when password authentication is enabled, per the CVSS vector AV:N/AC:L/PR:N/UI:N. No authentication or user interaction is required, since the long password is submitted during the authentication attempt itself.

Exploitation

Not listed in CISA KEV, but EPSS is high (0.58568, 99th percentile) and a public Exploit-DB entry (40888) plus a Packet Storm writeup exist, indicating exploit code is publicly available.

What to do

  • Upgrade OpenSSH to 7.3 or later, or apply the vendor patch (commit fcd135c9df440bcd2d5870405ad3311743d78d97) and distribution errata such as RHSA-2017:2029.
  • Disable password authentication in sshd_config and require key-based authentication where operationally feasible.
  • Limit SSH exposure with firewall rules, network ACLs or a jump host so only trusted sources can reach port 22.
  • Apply rate limiting or connection throttling on SSH to blunt repeated authentication attempts.

Detection

  • Monitor sshd logs for authentication failures with unusually large or malformed password inputs.
  • Alert on sustained high CPU usage in sshd processes, especially correlated with repeated connection attempts from a single source.
  • Baseline and track SSH authentication request sizes and rates per source IP for anomalies.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://openwall.com/lists/oss-security/2016/08/01/2 Third Party AdvisoryVDB Entry
http://packetstormsecurity.com/files/140070/OpenSSH-7.2-Denial-Of-Service.html
http://www.oracle.com/technetwork/security-advisory/cpuoct2017-3236626.html
http://www.securityfocus.com/bid/92212
http://www.securitytracker.com/id/1036487
https://access.redhat.com/errata/RHSA-2017:2029
https://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf
https://cert-portal.siemens.com/productcert/pdf/ssa-676336.pdf
https://github.com/openssh/openssh-portable/commit/fcd135c9df440bcd2d5870405ad3311743d78d97 Issue TrackingPatch
https://lists.debian.org/debian-lts-announce/2018/09/msg00010.html
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/X2L6RW34VFNXYNVVN2CN73Y
https://security.FreeBSD.org/advisories/FreeBSD-SA-17:06.openssh.asc
https://security.netapp.com/advisory/ntap-20171130-0003/
https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbhf03779en_us
https://www.exploit-db.com/exploits/40888/
http://openwall.com/lists/oss-security/2016/08/01/2 Third Party AdvisoryVDB Entry
http://packetstormsecurity.com/files/140070/OpenSSH-7.2-Denial-Of-Service.html
http://www.oracle.com/technetwork/security-advisory/cpuoct2017-3236626.html
http://www.securityfocus.com/bid/92212
http://www.securitytracker.com/id/1036487
https://access.redhat.com/errata/RHSA-2017:2029
https://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf
https://cert-portal.siemens.com/productcert/pdf/ssa-676336.pdf
https://github.com/openssh/openssh-portable/commit/fcd135c9df440bcd2d5870405ad3311743d78d97 Issue TrackingPatch
https://lists.debian.org/debian-lts-announce/2018/09/msg00010.html
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/X2L6RW34VFNXYNVVN2CN73Y
https://security.FreeBSD.org/advisories/FreeBSD-SA-17:06.openssh.asc
https://security.netapp.com/advisory/ntap-20171130-0003/
https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbhf03779en_us
https://www.exploit-db.com/exploits/40888/

Track CVE-2016-6515 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2021-44228Apache Log4j2 JNDI lookup remote code executionApache Log4j2 versions 2.0-beta9 through 2.15.0 (excluding 2.12.2, 2.12.3, and 2.3.1) do not protect against attacker-controlled LDAP and other JNDI …KEVEPSS 100%analysed9.8CVE-2024-4577PHP-CGI on Windows argument injection leads to remote code executionPHP-CGI on Windows can misinterpret characters in the command line passed to Win32 API functions when certain code pages are configured, due to Windo…KEVEPSS 100%analysed9.8CVE-2021-44026Roundcube Webmail SQL injection via search parametersRoundcube Webmail before 1.3.17 and 1.4.x before 1.4.12 is prone to SQL injection through the search or search_params input. The flaw is remotely rea…KEVEPSS 70%analysed9.8CVE-2021-42013Apache HTTP Server path traversal and RCE via incomplete fixThe fix for CVE-2021-41773 in Apache HTTP Server 2.4.50 was insufficient, leaving a path traversal flaw that lets attackers map URLs to files outside…KEVEPSS 100%analysed9.8CVE-2021-41773Apache HTTP Server 2.4.49 path traversal and RCEA path normalization flaw introduced in Apache HTTP Server 2.4.49 lets attackers map URLs to files outside directories configured by Alias-like direc…KEVEPSS 100%analysed9.8CVE-2021-1870Apple WebKit logic flaw allows remote code executionA logic issue in Apple's WebKit was addressed with improved restrictions, affecting macOS Big Sur, Catalina, Mojave, iOS and iPadOS, plus WebKitGTK a…KEVEPSS 7.7%analysed9.8CVE-2021-1871Apple WebKit logic flaw allows remote code executionA logic issue in Apple's WebKit was addressed with improved restrictions. It affects macOS Big Sur, Catalina, Mojave, iOS and iPadOS, and a remote at…KEVEPSS 7.0%analysed9.8CVE-2020-16846SaltStack Salt API shell injection via crafted web requestsSaltStack Salt through 3002 is vulnerable to OS command injection when the SSH client is enabled and crafted web requests are sent to the Salt API. T…KEVEPSS 100%analysed

Source: NIST National Vulnerability Database (record CVE-2016-6515), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.