CVE-2016-0787
Publication date 13 April 2016
Last updated 25 August 2025
Ubuntu priority
Cvss 3 Severity Score
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."
Status
| Package | Ubuntu Release | Status |
|---|---|---|
| libssh2 | ||
| 16.04 LTS xenial |
Fixed 1.5.0-2ubuntu0.1
|
|
| 14.04 LTS trusty |
Fixed 1.4.3-2ubuntu0.1
|
|
Notes
Severity score breakdown
| Parameter | Value |
|---|---|
| Base score |
|
| Attack vector | Network |
| Attack complexity | High |
| Privileges required | None |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality | High |
| Integrity impact | None |
| Availability impact | None |
| Vector | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |