Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2016-0787

17
FAUCET Score

CVE-2016-0787 describes a vulnerability in libssh2 versions prior to 1.7.0, specifically within the diffie_hellman_sha256 function, where secrets are improperly truncated. This "bits/bytes confusion bug" affects products like Debian, Fedora, and openSUSE, making SSH sessions vulnerable to man-in-the-middle attacks. With a CVSS score of 5.9 (Medium), the vulnerability has a network attack vector and high confidentiality impact, but requires high attack complexity. There is no evidence of active exploitation, public exploit code (Metasploit, Nuclei, ExploitDB), or significant community discussion or media coverage surrounding this CVE.

Impacted Technologies

VendorProductVersion(s)CPE
22CPE matchmatch criteria
cpe:2.3:o:fedoraproject:fedora:22:*:*:*:*:*:*:*
23CPE matchmatch criteria
cpe:2.3:o:fedoraproject:fedora:23:*:*:*:*:*:*:*
13.2CPE matchmatch criteria
cpe:2.3:o:opensuse:opensuse:13.2:*:*:*:*:*:*:*
<= 1.6.0CPE matchmatch criteria
cpe:2.3:a:libssh2:libssh2:*:*:*:*:*:*:*:*
7.0CPE matchmatch criteria
cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 3.0

5.9MEDIUM

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

Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
NONE
Availability Impact
NONE
Exploitability Score
2.2
Impact Score
3.6
CvssVersion
3.0

Exploit Intelligence

EPSS Score
2.70%
Probability of exploitation in next 30 days
EPSS Percentile
84.4%
Percentile rank of EPSS score among Peer Group
As of 2026-07-25
Model: v2026.06.15
This CVE's current EPSS score of 0.0270 is in the 76th percentile among its peer group of 19,955 CVEs.

Social Chatter

No social media mentions found for this CVE.

The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.0 Bluesky, 0.0 Mastodon, and 0.2 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.0 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (2)

redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 6Fixed in: libssh2-0:1.4.2-2.el6_7.1
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 7Fixed in: libssh2-0:1.4.3-10.el7_2.1
View patch

Vendor Advisories (1)

redhatCVE-2016-0787Moderate

libssh2: bits/bytes confusion resulting in truncated Diffie-Hellman secret length

Feb 23, 2016

References

lists.fedoraproject.org / pipermail/package-announce/2016-February/177980.html
lists.fedoraproject.org / pipermail/package-announce/2016-March/178573.html
lists.opensuse.org / opensuse-updates/2016-03/msg00008.html
bto.bluecoat.com / security-advisory/sa120
kc.mcafee.com / corporate/index
puppet.com / security/cve/CVE-2016-0787
security.gentoo.org / glsa/201606-12
Third Party Advisory
libssh2.org / adv_20160223.html
Vendor Advisory
libssh2.org / CVE-2016-0787.patch
Patch
debian.org / security/2016/dsa-3487
oracle.com / technetwork/topics/security/linuxbulletinjan2016-2867209.html
securityfocus.com / bid/82514