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 properly validate state, which allows remote attackers to cause a denial of service (NULL pointer dereference and crash) via a crafted SSH packet.
https://www.libssh.org/security/advisories/CVE-2015-3146.txt
https://www.libssh.org/2015/04/30/libssh-0-6-5-security-and-bugfix-release/
http://www.ubuntu.com/usn/USN-2912-1
http://www.debian.org/security/2016/dsa-3488
http://lists.fedoraproject.org/pipermail/package-announce/2015-May/158013.html
http://lists.fedoraproject.org/pipermail/package-announce/2015-July/161802.html