Ojuju Advisory
DEBIAN-CVE-2016-0787 Also known as: CVE-2016-0787
Summary The record has no summary.
Details 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."
Severity Medium Basis: CVSS v3 score 5.9, vector CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Dates Published 2016-04-13 17:59 UTC Modified 2026-09-22 07:00 UTC
Affected packages and fixes libssh2
Debian packages (deb) · Debian 12
Affected introduced 0, fixed 1.5.0-2.1 (ecosystem)
Fixed versions 1.5.0-2.1
Fix This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
libssh2
Debian packages (deb) · Debian 13
Affected introduced 0, fixed 1.5.0-2.1 (ecosystem)
Fixed versions 1.5.0-2.1
Fix This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
libssh2
Debian packages (deb) · Debian 14
Affected introduced 0, fixed 1.5.0-2.1 (ecosystem)
Fixed versions 1.5.0-2.1
Fix This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check →