CVE-2026-7598

NameCVE-2026-7598
DescriptionA 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-4773-1, DSA-6365-1
Debian Bugs1135647

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libssh2 (PTS)bookworm1.10.0-3vulnerable
bookworm (security)1.10.0-3+deb12u1fixed
trixie1.11.1-1+deb13u2fixed
trixie (security)1.11.1-1+deb13u1fixed
forky, sid1.11.1-6fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libssh2sourcebookworm1.10.0-3+deb12u1DLA-4773-1
libssh2sourcetrixie1.11.1-1+deb13u1DSA-6365-1
libssh2source(unstable)1.11.1-31135647

Notes

[bullseye] - libssh2 <postponed> (Minor issue, unlikely user/pass length)
https://github.com/libssh2/libssh2/pull/1858
https://github.com/libssh2/libssh2/commit/256d04b60d80bf1190e96b0ad1e91b2174d744b1

Search for package or bug name: Reporting problems