Original 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.
Affected software
- OpenSSH ≤ 7.2 exact match
Details
- Published
- 2016-08-07
- Last modified
- 2026-06-17
- CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H- CWE
- CWE-20
References
- cve.org/CVE-2016-6515
- nvd.nist.gov/vuln/detail/CVE-2016-6515
- openwall.com/lists/oss-security/2016/08/01/2
- packetstormsecurity.com/files/140070/OpenSSH-7.2-Denial-Of-Service.html
- www.oracle.com/technetwork/security-advisory/cpuoct2017-3236626.html
- www.securityfocus.com/bid/92212
- www.securitytracker.com/id/1036487
- access.redhat.com/errata/RHSA-2017:2029
- cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf
- cert-portal.siemens.com/productcert/pdf/ssa-676336.pdf
- github.com/openssh/openssh-portable/commit/fcd135c9df440bcd2d5870405ad3311743d78d97
- lists.debian.org/debian-lts-announce/2018/09/msg00010.html
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/X...
- security.FreeBSD.org/advisories/FreeBSD-SA-17:06.openssh.asc
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.