VDB

CVE-2016-0787

CVE-2016-0787 PUBLISHED CVSS 5.900000095367432 MEDIUM

Reported by redhat · Published April 13, 2016

libssh2-vc141_xp is fixed in 1.6.0 (NuGet)

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

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
libssh2-vc141_xpNuGet1.6.0
libssh2Alpine1.7.0-r0
libssh2libssh21.6.0

Risk scores

CVSS 3.0
5.900000095367432
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected products

VendorProductVersions
n/an/an/a
NuGetlibssh2-vc141_xp0
alpinelibssh20
n/an/a*

Timeline

  • Mar 10, 2016 CVE Published
  • Feb 4, 2022 EPSS Score (30 in total, the first dated here)
  • Mar 17, 2026 Security Advisory (4 in total, the first dated here)
  • Oct 10, 2026 Coalition ESS Score
  • Oct 31, 2026 Distribution Patch

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2016-0787
vulnetix vdb fixes CVE-2016-0787

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2016-0787/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›