CVE Catalog

CVE-2026-55199

MediumCVSS 5.9
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.41%

33th percentile - higher than 33% of all known CVEs

Summary

A pre-authentication denial of service vulnerability in libssh2 through version 1.11.1 (fixed in commit 1762685) allows a malicious SSH server to cause a client CPU exhaustion loop by sending a crafted extension count value (nr_extensions=0xFFFFFFFF) in the SSH_MSG_EXT_INFO handler. The client spins in a tight CPU loop for over 60 seconds because return values from _libssh2_get_string() are unchecked and the session timeout does not apply to CPU-bound loops.

Risk Assessment

The organization is at risk of a DoS attack where a malicious SSH server can cause CPU exhaustion on the client, disrupting normal operations of systems or applications using libssh2. The attack requires no authentication, increasing the risk.

Recommendation

Immediately update libssh2 to version 1.11.1 or later, which includes the fix (commit 1762685). If an update is not possible, restrict SSH connections to trusted servers.

Other vulnerabilities in libssh2

See all
Original NVD description (English source)

libssh2 through 1.11.1, fixed in commit 1762685, contains a pre-authentication denial of service vulnerability in the SSH_MSG_EXT_INFO handler in src/packet.c that allows a malicious SSH server to cause a client CPU exhaustion loop by sending a crafted extension count value. A malicious server can set nr_extensions to 0xFFFFFFFF during key exchange, causing the client to spin in a tight CPU loop for over 60 seconds because return values from _libssh2_get_string() are unchecked and the session timeout does not apply to CPU-bound loops.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS