CVE-2013-0176Libssh
Medium 4.3 No auth needed
Follow: this CVE · Libssh · Libssh We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Libssh.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| libssh | libssh | ≤ 0.5.3 |
| libssh | libssh | 0.4.7 |
| libssh | libssh | 0.4.8 |
| libssh | libssh | 0.5.0 |
| libssh | libssh | 0.5.0 |
| libssh | libssh | 0.5.1 |
| libssh | libssh | 0.5.2 |
Official sources
References
Links published by the sources. Open them with care.
- lists.fedoraproject.org
- lists.fedoraproject.org
- secunia.com Vendor Advisory
- www.libssh.org Patch Vendor Advisory
- www.ubuntu.com
- exchange.xforce.ibmcloud.com