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

5 affected componentsFixes available
libssh2 libssh2<=1.11.1
libssh2 libssh2<=1.11.1
debian/libssh2<=1.9.0-2+deb11u1, <=1.10.0-3, <=1.11.1-1
1.11.1-1+deb13u11.11.1-4
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

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 1.11.1-1+deb13u1Fixed in 1.11.1-4
  2. Upgrade

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

    Fixed in 1.11.1-4
  3. Upgrade

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

    Patch 1762685
  4. Upgrade

    Upgrade libssh2 to a version that resolves this vulnerability.

    Fixed in 1.11.1
  5. 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
Jun 27, 2026
Data Sourced
via Microsoft·08:09 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·08:09 AM
DescriptionSeverity
Updated
via Microsoft·08:09 AM
Affected Software
Jun 30, 2026
Data Sourced
via Debian·04:06 PM
DescriptionAffected Software
Data Sourced
via Launchpad·04:06 PM
Description
Jul 1, 2026
Data Sourced
via Ubuntu·04:06 PM
RemedyDescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

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