CVE-2016-0787
Last modified
CVE-2016-0787 is a vulnerability of currently unknown severity. 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.". EPSS estimates a 2.70% chance of exploitation in the next 30 days.
Description
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."
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| 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 |
References
- https://security.gentoo.org/glsa/201606-12Third Party Advisory
- https://www.libssh2.org/adv_20160223.htmlVendor Advisory
- https://security.gentoo.org/glsa/201606-12Third Party Advisory
- https://www.libssh2.org/adv_20160223.htmlVendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2016-0787?
How severe is CVE-2016-0787?
How do I fix CVE-2016-0787?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2016
- CVE-2016-0781The UAA OAuth approval pages in Cloud Foundry v208 to v231, …
- CVE-2016-0782The administration web console in Apache ActiveMQ 5.x before…
- CVE-2016-0783The sendHashByUser function in Apache OpenMeetings before 3.…
- CVE-2016-0784Directory traversal vulnerability in the Import/Export Syste…
- CVE-2016-0785Apache Struts 2.x before 2.3.28 allows remote attackers to e…
- CVE-2016-0786Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
- CVE-2016-0788The remoting module in Jenkins before 1.650 and LTS before 1…
- CVE-2016-0789CRLF injection vulnerability in the CLI command documentatio…
- CVE-2016-0790Jenkins before 1.650 and LTS before 1.642.2 do not use a con…
- CVE-2016-0791Jenkins before 1.650 and LTS before 1.642.2 do not use a con…
- CVE-2016-0792Multiple unspecified API endpoints in Jenkins before 1.650 a…
- CVE-2016-0793Incomplete blacklist vulnerability in the servlet filter res…
Are you affected by CVE-2016-0787?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
