libssh2 userauth.c userauth_password integer overflow
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- Low · Low · Low
- Fix status
- Partial Red Hat: 3 fixed, 2 without a fix
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and Red Hat.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | libssh2 | 1.11.0; 1.11.1 | — | No fix listed | CNA |
- libssh2 Vendor— Affected 1.11.0; 1.11.1 Fixed in — No fix listed CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:libssh2:libssh2:*:*:*:*:*:*:*:* | up to 1.11.1 | Vulnerable | The libssh2 Project |
- cpe:2.3:a:libssh2:libssh2:*:*:*:*:*:*:*:* Versions up to 1.11.1 Vulnerable ·The libssh2 Project
Remediation
Red Hat 3 advisories
- RHSA-2026:61752 Released 2026-08-31 · Red Hat rating Importantlibssh2 security update
- Red Hat Enterprise Linux Server (v. 7 ELS) libssh2-1.8.0-4.el7_9.2, libssh2-1.8.0-4.el7_9.2.ppc
- Red Hat Enterprise Linux Server Optional (v. 7 ELS) libssh2-devel-1.8.0-4.el7_9.2, libssh2-devel-1.8.0-4.el7_9.2.ppc
- RHSA-2026:16736 Released 2026-05-13 · Red Hat rating ImportantRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images rust-1.95.0-5.hum1@aarch64, rust-1.95.0-5.hum1@src, rust-1.95.0-5.hum1@x86_64 +28
- RHSA-2026:7021 Released 2026-04-08 · Red Hat rating ImportantRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images libssh2-1.11.1-5.1.hum1@aarch64, libssh2-1.11.1-5.1.hum1@src, libssh2-1.11.1-5.1.hum1@x86_64 +4
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Will not fix |
| Red Hat Trusted Profile Analyzer | Affected | No fix yet |
| Red Hat Enterprise Linux Server (v. 7 ELS) | Fixed | RHSA-2026:61752 |
| Red Hat Enterprise Linux Server Optional (v. 7 ELS) | Fixed | RHSA-2026:61752 |
| Red Hat Hardened Images | Fixed | RHSA-2026:16736, RHSA-2026:7021 |
Not affected: 5 products
- Red Hat Enterprise Linux Server (v. 7 ELS)
- Red Hat Enterprise Linux Server Optional (v. 7 ELS)
- Red Hat Hardened Images
- Red Hat OpenShift Container Platform 4
- Red Hat OpenShift Update Service
Timeline
- 2026-10-02 Threatist record created from CVE-2026-7598
- 2026-10-03 Alias added: GHSA-jhp3-h4hp-2c3p
- 2026-10-25 EPSS moved to the below the 50th percentile
- 2026-11-05 Affected versions changed · Red Hat
References
More The libssh2 Project Libssh2 vulnerabilities
- TI-2026-39880 libssh2 - Out-of-Bounds Write via Unchecked packet_length in transport.c CVSS 4.0CRITICAL 9.2
- TI-2023-26623 The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6… CVSS 3.1MEDIUM 5.9
- TI-2026-41806 libssh2 - Free of Uninitialized Pointer in publickey List Cleanup CVSS 4.0HIGH 8.3
- TI-2019-02869 Out-of-bounds read in libssh2 CVSS 3.1CRITICAL 9.1
- TI-2019-02865 Integer overflow in libssh2 CVSS 3.1HIGH 8.8
- TI-2019-02872 Out-of-bounds read in libssh2 CVSS 3.0CRITICAL 9.1
Sources
- CVE-2026-7598 · CVE Program
- CVE-2026-7598 · NVD
- FIRST EPSS
- GHSA-jhp3-h4hp-2c3p · GitHub Advisory Database · CC BY 4.0
- CVE-2026-7598 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences