CVE-2016-0787
medium
CVSS v3
5.9
CVSS v4 NEW
โ
VIR risk
5.9
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."
Predictions
Exploit likelihood
69%
Patch ETA
โ
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| debian | bookworm | fixed | 1.5.0-2.1 |
| debian | bullseye | fixed | 1.5.0-2.1 |
| debian | forky | fixed | 1.5.0-2.1 |
| debian | sid | fixed | 1.5.0-2.1 |
| debian | trixie | fixed | 1.5.0-2.1 |
| suse | 13.2 | affected | |
| debian | 7.0 | affected | |
| debian | 8.0 | affected | |
| fedora | 22 | affected | |
| fedora | 23 | affected | |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| libssh2 | libssh2 | {"endIncluding":"1.6.0"} | |
References
- http://lists.fedoraproject.org/pipermail/package-announce/2016-February/177980.html
- http://lists.fedoraproject.org/pipermail/package-announce/2016-March/178573.html
- http://lists.opensuse.org/opensuse-updates/2016-03/msg00008.html
- http://www.debian.org/security/2016/dsa-3487
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html
- http://www.securityfocus.com/bid/82514
- https://bto.bluecoat.com/security-advisory/sa120
- https://kc.mcafee.com/corporate/index?page=content&id=SB10156
- https://puppet.com/security/cve/CVE-2016-0787
- https://security.gentoo.org/glsa/201606-12
- https://www.libssh2.org/CVE-2016-0787.patch
- https://www.libssh2.org/adv_20160223.html
- https://security-tracker.debian.org/tracker/CVE-2016-0787
CWEs
CWE-200
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.