Live threats

All CVEs / Libssh

CVE-2013-0176Libssh

Medium 4.3 No auth needed

Priority
41
CVSS 2.0
4.3
EPSS
3.0%
probability of exploitation in 30 days · percentile 88
Auth required
No
Published
Feb 5, 2013
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-399
Vector
AV:N/AC:M/Au:N/C:N/I:N/A:P

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Libssh.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
libsshlibssh≤ 0.5.3
libsshlibssh0.4.7
libsshlibssh0.4.8
libsshlibssh0.5.0
libsshlibssh0.5.0
libsshlibssh0.5.1
libsshlibssh0.5.2

Official sources

References

Links published by the sources. Open them with care.