CVE-2026-55199: Pre-authentication CPU exhaustion in libssh2 SSH_MSG_EXT_INFO handling
- Vendor
- Libssh2
CVE-2026-55199 is a pre-authentication denial-of-service vulnerability affecting libssh2 through version 1.11.1. The SSH_MSG_EXT_INFO handler fails to check return values from _libssh2_get_string() while processing a server-controlled extension count. A malicious SSH server can set nr_extensions to 0xFFFFFFFF during key exchange, forcing the connecting client into a tight CPU-bound loop lasting more than 60 seconds. The session timeout does not interrupt this CPU-bound processing.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
A malicious SSH server can exhaust CPU resources and stall a connecting libssh2-based application before authentication, disrupting its availability for more than 60 seconds per triggering exchange. Normal libssh2 session timeouts do not bound the resulting processing. This vulnerability does not establish memory disclosure, memory corruption, or code execution.
Mitigation
If you can’t patch tonight, do this now.
Until patched, restrict outbound SSH connections from libssh2-based clients to trusted servers using allowlists and network segmentation. Suspend automation that connects to untrusted or unverified SSH endpoints where feasible. Do not rely on the libssh2 session timeout to stop exploitation, because it does not apply to the CPU-bound loop. These controls reduce exposure but do not correct the parser flaw.
Remediation
Patch, then assume compromise.
Apply upstream libssh2 commit 1762685 or install a vendor package containing the backported fix. Identified fixed packages include Debian trixie libssh2 1.11.1-1+deb13u1 and Alpine Linux libssh2 1.11.1-r3 or later. Update applications that bundle libssh2, rebuilding statically linked copies where necessary. Rust/Cargo users should update to Rust 1.96.1 or a later release containing the fix.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2026-55199 exploited in the wild?
- As of Nov 26, 2026, Mallory has no reports of CVE-2026-55199 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-55199?
- As of Nov 26, 2026, Mallory has found no public exploit for CVE-2026-55199.
- Is there a patch for CVE-2026-55199?
- Apply upstream libssh2 commit 1762685 or install a vendor package containing the backported fix. Identified fixed packages include Debian trixie libssh2 1.11.1-1+deb13u1 and Alpine Linux libssh2 1.11.1-r3 or later.
- What products are affected by CVE-2026-55199?
- Libssh2.
- How severe is CVE-2026-55199?
- CVE-2026-55199 has a CVSS v4 score of 8.2 (High) and an EPSS score of 0.69% (48th percentile) as of Nov 26, 2026.
Recent activity
40 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.