Vulnerabilities · 2013 · Libssh
CVE-2013-0176
Libssh vulnerability
The publickey_from_privatekey function in libssh before 0.5.4, when no algorithm is matched during negotiations, allows remote attackers to cause a denial of service (NULL pointer dereference and crash) via a "Client: Diffie-Hellman Key Exchange Init" packet.
Affected products
Libssh. 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
- secunia.com/advisories/51982 · Vendor Advisory
- www.libssh.org/2013/01/22/libssh-0-5-4-security-release/ · Patch
- lists.fedoraproject.org/pipermail/package-announce/2013-February/098065.html
- lists.fedoraproject.org/pipermail/package-announce/2013-February/098094.html
- www.ubuntu.com/usn/USN-1707-1
- exchange.xforce.ibmcloud.com/vulnerabilities/81595
- nvd.nist.gov/vuln/detail/CVE-2013-0176
- cve.org/CVERecord?id=CVE-2013-0176
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.