CVE-2015-3146
publishedlibssh: null pointer dereference due to a logical error in the handling of a SSH_MSG_NEWKEYS and KEXDH_REPLY packets
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | redhat |
| SUSE / openSUSE | SLE-12 | libssh-develppc64le | Advisory build | 0.6.3-8.1 | SUSE-SU-2015:1707-2 |
| Ubuntu | trusty | libssh | Advisory build | 0.6.1-0ubuntu3.3 | USN-2912-1 |
| SUSE / openSUSE | SLE-12 | libssh-devels390x | Advisory build | 0.6.3-8.1 | SUSE-SU-2015:1707-2 |
| SUSE / openSUSE | SLE-12 | libssh-develx86_64 | Advisory build | 0.6.3-8.1 | SUSE-SU-2015:1707-2 |
| SUSE / openSUSE | SLE-12 | libssh-devel-docppc64le | Advisory build | 0.6.3-8.1 | SUSE-SU-2015:1707-2 |
| SUSE / openSUSE | SLE-12 | libssh-devel-docs390x | Advisory build | 0.6.3-8.1 | SUSE-SU-2015:1707-2 |
| SUSE / openSUSE | SLE-12 | libssh-devel-docx86_64 | Advisory build | 0.6.3-8.1 | SUSE-SU-2015:1707-2 |
Show 21 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-12 | libssh4ppc64le | Advisory build | 0.6.3-8.1 | SUSE-SU-2015:1707-2 |
| SUSE / openSUSE | SLE-12 | libssh4s390x | Advisory build | 0.6.3-8.1 | SUSE-SU-2015:1707-2 |
| SUSE / openSUSE | SLE-12 | libssh4x86_64 | Advisory build | 0.6.3-8.1 | SUSE-SU-2015:1707-1 |
| SUSE / openSUSE | SLE-12 | libssh4x86_64 | Advisory build | 0.6.3-8.1 | SUSE-SU-2015:1707-2 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libssh-develaarch64 | Advisory build | 0.7.2-2.1 | OPENSUSE-SU-2024:10036-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libssh-develppc64le | Advisory build | 0.7.2-2.1 | OPENSUSE-SU-2024:10036-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libssh-devels390x | Advisory build | 0.7.2-2.1 | OPENSUSE-SU-2024:10036-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libssh-develx86_64 | Advisory build | 0.7.2-2.1 | OPENSUSE-SU-2024:10036-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libssh-devel-docaarch64 | Advisory build | 0.7.2-2.1 | OPENSUSE-SU-2024:10036-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libssh-devel-docppc64le | Advisory build | 0.7.2-2.1 | OPENSUSE-SU-2024:10036-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libssh-devel-docs390x | Advisory build | 0.7.2-2.1 | OPENSUSE-SU-2024:10036-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libssh-devel-docx86_64 | Advisory build | 0.7.2-2.1 | OPENSUSE-SU-2024:10036-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libssh4aarch64 | Advisory build | 0.7.2-2.1 | OPENSUSE-SU-2024:10036-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libssh4ppc64le | Advisory build | 0.7.2-2.1 | OPENSUSE-SU-2024:10036-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libssh4s390x | Advisory build | 0.7.2-2.1 | OPENSUSE-SU-2024:10036-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libssh4x86_64 | Advisory build | 0.7.2-2.1 | OPENSUSE-SU-2024:10036-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libssh4-32bitaarch64 | Advisory build | 0.7.2-2.1 | OPENSUSE-SU-2024:10036-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libssh4-32bitppc64le | Advisory build | 0.7.2-2.1 | OPENSUSE-SU-2024:10036-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libssh4-32bits390x | Advisory build | 0.7.2-2.1 | OPENSUSE-SU-2024:10036-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libssh4-32bitx86_64 | Advisory build | 0.7.2-2.1 | OPENSUSE-SU-2024:10036-1 |
| Ubuntu | trusty | libssh-4 | Advisory build | 0.6.1-0ubuntu3.3 | USN-2912-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | redhat · cna |
Weaknesses
1- n/a
References
7- FEDORA-2015-10962 http://lists.fedoraproject.org/pipermail/package-announce/2015-July/161802.html
- FEDORA-2015-7590 http://lists.fedoraproject.org/pipermail/package-announce/2015-May/158013.html
- DSA-3488 http://www.debian.org/security/2016/dsa-3488
- USN-2912-1 http://www.ubuntu.com/usn/USN-2912-1
- https://git.libssh.org/projects/libssh.git/commit/?h=libssh-0.6.5&id=94f6955fbaee6fda9385a23e505497efe21f5b4f
- https://www.libssh.org/2015/04/30/libssh-0-6-5-security-and-bugfix-release/
- https://www.libssh.org/security/advisories/CVE-2015-3146.txt
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 7772fe85892f4bae7215cc49922f7b49cca96d3ad9344f0b3bec14ab12271482
- Ingested
- 23 Sep 2026, 07:40:35 UTC
- Source record
- Official CVE record