DescriptionIn libssh2 v1.9.0 and earlier versions, the SSH_MSG_DISCONNECT logic in packet.c has an integer overflow in a bounds check, enabling an attacker to specify an arbitrary (out-of-bounds) offset for a subsequent memory read. A crafted SSH server may be able to disclose sensitive information or cause a denial of service condition on the client system when a user connects to the server.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severitymedium
Debian Bugs943562

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libssh2 (PTS)jessie1.4.3-4.1+deb8u1vulnerable
jessie (security)1.4.3-4.1+deb8u6fixed
stretch (security), stretch1.7.0-1+deb9u1vulnerable
bullseye, sid, buster1.8.0-2.1vulnerable

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs


[buster] - libssh2 <no-dsa> (Minor issue)
[stretch] - libssh2 <no-dsa> (Minor issue)
Backported SUSE patch for versions <= 1.8.0 (including struct string_buf,
and the functions _libssh2_check_length(), _libssh2_get_u32() and
libssh2_get_string(), forming part of the fix):
Only exploitable with a malicious server

Search for package or bug name: Reporting problems