CVE-2015-3146 in Canonical Ubuntu Linux and 3 more products
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.
Affects 4 products from 4 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Canonical | Ubuntu Linux | 12.04 14.04 15.10 |
| Debian | Debian Linux | 7.0 8.0 |
| Fedoraproject | Fedora | 21 22 |
| Libssh | Libssh | ≤ 0.6.4 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2015-3146 |
|---|---|
| BreachSpider ID | BS-2016-GLOBAL-104152-H |
| CVSS vector | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Published | 2016-04-13 |
| Last modified | 2026-06-17 |
| Source | NVD |
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2016. A high severity vulnerability affects Canonical systems (CVE-2015-3146). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
Vulnerability 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. CVSS vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
Questions
What is CVE-2015-3146?
This vulnerability was disclosed in 2016. A high severity vulnerability affects Canonical systems (CVE-2015-3146). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2015-3146?
CVE-2015-3146 has CVSS 7.5 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. EPSS: 4.0%.
Is CVE-2015-3146 actively exploited?
No confirmed active exploitation of CVE-2015-3146 as of 2026-09-25.
How do I remediate CVE-2015-3146?
Priority: MEDIUM. Advisory: https://www.libssh.org/2015/04/30/libssh-0-6-5-security-and-bugfix-release/ PSIRT: [email protected]
What systems are affected by CVE-2015-3146?
CVE-2015-3146 affects Canonical Ubuntu Linux; Debian Debian Linux; Fedoraproject Fedora; Libssh Libssh.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Canonical","product":"Ubuntu Linux","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.