Vulnerability · Published Jun 17, 2026 · Assigned by VulnCheck

CVE-2026-55199libssh2 - Pre-Authentication DoS via SSH_MSG_EXT_INFO Handler

Medium 5.9

In plain English

A medium-severity infinite loop in libssh2 from libssh2. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 60% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.9Medium
Exploit odds (30 days)0.9%top 39.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.24chromium-rust1.96.1-r0ALPINE-CVE-2026-55199
Alpine:v3.21libssh21.11.1-r2ALPINE-CVE-2026-55199
Alpine:v3.22libssh21.11.1-r2ALPINE-CVE-2026-55199
Alpine:v3.23libssh21.11.1-r3ALPINE-CVE-2026-55199
Alpine:v3.24libssh21.11.1-r3ALPINE-CVE-2026-55199
Alpine:v3.24rust1.96.1-r0ALPINE-CVE-2026-55199
Debian:13libssh21.11.1-1+deb13u1DEBIAN-CVE-2026-55199
Debian:14libssh21.11.1-4DEBIAN-CVE-2026-55199
Ubuntu:24.04:LTSlibssh21.11.0-4.1ubuntu0.24.04.2UBUNTU-CVE-2026-55199
Ubuntu:25.10libssh21.11.1-1ubuntu0.25.10.2UBUNTU-CVE-2026-55199
Ubuntu:26.04:LTSlibssh21.11.1-1ubuntu0.26.04.2UBUNTU-CVE-2026-55199

Affected products (as reported)

VendorProductVersions
libssh2 libssh2 0 – through 1.11.1

Weakness: CWE-835 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

References