{"id":"UBUNTU-CVE-2016-0739","details":"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.\"","modified":"2026-04-22T10:26:58.877580Z","published":"2016-02-23T15:00:00Z","related":["USN-2912-1"],"upstream":["CVE-2016-0739"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2016-0739"},{"type":"REPORT","url":"https://www.libssh2.org/adv_20160223.html"},{"type":"REPORT","url":"https://www.libssh.org/2016/02/23/libssh-0-7-3-security-and-bugfix-release/"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-2912-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2016-0739"}],"affected":[{"package":{"name":"libssh","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/libssh@0.6.1-0ubuntu3.3?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.1-0ubuntu3.3"}]}],"versions":["0.5.4-1","0.6.1-0ubuntu2","0.6.1-0ubuntu3","0.6.1-0ubuntu3.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libssh-4","binary_version":"0.6.1-0ubuntu3.3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-0739.json"}},{"package":{"name":"libssh","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/libssh@0.6.3-4.2ubuntu1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.3-4.2ubuntu1"}]}],"versions":["0.6.3-3ubuntu3","0.6.3-4.1","0.6.3-4.2"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libssh-4","binary_version":"0.6.3-4.2ubuntu1"},{"binary_name":"libssh-gcrypt-4","binary_version":"0.6.3-4.2ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-0739.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"Ubuntu","score":"medium"}]}