{"id":"UBUNTU-CVE-2015-3146","details":"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.","modified":"2026-04-22T10:07:00.658294Z","published":"2015-05-05T00:00:00Z","related":["USN-2912-1"],"upstream":["CVE-2015-3146"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2015-3146"},{"type":"REPORT","url":"https://www.libssh.org/2015/04/30/libssh-0-6-5-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-2015-3146"}],"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":{"binaries":[{"binary_name":"libssh-4","binary_version":"0.6.1-0ubuntu3.3"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2015/UBUNTU-CVE-2015-3146.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"low"}]}