CVE-2016-0739
publishedlibssh: bits/bytes confusion resulting in truncated Difffie-Hellman secret length
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | redhat |
| Debian | jessie | libssh | Advisory build | 0.6.3-4+deb8u2 | DSA-3488-1 |
| SUSE / openSUSE | SLE-11-SP4 | libssh-develi586 | Advisory build | 0.2-5.22.1 | SUSE-SU-2016:0622-1 |
| Ubuntu | trusty | libssh | Advisory build | 0.6.1-0ubuntu3.3 | USN-2912-1 |
| Debian | squeeze | libssh | Advisory build | 0.4.5-3+squeeze3 | DLA-425-1 |
| Debian | wheezy | libssh | Advisory build | 0.5.4-1+deb7u3 | DSA-3488-1 |
| SUSE / openSUSE | SLE-11-SP4 | libssh-develia64 | Advisory build | 0.2-5.22.1 | SUSE-SU-2016:0622-1 |
| SUSE / openSUSE | SLE-11-SP4 | libssh-develppc64 | Advisory build | 0.2-5.22.1 | SUSE-SU-2016:0622-1 |
Show 28 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-11-SP4 | libssh-devels390x | Advisory build | 0.2-5.22.1 | SUSE-SU-2016:0622-1 |
| SUSE / openSUSE | SLE-11-SP4 | libssh-develx86_64 | Advisory build | 0.2-5.22.1 | SUSE-SU-2016:0622-1 |
| SUSE / openSUSE | SLE-11-SP4 | libssh-devel-doci586 | Advisory build | 0.2-5.22.1 | SUSE-SU-2016:0622-1 |
| SUSE / openSUSE | SLE-11-SP4 | libssh-devel-docx86_64 | Advisory build | 0.2-5.22.1 | SUSE-SU-2016:0622-1 |
| SUSE / openSUSE | SLE-11-SP4 | libssh2i586 | Advisory build | 0.2-5.22.1 | SUSE-SU-2016:0622-1 |
| SUSE / openSUSE | SLE-11-SP4 | libssh2ia64 | Advisory build | 0.2-5.22.1 | SUSE-SU-2016:0622-1 |
| SUSE / openSUSE | SLE-11-SP4 | libssh2ppc64 | Advisory build | 0.2-5.22.1 | SUSE-SU-2016:0622-1 |
| SUSE / openSUSE | SLE-11-SP4 | libssh2s390x | Advisory build | 0.2-5.22.1 | SUSE-SU-2016:0622-1 |
| SUSE / openSUSE | SLE-11-SP4 | libssh2x86_64 | Advisory build | 0.2-5.22.1 | SUSE-SU-2016:0622-1 |
| SUSE / openSUSE | SLE-12 | libssh-develppc64le | Advisory build | 0.6.3-11.1 | SUSE-SU-2016:0625-1 |
| SUSE / openSUSE | SLE-12 | libssh-devels390x | Advisory build | 0.6.3-11.1 | SUSE-SU-2016:0625-1 |
| SUSE / openSUSE | SLE-12 | libssh-develx86_64 | Advisory build | 0.6.3-11.1 | SUSE-SU-2016:0625-1 |
| SUSE / openSUSE | SLE-12 | libssh-devel-docppc64le | Advisory build | 0.6.3-11.1 | SUSE-SU-2016:0625-1 |
| SUSE / openSUSE | SLE-12 | libssh-devel-docs390x | Advisory build | 0.6.3-11.1 | SUSE-SU-2016:0625-1 |
| SUSE / openSUSE | SLE-12 | libssh-devel-docx86_64 | Advisory build | 0.6.3-11.1 | SUSE-SU-2016:0625-1 |
| SUSE / openSUSE | SLE-12 | libssh4ppc64le | Advisory build | 0.6.3-11.1 | SUSE-SU-2016:0625-1 |
| SUSE / openSUSE | SLE-12 | libssh4s390x | Advisory build | 0.6.3-11.1 | SUSE-SU-2016:0625-1 |
| SUSE / openSUSE | SLE-12 | libssh4x86_64 | Advisory build | 0.6.3-11.1 | SUSE-SU-2016:0625-1 |
| SUSE / openSUSE | SLE-12-SP1 | libssh-develppc64le | Advisory build | 0.6.3-11.1 | SUSE-SU-2016:0625-1 |
| SUSE / openSUSE | SLE-12-SP1 | libssh-devels390x | Advisory build | 0.6.3-11.1 | SUSE-SU-2016:0625-1 |
| SUSE / openSUSE | SLE-12-SP1 | libssh-develx86_64 | Advisory build | 0.6.3-11.1 | SUSE-SU-2016:0625-1 |
| SUSE / openSUSE | SLE-12-SP1 | libssh-devel-docppc64le | Advisory build | 0.6.3-11.1 | SUSE-SU-2016:0625-1 |
| SUSE / openSUSE | SLE-12-SP1 | libssh-devel-docs390x | Advisory build | 0.6.3-11.1 | SUSE-SU-2016:0625-1 |
| SUSE / openSUSE | SLE-12-SP1 | libssh-devel-docx86_64 | Advisory build | 0.6.3-11.1 | SUSE-SU-2016:0625-1 |
| SUSE / openSUSE | SLE-12-SP1 | libssh4ppc64le | Advisory build | 0.6.3-11.1 | SUSE-SU-2016:0625-1 |
| SUSE / openSUSE | SLE-12-SP1 | libssh4s390x | Advisory build | 0.6.3-11.1 | SUSE-SU-2016:0625-1 |
| SUSE / openSUSE | SLE-12-SP1 | libssh4x86_64 | Advisory build | 0.6.3-11.1 | SUSE-SU-2016:0625-1 |
| Ubuntu | trusty | libssh-4 | Advisory build | 0.6.1-0ubuntu3.3 | USN-2912-1 |
Description
libssh before 0.7.3 improperly truncates ephemeral secrets generated for the (1) diffie-hellman-group1 and (2) diffie-hellman-group14 key exchange methods to 128 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."
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | redhat · cna |
Weaknesses
1- n/a
References
10- FEDORA-2016-d9f950c779 http://lists.fedoraproject.org/pipermail/package-announce/2016-February/178058.html
- FEDORA-2016-dc9e8da03c http://lists.fedoraproject.org/pipermail/package-announce/2016-March/178822.html
- openSUSE-SU-2016:0880 http://lists.opensuse.org/opensuse-updates/2016-03/msg00111.html
- RHSA-2016:0566 http://rhn.redhat.com/errata/RHSA-2016-0566.html
- DSA-3488 http://www.debian.org/security/2016/dsa-3488
- USN-2912-1 http://www.ubuntu.com/usn/USN-2912-1
- https://puppet.com/security/cve/CVE-2016-0739
- GLSA-201606-12 https://security.gentoo.org/glsa/201606-12
- https://www.libssh.org/2016/02/23/libssh-0-7-3-security-and-bugfix-release/
- https://www.libssh.org/security/advisories/CVE-2016-0739.txt
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- c44838c65c7dd91b346ef5f852d94774e2dddeb01947a4c54a93e90232eafe43
- Ingested
- 23 Sep 2026, 07:41:00 UTC
- Source record
- Official CVE record