Vulnerability · Published May 1, 2026 · Assigned by VulDB
CVE-2026-7598libssh2 userauth.c userauth_password integer overflow
High 7.3
In plain English
A high-severity integer overflow in libssh2. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 41% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
A security vulnerability has been detected in libssh2 up to 1.11.1. The impacted element is the function userauth_password of the file src/userauth.c. Such manipulation of the argument username_len/password_len 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | libssh2 | 1.11.0-r3 | ALPINE-CVE-2026-7598 |
| Alpine:v3.21 | libssh2 | 1.11.1-r1 | ALPINE-CVE-2026-7598 |
| Alpine:v3.22 | libssh2 | 1.11.1-r1 | ALPINE-CVE-2026-7598 |
| Alpine:v3.23 | libssh2 | 1.11.1-r2 | ALPINE-CVE-2026-7598 |
| Alpine:v3.24 | libssh2 | 1.11.1-r2 | ALPINE-CVE-2026-7598 |
| Debian:12 | libssh2 | 1.10.0-3+deb12u1 | DEBIAN-CVE-2026-7598 |
| Debian:13 | libssh2 | 1.11.1-1+deb13u1 | DEBIAN-CVE-2026-7598 |
| Debian:14 | libssh2 | 1.11.1-3 | DEBIAN-CVE-2026-7598 |
| Ubuntu:22.04:LTS | libssh2 | no fix listed | UBUNTU-CVE-2026-7598 |
| Ubuntu:24.04:LTS | libssh2 | 1.11.0-4.1ubuntu0.24.04.1 | UBUNTU-CVE-2026-7598 |
| Ubuntu:25.10 | libssh2 | 1.11.1-1ubuntu0.25.10.1 | UBUNTU-CVE-2026-7598 |
| Ubuntu:26.04:LTS | libssh2 | 1.11.1-1ubuntu0.26.04.1 | UBUNTU-CVE-2026-7598 |
Affected products (as reported)
Weakness: CWE-190, CWE-189 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:X/RL:O/RC:C
References
- VDB-360555 | libssh2 userauth.c userauth_password integer overflow vdb-entry, technical-description
- VDB-360555 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- Submit #805564 | libssh2 <= 1.11.1 Integer Overflow third-party-advisory
- https://github.com/libssh2/libssh2/pull/1858 issue-tracking, patch
- https://github.com/libssh2/libssh2/commit/256d04b60d80bf1190e96b0ad1e91b2174d744b1 patch
- https://github.com/libssh2/libssh2/ product
- https://access.redhat.com/security/cve/CVE-2026-7598 vdb-entry, x_refsource_REDHAT
- RHBZ#2464597 issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-7598.json x_sadp-csaf-vex
- https://access.redhat.com/errata/RHSA-2026:61752 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:7021 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:16736 vendor-advisory, x_refsource_REDHAT