CVE-2016-0787Fedoraproject Fedora
Medium 5.9 No auth needed
Follow: this CVE · Fedoraproject · Fedoraproject Fedora We alert you by email or Slack (account required).
- Priority
- 51
- CVSS 3.0
- 5.9
- EPSS
- 2.6% probability of exploitation in 30 days · percentile 86
- Auth required
- No
- Published
- Apr 13, 2016
- Updated
- Jun 17, 2026
- Category
- Operating system · Linux
- Weakness (CWE)
- CWE-200
- Vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
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."
What to do
- Apply the vendor's security update for Fedora.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| fedoraproject | fedora | 22 |
| fedoraproject | fedora | 23 |
| opensuse | opensuse | 13.2 |
| libssh2 | libssh2 | ≤ 1.6.0 |
| debian | debian_linux | 7.0 |
| debian | debian_linux | 8.0 |
Official sources
References
Links published by the sources. Open them with care.
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.opensuse.org
- www.debian.org
- www.oracle.com
- www.securityfocus.com
- bto.bluecoat.com
- kc.mcafee.com
- puppet.com
- security.gentoo.org Third Party Advisory
- www.libssh2.org Patch
- www.libssh2.org Vendor Advisory