Home / Libssh / Libssh / CVE-2015-3146
CVE-2015-3146: is it exploited, and which versions of Libssh are affected and fixed?
CVE-2015-3146 is a vulnerability in Libssh. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 07:38 UTC). Affected: libssh through 0.6.4, ubuntu linux 12.04, ubuntu linux 14.04 and 5 more (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (7.5, CVSS 3.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:38 UTC, CVE record November 19, 2026, 07:19 UTC and NVD November 19, 2026, 08:45 UTC.
What is CVE-2015-3146?
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.
From the CVE record by redhat, last updated August 6, 2024, 05:39 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| libssh | libssh | through 0.6.4 | application |
| canonical | ubuntu linux | 12.04 | operating system |
| canonical | ubuntu linux | 14.04 | operating system |
| canonical | ubuntu linux | 15.10 | operating system |
| debian | debian linux | 7.0 | operating system |
| debian | debian linux | 8.0 | operating system |
| fedoraproject | fedora | 21 | operating system |
| fedoraproject | fedora | 22 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 00:25 UTC.
How severe is CVE-2015-3146?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD |
| Medium 5.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2015-3146 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 3.96% probability of exploitation activity in the next 30 days, percentile 90.7 (FIRST EPSS, scores of December 2, 2026)
Where are the vendor advisories and references?
- USN-2912-1 vendor-advisory, x_refsource_UBUNTU
- FEDORA-2015-10962 vendor-advisory, x_refsource_FEDORA
- https://www.libssh.org/security/advisories/CVE-2015-3146.txt x_refsource_CONFIRM
- FEDORA-2015-7590 vendor-advisory, x_refsource_FEDORA
- https://www.libssh.org/2015/04/30/libssh-0-6-5-security-and-bugfix-release/ x_refsource_CONFIRM
- DSA-3488 vendor-advisory, x_refsource_DEBIAN
- https://git.libssh.org/projects/libssh.git/commit/?h=libssh-0.6.5&id=94f6955fbaee6fda9385a23e505497efe21f5b4f x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- April 10, 2015
- Published
- April 13, 2016, 17:00 UTC
- CVE record updated
- August 6, 2024, 05:39 UTC by redhat
- NVD
- Modified, last modified June 17, 2026, 00:25 UTC
- Last checked
- CVE list November 19, 2026, 07:19 UTC; NVD November 19, 2026, 08:45 UTC; KEV December 3, 2026, 07:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Libssh?
- Mar 8, 2026CVE-2026-3731 libssh: out-of-bounds read
- Jul 4, 2025CVE-2025-5351 libssh: double free
- Jul 4, 2025CVE-2025-5372 libssh: incorrect calculation
- Jul 21, 2023CVE-2023-3603 libssh: NULL pointer dereference (crash)
- May 26, 2023CVE-2023-2283 libssh: authentication bypass (improper authentication)
- May 26, 2023CVE-2023-1667 libssh: NULL pointer dereference (crash)
- Aug 31, 2021CVE-2021-3634 libssh: out-of-bounds write (memory corruption)
- Jul 29, 2020CVE-2020-16135 Libssh: NULL pointer dereference (crash)
Questions about CVE-2015-3146
Is CVE-2015-3146 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 07:38 UTC. FIRST's EPSS gives it a 3.96% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Libssh are affected by CVE-2015-3146?
libssh through 0.6.4, ubuntu linux 12.04, ubuntu linux 14.04, ubuntu linux 15.10, debian linux 7.0, debian linux 8.0 and 2 more, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2015-3146?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2015-3146?
High (7.5, CVSS 3.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2015-3146?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.