CVE-2026-55199CWE-835

libssh2 - Pre-Authentication DoS via SSH_MSG_EXT_INFO Handler

High · published June 17, 2026

CVSS v4.0
8.2
EPSS
1%
Percentile
59.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
8.2 · HIGH
Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
EPSS
0.00918 · 59.9th percentile
Weakness
CWE-835 · Loop with Unreachable Exit Condition ('Infinite Loop')
Published
2026-06-17T18:44Z
EPSS history
Timeline
  • 17 JUN 18:44Z
    libssh2 - Pre-Authentication DoS via SSH_MSG_EXT_INFO Handler
    cvelistv5