CVE-2015-3146 json
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 2016-04-13 10 y ago modified 2026-06-17 4 mo ago also EUVD-2015-3227
- cvss
- 7.5
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.0%
- EPSS 4.0% chance of exploitation in 30 days, percentile 90%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- libssh Debian 14, Debian 13, Debian 12 0.6.3-4.2
debian advisories DEBIAN-CVE-2015-3146
- libssh Ubuntu 14.04 LTS 0.6.1-0ubuntu3.3
ubuntu advisories UBUNTU-CVE-2015-3146
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- libssh SLED 12, SLE Workstation Extension 12, SLE Software Development Kit 12 0.6.3-8.1
suse advisories SUSE-SU-2015:1707-1SUSE-SU-2015:1707-2
- libssh openSUSE Tumbleweed 0.7.2-2.1
opensuse advisories openSUSE-SU-2024:10036-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2015-3146 updated cvss 5.0
libssh: null pointer dereference due to a logical error in the handling of a SSH_MSG_NEWKEYS and KEXDH_REPLY packets
-
Red Hat Enterprise Linux 7 libsshaffected: no fix available
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
3.96% chance of exploitation in the next 30 days, higher than 90% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
References
- git.libssh.org /projects/libssh.git/commit/?h=libssh-0.6.5&id=94f6955fbaee6fda9385a23e505497efe21f5b4f
-
ubuntu.com
/usn/USN-2912-1
vendor-advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2015-July/161802.html
vendor-advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2015-May/158013.html
vendor-advisory
-
debian.org
/security/2016/dsa-3488
vendor-advisory
-
libssh.org
/security/advisories/CVE-2015-3146.txt
vendor-advisory
-
libssh.org
/2015/04/30/libssh-0-6-5-security-and-bugfix-release/
vendor-advisory
Sources
- CVE List CVE-2015-3146
- NVD CVE-2015-3146
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.