CVE-2015-3146: Canonical Ubuntu Linux

High severity, CVSS 7.5. EPSS: 4% chance of exploitation in the next 30 days.

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.

Affected products

  • Canonical Ubuntu Linux: version 12.04 only; version 14.04 only; version 15.10 only
  • Debian Debian Linux: version 7.0 only; version 8.0 only
  • Fedoraproject Fedora: version 21 only; version 22 only
  • Libssh Libssh: up to and including 0.6.4

Published 2016-04-13. Last modified 2026-06-17.