CVE-2026-7598: libssh2 userauth.c userauth_password integer overflow

Published May 1, 2026
·
Updated

A security vulnerability has been detected in libssh2 up to 1.11.1. The impacted element is the function userauthpassword of the file src/userauth.c. Such manipulation of the argument usernamelen/passwordlen leads to integer overflow. The attack may be launched remotely. The name of the patch is 256d04b60d80bf1190e96b0ad1e91b2174d744b1. A patch should be applied to remediate this issue.

Other sources

libssh2 userauth.c userauthpassword integer overflow

— Microsoft

Affected Software

22 affected componentsFixes available
libssh2 libssh2<=1.11.1
Microsoft azl3 libssh2 1.11.1-1
Microsoft azl3 libssh2 1.11.1-2
libssh2 libssh2<=1.11.1
debian/libssh2<1.10.0-3+deb12u1
1.10.0-3+deb12u1
debian/libssh2<1.11.1-1+deb13u1
1.11.1-1+deb13u1
debian/libssh2<1.11.1-3
1.11.1-3
debian/libssh2<=1.10.0-3
1.10.0-3+deb12u11.11.1-1+deb13u11.11.1-3
All of the following
azurelinux/libssh2<0:1.11.1-13.azl4
0:1.11.1-13.azl4
Microsoft Azure Linux=4.0
All of the following
azurelinux/libssh2<1.11.1-2
1.11.1-2
Microsoft Azure Linux=3.0
All of the following
azurelinux/rust<1.96.1-2
1.96.1-2
Microsoft Azure Linux=3.0
ubuntu/libssh2*
ubuntu/libssh2*
ubuntu/libssh2*
ubuntu/libssh2*
ubuntu/libssh2*
ubuntu/libssh2<1.11.0-4.1ubuntu0.24.04.1
1.11.0-4.1ubuntu0.24.04.1
ubuntu/libssh2<1.11.1-1ubuntu0.25.10.1
1.11.1-1ubuntu0.25.10.1
ubuntu/libssh2<1.11.1-1ubuntu0.26.04.1
1.11.1-1ubuntu0.26.04.1

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.10.0-3+deb12u1
  2. Upgrade

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

    Fixed in 1.11.1-1+deb13u1
  3. Upgrade

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

    Fixed in 1.11.1-3
  4. Upgrade

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

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

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

    Fixed in 0:1.11.1-13.azl4
  6. Upgrade

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

    Fixed in 1.11.1-2
  7. Upgrade

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

    Fixed in 1.96.1-2
  8. Upgrade

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

    Fixed in 1.11.0-4.1ubuntu0.24.04.1
  9. Upgrade

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

    Fixed in 1.11.1-1ubuntu0.25.10.1
  10. Upgrade

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

    Fixed in 1.11.1-1ubuntu0.26.04.1
  11. Upgrade

    Upgrade libssh2 to a version that resolves this vulnerability.

    Fixed in 1.11.1Patch 256d04b60d80bf1190e96b0ad1e91b2174d744b1

Event History

May 1, 2026
CVE Published
via MITRE·09:30 PM
Data Sourced
via MITRE·09:30 PM
DescriptionSeverityWeakness
Data Sourced
via Red Hat·10:01 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·10:16 PM
DescriptionSeverityWeakness
Event
via NVD·10:16 PM
May 3, 2026
Data Sourced
via Microsoft·08:01 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·08:01 AM
Affected Software
Updated
via Microsoft·08:01 AM
WeaknessAffected Software
Updated
via Microsoft·08:01 AM
Affected Software
May 4, 2026
Exploit Published
via CISA·01:31 PM
May 7, 2026
Event
via FIRST·12:00 AM
Data Sourced
via NVD·01:47 AM
RemedyAffected Software
Jun 30, 2026
Updated
via NVD·03:21 AM
SeverityWeakness
Aug 25, 2026
Updated
via Microsoft·08:03 AM
Weakness
Sep 1, 2026
Updated
via NVD·01:19 PM
SeverityWeakness
Nov 24, 2026
Data Sourced
via OSV·02:56 PM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2026-7598?

CVE-2026-7598 is classified as a high severity vulnerability due to its potential for leading to remote code execution.

2

How do I fix CVE-2026-7598?

To fix CVE-2026-7598, upgrade libssh2 to version 1.11.2 or later where the vulnerability is addressed.

3

What is the impact of CVE-2026-7598 on affected systems?

The impact of CVE-2026-7598 can result in unauthorized access or control over systems using vulnerable versions of libssh2.

4

Which versions of libssh2 are affected by CVE-2026-7598?

CVE-2026-7598 affects all versions of libssh2 up to and including version 1.11.1.

5

What does CVE-2026-7598 exploit in libssh2?

CVE-2026-7598 exploits an integer overflow in the userauth_password function due to improper handling of username and password lengths.

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