BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2013-0176 in Libssh

Medium 4.3

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.

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 2.04.3
EPSS3.0%
EPSS percentile88th
FixSee advisory

Remotely exploitable over the network, no confidentiality impact, no integrity impact.

Affected products and versions

VendorProductAffected versions
Libssh Libssh ≤ 0.5.3

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2013-0176
BreachSpider IDBS-2013-GLOBAL-030706-M
CVSS vectorAV:N/AC:M/Au:N/C:N/I:N/A:P
Published2013-02-05
Last modified2026-06-16
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-399: Resource Management Errors

Broad class covering failures in managing system resources such as memory, file handles, and connections.

Analysis AI-written, not human-reviewed

This vulnerability was disclosed in 2013. A medium severity vulnerability affects Libssh systems (CVE-2013-0176). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

Vulnerability details: 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. CVSS vector: AV:N/AC:M/Au:N/C:N/I:N/A:P.

Questions

What is CVE-2013-0176?

This vulnerability was disclosed in 2013. A medium severity vulnerability affects Libssh systems (CVE-2013-0176). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

What is the CVSS score for CVE-2013-0176?

CVE-2013-0176 has CVSS 4.3 (Medium). Vector: AV:N/AC:M/Au:N/C:N/I:N/A:P. EPSS: 3.0%.

Is CVE-2013-0176 actively exploited?

No confirmed active exploitation of CVE-2013-0176 as of 2026-09-25.

How do I remediate CVE-2013-0176?

Priority: MONITOR. Advisory: http://www.libssh.org/2013/01/22/libssh-0-5-4-security-release/ PSIRT: [email protected]

What systems are affected by CVE-2013-0176?

CVE-2013-0176 affects Libssh Libssh.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Libssh","product":"Libssh","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.