Skip to content
OpenAdvisories
Unscored USN-2912-1 2 CVEs

libssh vulnerabilities

Published Feb 23, 2016 · Updated Apr 22, 2026

Summary

Mariusz Ziulek discovered that libssh incorrectly handled certain packets.
A remote attacker could possibly use this issue to cause libssh to crash,
resulting in a denial of service.
(CVE-2015-3146)

Aris Adamantiadis discovered that libssh incorrectly generated ephemeral
secret keys of 128 bits instead of the recommended 1024 or 2048 bits when
using the diffie-hellman-group1 and diffie-hellman-group14 methods. If a
remote attacker were able to perform a machine-in-the-middle attack, this flaw
could be exploited to view sensitive information. (CVE-2016-0739)

Fixed packages 1

ReleasePackageFixed in
Ubuntu · 14.04 LTS 14.04:LTS libssh 0.6.1-0ubuntu3.3

Vulnerabilities 2

  • Unscored —

    The (1) SSH_MSG_NEWKEYS and (2) SSH_MSG_KEXDH_REPLY packet handlers in package_cb.c in libssh before 0.6.5 do not prope…

  • Unscored —

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

References

  • report
    https://ubuntu.com/security/CVE-2015-3146
  • report
    https://ubuntu.com/security/CVE-2016-0739