Vulnerabilities · 2015 · Libssh
CVE-2015-3146
Libssh vulnerability
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.
Affected products
Libssh, Ubuntu Linux, Debian Linux, Fedora. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Libssh runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- www.libssh.org/2015/04/30/libssh-0-6-5-security-and-bugfix-release/ · Vendor Advisory
- www.libssh.org/security/advisories/CVE-2015-3146.txt · Vendor Advisory
- lists.fedoraproject.org/pipermail/package-announce/2015-July/161802.html
- lists.fedoraproject.org/pipermail/package-announce/2015-May/158013.html
- www.debian.org/security/2016/dsa-3488
- www.ubuntu.com/usn/USN-2912-1
- git.libssh.org/projects/libssh.git/commit/?h=libssh-0.6.5&id=94f6955fbaee6fda9385a23e50549
- nvd.nist.gov/vuln/detail/CVE-2015-3146
- cve.org/CVERecord?id=CVE-2015-3146
More vulnerabilities in Libssh products
CVE-2025-8114CVE-2025-5987CVE-2025-5449CVE-2025-5372CVE-2025-5351CVE-2025-5318CVE-2023-6918CVE-2023-6004All 26
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.