CVE-2026-55199

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:libssh2:libssh2:*:*:*:*:*:*:*:*

History

26 Jun 2026, 19:16

Type Values Removed Values Added
CPE cpe:2.3:a:libssh2:libssh2:*:*:*:*:*:*:*:*
First Time Libssh2
Libssh2 libssh2
References () https://github.com/libssh2/libssh2/commit/17626857d20b3c9a1addfa45979dadcee1cd84a4 - () https://github.com/libssh2/libssh2/commit/17626857d20b3c9a1addfa45979dadcee1cd84a4 - Patch
References () https://github.com/libssh2/libssh2/pull/1864 - () https://github.com/libssh2/libssh2/pull/1864 - Patch
References () https://www.vulncheck.com/advisories/libssh2-pre-authentication-dos-via-ssh-msg-ext-info-handler - () https://www.vulncheck.com/advisories/libssh2-pre-authentication-dos-via-ssh-msg-ext-info-handler - Third Party Advisory

18 Jun 2026, 17:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-06-17 20:17

Updated : 2026-07-14 22:17


NVD link : CVE-2026-55199

Mitre link : CVE-2026-55199

CVE.ORG link : CVE-2026-55199


JSON object : View

Products Affected

libssh2

  • libssh2
CWE
CWE-835

Loop with Unreachable Exit Condition ('Infinite Loop')