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

Published Jun 17, 2026
·
Updated

Last updated 30 June 2026

Other sources

libssh2 - Pre-Authentication DoS via SSHMSGEXTINFO Handler

— Microsoft

libssh2 through 1.11.1, fixed in commit 1762685, contains a pre-authentication denial of service vulnerability in the SSHMSGEXTINFO 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 nrextensions to 0xFFFFFFFF during key exchange, causing the client to spin in a tight CPU loop for over 60 seconds because return values from libssh2getstring() are unchecked and the session timeout does not apply to CPU-bound loops.

— MITRE

Affected Software

11 affected componentsFixes available
libssh2 libssh2<=1.11.1
Microsoft azl3 libssh2 1.11.1-3<1.11.1-4
1.11.1-4
Microsoft azl3 libssh2 1.11.1-4<1.11.1-4
1.11.1-4
libssh2 libssh2<=1.11.1
debian/libssh2
1.10.0-31.10.0-3+deb12u11.11.1-1+deb13u21.11.1-1+deb13u11.11.1-6
alpine/chromium-rust<1.96.1-r0
1.96.1-r0
alpine/libssh2<1.11.1-r2
1.11.1-r2
alpine/libssh2<1.11.1-r2
1.11.1-r2
alpine/libssh2<1.11.1-r3
1.11.1-r3
alpine/libssh2<1.11.1-r3
1.11.1-r3
alpine/rust<1.96.1-r0
1.96.1-r0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.11.1-4
  2. Upgrade

    Upgrade debian/libssh2 to a version that resolves this vulnerability.

    Fixed in 1.10.0-3Fixed in 1.10.0-3+deb12u1Fixed in 1.11.1-1+deb13u2Fixed in 1.11.1-1+deb13u1Fixed in 1.11.1-6
  3. Upgrade

    Upgrade alpine/chromium-rust to a version that resolves this vulnerability.

    Fixed in 1.96.1-r0
  4. Upgrade

    Upgrade alpine/libssh2 to a version that resolves this vulnerability.

    Fixed in 1.11.1-r2
  5. Upgrade

    Upgrade alpine/libssh2 to a version that resolves this vulnerability.

    Fixed in 1.11.1-r3
  6. Upgrade

    Upgrade alpine/rust to a version that resolves this vulnerability.

    Fixed in 1.96.1-r0
  7. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch 1762685
  8. Upgrade

    Upgrade libssh2 to a version that resolves this vulnerability.

    Fixed in 1.11.1
  9. Compensating control

    Apply protections that limit exposure to untrusted SSH servers during pre-authentication (e.g., firewall/ACL rules restricting which servers can accept SSH connections) to reduce the chance a client will process malicious SSH_MSG_EXT_INFO messages.

Event History

Jun 17, 2026
CVE Published
via MITRE·06:44 PM
Data Sourced
via MITRE·06:44 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:17 PM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·08:17 PM
DescriptionSeverityAffected Software
Jun 27, 2026
Data Sourced
via Microsoft·08:09 AM
DescriptionSeverityWeaknessAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2026-55199?

The severity of CVE-2026-55199 is rated as medium with a score of 5.9.

2

How do I fix CVE-2026-55199?

To fix CVE-2026-55199, update to libssh2 version 1.11.1 or later.

3

What type of vulnerability is CVE-2026-55199?

CVE-2026-55199 is a pre-authentication denial of service vulnerability.

4

What can an attacker do with CVE-2026-55199?

An attacker can exploit CVE-2026-55199 by sending a crafted extension count value from a malicious SSH server to cause client CPU exhaustion.

5

In which component does CVE-2026-55199 exist?

CVE-2026-55199 exists in the SSH_MSG_EXT_INFO handler of the libssh2 library.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203