CVE-2016-0787

Summary

CVECVE-2016-0787
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2016-04-13 17:59:00 UTC
Updated2018-10-30 16:27:00 UTC
DescriptionThe 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."

Risk And Classification

Problem Types: CWE-200

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Debian Debian Linux 7.0 All All All
Operating System Debian Debian Linux 8.0 All All All
Operating System Debian Debian Linux 7.0 All All All
Operating System Debian Debian Linux 8.0 All All All
Operating System Fedoraproject Fedora 22 All All All
Operating System Fedoraproject Fedora 23 All All All
Operating System Fedoraproject Fedora 22 All All All
Operating System Fedoraproject Fedora 23 All All All
Application Libssh2 Libssh2 All All All All
Operating System Opensuse Opensuse 13.2 All All All
Operating System Opensuse Opensuse 13.2 All All All

References

ReferenceSourceLinkTags
libssh2 Security Advisory: Truncated Difffie-Hellman secret length CONFIRM www.libssh2.org Vendor Advisory
Broadcom Support Portal CONFIRM bto.bluecoat.com
CVE-2016-0787 - libssh2 Vulnerability | Puppet CONFIRM puppet.com
Debian -- Security Information -- DSA-3487-1 libssh2 DEBIAN www.debian.org
www.libssh2.org/CVE-2016-0787.patch CONFIRM www.libssh2.org Patch
RETIRED: libssh2 'src/kex.c' Security Bypass Vulnerability BID www.securityfocus.com
[SECURITY] Fedora 22 Update: libssh2-1.5.0-2.fc22 FEDORA lists.fedoraproject.org
libssh and libssh2: Multiple vulnerabilities (GLSA 201606-12) — Gentoo security GENTOO security.gentoo.org Third Party Advisory
[SECURITY] Fedora 23 Update: libssh2-1.6.0-4.fc23 FEDORA lists.fedoraproject.org
Oracle Linux Bulletin - January 2016 CONFIRM www.oracle.com
openSUSE-SU-2016:0639-1: moderate: Security update for libssh2_org SUSE lists.opensuse.org
McAfee Security Bulletin: McAfee Web Gateway update fixes multiple vulnerabilities CONFIRM kc.mcafee.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report