cve.bz

CVE-2026-7598 libssh2 libssh2: Numeric Errors

6.9 mediumEPSS 0.6%Fix available

Medium (6.9) in libssh2 libssh2. EPSS 0.6% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 4.0

6.9 medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

CVSS 3.1

7.3 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
EPSS
0.6% (up from 0.5% a week ago; 0.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 50th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2026-05-04. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-189 Numeric Errors
CWE-190 Integer Overflow or Wraparound (Year 2038 problem, Y2K38, Y2038, Epochalypse)
Published
Modified
Assigned by
VulDB (CNA)
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-7598 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-7598?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-7598?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-7598 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
libssh2:libssh2through 1.11.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12libssh21.10.0-3+deb12u1DEBIAN-CVE-2026-7598 DLA-4773-1
Debian13libssh21.11.1-1+deb13u1DEBIAN-CVE-2026-7598 DSA-6365-1
Debian14libssh21.11.1-3DEBIAN-CVE-2026-7598
Ubuntu22.04:LTS, Pro:14.04:LTS, Pro:16.04:LTS and 2 morelibssh2no fix listedUBUNTU-CVE-2026-7598
Ubuntu24.04:LTSlibssh21.11.0-4.1ubuntu0.24.04.1UBUNTU-CVE-2026-7598
Ubuntu25.10libssh21.11.1-1ubuntu0.25.10.1UBUNTU-CVE-2026-7598
Ubuntu26.04:LTSlibssh21.11.1-1ubuntu0.26.04.1UBUNTU-CVE-2026-7598
Red Hathummingbird:1libssh2, libssh2-docs, libssh2-devel0:1.11.1-5.1.hum1RHSA-2026:7021
Red Hathummingbird:1rust, rustfmt, rust-doc and 14 more0:1.95.0-5.hum1RHSA-2026:16736
Red Hatrhel_els:7libssh2, libssh2-devel0:1.8.0-4.el7_9.2RHSA-2026:61752
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 morelibssh2_org1.11.0-150200.9.8.1SUSE-SU-2026:3526-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Server 15 SP4-LTSSlibssh2_org1.11.0-150000.4.35.1SUSE-SU-2026:4095-1
SUSELinux Enterprise Module for Basesystem 15 SP7, Linux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6libssh2_org1.11.0-150600.20.6.1SUSE-SU-2026:3541-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5libssh2_org1.11.0-29.18.1SUSE-SU-2026:3525-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0libssh2_org1.11.1-160000.5.1SUSE-SU-2026:23214-1 SUSE-SU-2026:23225-1
SUSELinux Micro 6.0libssh2_org1.11.0-4.1SUSE-SU-2026:23245-1
SUSELinux Micro 6.1libssh2_org1.11.0-slfo.1.1_2.1SUSE-SU-2026:23187-1
SUSELinux Micro 6.2libssh2_org1.11.1-160000.5.1SUSE-SU-2026:23049-1
openSUSELeap 16.0libssh2_org1.11.1-160000.5.1openSUSE-SU-2026:21549-1
openSUSETumbleweedlibssh2_org1.11.1-3.1openSUSE-SU-2026:11109-1
Alpinev3.20libssh21.11.0-r3ALPINE-CVE-2026-7598
Alpinev3.21, v3.22libssh21.11.1-r1ALPINE-CVE-2026-7598
Alpinev3.23, v3.24libssh21.11.1-r2ALPINE-CVE-2026-7598
Azure Linux3libssh21.11.1-2AZL-85451
Azure Linux3rust1.75.0-30AZL-97404
Azure Linux3rust1.96.1-2AZL-97431
Alpaquita23, 25libssh21.11.1-r1BELL-CVE-2026-7598
Alpaquitastreamlibssh21.11.1-r2BELL-CVE-2026-7598

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita.

Red Hat

Red Hat rates this Important.

Red Hat's statement

To exploit this flaw, an attacker needs to be able to supply an excessively large value to the arguments of the `userauth_password` function, typically to an application processing untrusted SSH authentication requests. The primary security impact of this issue is a crash to the application linked to the library due to memory corruption, potentially allowing arbitrary code execution.

Default Red Hat Enterprise Linux security features, including SELinux enforcement, Address Space Layout Randomization (ASLR) and NX (No-Execute) stack protection, significantly increase the difficulty of achieving arbitrary code execution, limiting the impact of this vulnerability.

Due to these reasons, this vulnerability has been rated with an important severity.

Red Hat's mitigation

To mitigate this flaw, applications linked to the libssh2 library should be configured or updated to exclusively use public key authentication. Explicitly disabling password-based logins prevents the application from executing the vulnerable userauth_password function.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7 Extended Lifecycle Supportlibssh2-0:1.8.0-4.el7_9.2Fixed 2026-08-31RHSA-2026:61752
Red Hat Hardened Imagesrust-main-1.95.0-5.hum1Fixed 2026-05-13RHSA-2026:16736
Red Hat Hardened Imageslibssh2-main-1.11.1-5.1.hum1Fixed 2026-04-08RHSA-2026:7021
Red Hat Enterprise Linux 6libssh2Will not fix
Red Hat OpenShift Container Platform 4conmon-rsNot affected
Red Hat OpenShift Update Serviceopenshift-update-service/openshift-update-service-rhel8Not affected
Red Hat Trusted Profile Analyzerrhtpa/rhtpa-trustification-service-rhel9Affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-7598.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-26-295-11Siemens SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP2026-10-13Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= V3.1.7, SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= V3.1.7, SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= V3.1.7 and 2 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON