CVE-2016-0787
MEDIUM5.9EPSS 3.1%libssh2 - security update
Published: 4/13/2016Modified: 11/19/2025
Also known as:ALPINE-CVE-2016-0787DEBIAN-CVE-2016-0787DLA-426-1
Description
The diffie_hellman_sha256 function in kex.c in libssh2 before 1.7.0 improperly truncates secrets to 128 or 256 bits, which makes it easier for man-in-the-middle attackers to decrypt or intercept SSH sessions via unspecified vectors, aka a "bits/bytes confusion bug."
Affected packages (4)
- Alpine/libssh2from 0, < 1.7.0-r0
- Debian/libssh2from 0, < 1.5.0-2.1
- Debian/libssh2from 0, < 1.2.6-1+deb6u2
- Debian/libssh2from 0, < 1.4.2-1.1+deb7u2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.9 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |