Skip to content
OpenAdvisories
Unscored CVE-2016-0739 EUVD-2016-0763GHSA-v7q8-7g48-2272

libssh before 0.7.3 improperly truncates ephemeral secrets generated for the (1) diffie-hellman-group1 and (2) diffie-hellman-group14 key e…

Published Apr 13, 2016 · Updated Aug 5, 2024 · Assigned by redhat

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

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libssh 0.6.3-4.3 —
Debian 13 libssh 0.6.3-4.3 —
Debian 12 libssh 0.6.3-4.3 —
Debian 8 libssh 0.6.3-4+deb8u2 DSA-3488-1
Debian 7 libssh 0.5.4-1+deb7u3 DSA-3488-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Debian 6.0 libssh 0.4.5-3+squeeze3 DLA-425-1
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS libssh 0.6.3-4.2ubuntu1 —
Ubuntu 14.04 LTS libssh 0.6.1-0ubuntu3.3 USN-2912-1
ReleasePackageFixed inAdvisory
Red Hat Rhel Extras Other 7 libssh +1 0.7.1-2.el7 RHSA-2016:0566
ReleasePackageFixed inAdvisory
SLES 12 SP1 libssh 0.6.3-11.1 SUSE-SU-2016:0625-1
SLES 12 libssh 0.6.3-11.1 SUSE-SU-2016:0625-1
SLES 11 SP4 libssh 0.2-5.22.1 SUSE-SU-2016:0622-1

Advisories 7

References