cve.bz

CVE-2026-55199 libssh2 libssh2: Infinite Loop

8.2 highEPSS 0.9%Fix available

High (8.2) in libssh2 libssh2. EPSS 0.9% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 4.0

8.2 high
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

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.9% (unchanged from 0.9% a week ago; 0.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 61st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-06-18. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-835 Loop with Unreachable Exit Condition (Infinite Loop)
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-55199 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-55199?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-55199?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-55199 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
libssh2through 1.11.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian13libssh21.11.1-1+deb13u1DEBIAN-CVE-2026-55199 DSA-6365-1
Debian14libssh21.11.1-4DEBIAN-CVE-2026-55199
Ubuntu24.04:LTSlibssh21.11.0-4.1ubuntu0.24.04.2UBUNTU-CVE-2026-55199
Ubuntu25.10libssh21.11.1-1ubuntu0.25.10.2UBUNTU-CVE-2026-55199
Ubuntu26.04:LTSlibssh21.11.1-1ubuntu0.26.04.2UBUNTU-CVE-2026-55199
Red Hathummingbird:1libssh2, libssh2-docs, libssh2-devel0:1.11.1-8.hum1RHSA-2026:29950
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 morelibssh2_org1.11.0-150200.9.5.1SUSE-SU-2026:3074-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Server 15 SP4-LTSSlibssh2_org1.11.0-150000.4.32.1SUSE-SU-2026:3082-1
SUSELinux Enterprise Module for Basesystem 15 SP7, Linux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6libssh2_org1.11.0-150600.20.3.1SUSE-SU-2026:3076-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5libssh2_org1.11.0-29.18.1SUSE-SU-2026:3525-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0libssh2_org1.11.1-160000.4.1SUSE-SU-2026:22364-1
SUSELinux Micro 6.0libssh2_org1.11.0-3.1SUSE-SU-2026:22438-1
SUSELinux Micro 6.1libssh2_org1.11.0-slfo.1.1_2.1SUSE-SU-2026:23187-1
SUSELinux Micro 6.2libssh2_org1.11.1-160000.4.1SUSE-SU-2026:22284-1
openSUSELeap 16.0libssh2_org1.11.1-160000.4.1openSUSE-SU-2026:21057-1
openSUSETumbleweedlibssh2_org1.11.1-3.1openSUSE-SU-2026:11109-1
Alpinev3.21, v3.22libssh21.11.1-r2ALPINE-CVE-2026-55199
Alpinev3.23, v3.24libssh21.11.1-r3ALPINE-CVE-2026-55199
Alpinev3.24rust, chromium-rust1.96.1-r0ALPINE-CVE-2026-55199
Azure Linux3libssh21.11.1-4AZL-90933
Azure Linux3rustno fix listedAZL-108513
Alpaquita23, streamlibssh21.11.1-r3BELL-CVE-2026-55199
Alpaquita25libssh21.11.1-r2BELL-CVE-2026-55199
Alpaquitastreamrust1.96.1-r0BELL-CVE-2026-55199

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

A Moderate-rated denial of service vulnerability in the libssh2 client allows a malicious SSH server to freeze the connecting application. By triggering an infinite CPU loop during the initial connection handshake, the server can render the client unresponsive. Note: Red Hat Enterprise Linux (RHEL) 8 and newer are not affected by this flaw, as they do not ship the libssh2 package.

Red Hat's mitigation

To mitigate this issue, ensure your libssh2 clients only connect to trusted SSH servers. You can enforce this by implementing outbound network access controls (egress filtering) to block applications from initiating connections to unknown or untrusted external hosts.

ProductPackageStateAdvisory
Red Hat Hardened Imageslibssh2-main-1.11.1-8.hum1Fixed 2026-06-25RHSA-2026:29950
Red Hat Enterprise Linux 6libssh2Out of support scope
Red Hat Enterprise Linux 7libssh2Out of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-55199.

References

Check your stackJSON