cbcvebase.
CVE-2016-0787
published 2016-04-13

CVE-2016-0787: 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…

PriorityP430medium5.9CVSS 3.0
AVNACHPRNUINSUCHINAN
EPSS
2.70%
84.3th percentile
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

11 ranges
VendorProductVersion rangeFixed in
debiandebian_linux
debiandebian_linux
debianlibssh2< libssh2 1.5.0-2.1 (bookworm)libssh2 1.5.0-2.1 (bookworm)
fedoraprojectfedora
fedoraprojectfedora
libssh2libssh2<= 1.6.0
libssh2libssh2>= 0 < 1.5.0-2.11.5.0-2.1
libssh2libssh2>= 0 < 1.5.0-2.11.5.0-2.1
libssh2libssh2>= 0 < 1.5.0-2.11.5.0-2.1
libssh2libssh2>= 0 < 1.5.0-2.11.5.0-2.1
opensuseopensuse

CVSS provenance

nvdv3.05.9MEDIUMCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:P/I:N/A:N
osv5.9MEDIUM
vendor_debian5.9MEDIUM
vendor_redhat5.9MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.