Skip to content
OpenAdvisories
Unscored CVE-2015-3146 EUVD-2015-3227GHSA-46jx-xcg7-prj7

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, …

Published Apr 13, 2016 · Updated Aug 6, 2024 · Assigned by redhat

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libssh 0.6.3-4.2 —
Debian 13 libssh 0.6.3-4.2 —
Debian 12 libssh 0.6.3-4.2 —
ReleasePackageFixed inAdvisory
Ubuntu 14.04 LTS libssh 0.6.1-0ubuntu3.3 USN-2912-1
ReleasePackageFixed inAdvisory
SLES 12 libssh 0.6.3-8.1 SUSE-SU-2015:1707-2, SUSE-SU-2015:1707-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed libssh 0.7.2-2.1 openSUSE-SU-2024:10036-1

Advisories 5

References