CVE-2016-0787: Infoleak

Published Apr 13, 2016
·
Updated

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

Affected Software

6 affected components
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

Event History

Apr 13, 2016
CVE Published
via MITRE·05:00 PM
Data Sourced
via MITRE·05:00 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2016-0787?

CVE-2016-0787 is considered to have a high severity due to its potential impact on SSH session confidentiality.

2

How do I fix CVE-2016-0787?

To fix CVE-2016-0787, upgrade to libssh2 version 1.7.0 or later, and ensure you are using secure cryptographic settings.

3

What software is affected by CVE-2016-0787?

CVE-2016-0787 affects libssh2 versions up to 1.6.0 and multiple Linux distributions including Fedora 22, Fedora 23, openSUSE 13.2, and Debian 7.0 or 8.0.

4

What types of attacks does CVE-2016-0787 expose systems to?

CVE-2016-0787 makes systems vulnerable to man-in-the-middle attacks that can lead to session decryption or interception.

5

Is CVE-2016-0787 a critical vulnerability?

While not classified as critical, CVE-2016-0787 poses a significant risk due to its exploitation potential affecting SSH communications.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203