Bits/Bytes Confusion Bug in libssh2's diffie_hellman_sha256 Function

Bits/Bytes Confusion Bug in libssh2's diffie_hellman_sha256 Function

CVE-2016-0787 · MEDIUM Severity

AV:N/AC:M/AU:N/C:P/I:N/A:N

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."

Learn more about our Web Application Penetration Testing UK.