Live threats

All CVEs / Fedoraproject

CVE-2016-0787Fedoraproject Fedora

Medium 5.9 No auth needed

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Fedora.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
fedoraprojectfedora22
fedoraprojectfedora23
opensuseopensuse13.2
libssh2libssh2≤ 1.6.0
debiandebian_linux7.0
debiandebian_linux8.0

Official sources

References

Links published by the sources. Open them with care.