Skip to content
OpenAdvisories
Unscored Public exploit CVE-2019-17498 EUVD-2019-7852GHSA-h2hf-mx7w-fhwm

In 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 att…

Published Oct 21, 2019 · Updated Oct 14, 2026 · Assigned by mitre

Description

In 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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libssh2 1.9.0-1 —
Debian 13 libssh2 1.9.0-1 —
Debian 12 libssh2 1.9.0-1 —
Debian 10 libssh2 1.8.0-2.1+deb10u1 DLA-3559-1
Debian 9 libssh2 1.7.0-1+deb9u2 DLA-2848-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Debian 8 libssh2 1.4.3-4.1+deb8u6 DLA-1991-1
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS libssh2 No fix yet —
Ubuntu Pro 18.04 LTS libssh2 No fix yet —
Ubuntu Pro 16.04 LTS libssh2 1.5.0-2ubuntu0.1+esm1 USN-5308-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 14.04 LTS libssh2 1.4.3-2ubuntu0.2+esm2 —
ReleasePackageFixed inAdvisory
RHEL 7 libssh2 +2 1.8.0-4.el7 RHSA-2020:3915
ReleasePackageFixed inAdvisory
SLES 15 SP5 libssh2_org 1.11.0-150000.4.19.1 SUSE-RU-2023:4192-1
SLES 15 SP4 libssh2_org 1.11.0-150000.4.19.1 SUSE-RU-2023:4192-1
SLES 15 SP3 libssh2_org 1.11.0-150000.4.19.1 SUSE-RU-2023:4192-1
SLES 15 SP2 libssh2_org 1.9.0-4.13.1 SUSE-SU-2020:3551-1, SUSE-RU-2023:4192-1
SLES 15 SP1 libssh2_org 1.9.0-4.13.1 SUSE-SU-2020:3551-1, SUSE-RU-2023:4192-1
Show 34 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 15 libssh2_org 1.8.0-4.10.1 SUSE-SU-2020:3551-1, SUSE-SU-2019:2900-2, SUSE-SU-2019:2900-1
SLES 12 SP5 libssh2_org 1.4.3-20.14.1 SUSE-SU-2019:2936-1, SUSE-RU-2023:4066-1
SLES 12 SP4 libssh2_org 1.4.3-20.14.1 SUSE-SU-2019:2936-1
SLES 12 SP3 libssh2_org 1.4.3-20.14.1 SUSE-SU-2019:2936-1
SLES 12 SP2 libssh2_org 1.4.3-20.14.1 SUSE-SU-2019:2936-1
SLES 12 SP1 libssh2_org 1.4.3-20.14.1 SUSE-SU-2019:2936-1
SLES 11 SP4 libssh2_org 1.4.3-17.12.1 SUSE-SU-2019:14206-1
SLES for SAP 15 SP3 libssh2_org 1.11.0-150000.4.19.1 SUSE-RU-2023:4192-1
SLES for SAP 15 SP2 libssh2_org 1.11.0-150000.4.19.1 SUSE-RU-2023:4192-1
SLES for SAP 15 SP1 libssh2_org 1.11.0-150000.4.19.1 SUSE-RU-2023:4192-1
SLES for SAP 15 libssh2_org 1.8.0-4.10.1 SUSE-SU-2020:3551-1, SUSE-SU-2019:2900-2
SLES for SAP 12 SP5 libssh2_org 1.4.3-20.14.1 SUSE-SU-2019:2936-1, SUSE-RU-2023:4066-1
SLES for SAP 12 SP4 libssh2_org 1.4.3-20.14.1 SUSE-SU-2019:2936-1
SLES for SAP 12 SP3 libssh2_org 1.4.3-20.14.1 SUSE-SU-2019:2936-1
SLES for SAP 12 SP2 libssh2_org 1.4.3-20.14.1 SUSE-SU-2019:2936-1
SLES for SAP 12 SP1 libssh2_org 1.4.3-20.14.1 SUSE-SU-2019:2936-1
SLE Micro 5.5 libssh2_org 1.11.0-150000.4.19.1 SUSE-RU-2023:4192-1
SLE Micro 5.4 libssh2_org 1.11.0-150000.4.19.1 SUSE-RU-2023:4192-1
SLE Micro 5.3 libssh2_org 1.11.0-150000.4.19.1 SUSE-RU-2023:4192-1
SLE Micro 5.2 libssh2_org 1.11.0-150000.4.19.1 SUSE-RU-2023:4192-1
SLE Micro 5.1 libssh2_org 1.11.0-150000.4.19.1 SUSE-RU-2023:4192-1
SLE HPC 15 SP3 libssh2_org 1.11.0-150000.4.19.1 SUSE-RU-2023:4192-1
SLE HPC 15 SP2 libssh2_org 1.11.0-150000.4.19.1 SUSE-RU-2023:4192-1
SLE HPC 15 SP1 libssh2_org 1.11.0-150000.4.19.1 SUSE-RU-2023:4192-1
SLE HPC 15 libssh2_org 1.8.0-4.10.1 SUSE-SU-2020:3551-1, SUSE-SU-2019:2900-2
SUSE OpenStack Cloud Crowbar 8 libssh2_org 1.4.3-20.14.1 SUSE-SU-2019:2936-1
SUSE OpenStack Cloud 8 libssh2_org 1.4.3-20.14.1 SUSE-SU-2019:2936-1
SUSE OpenStack Cloud 7 libssh2_org 1.4.3-20.14.1 SUSE-SU-2019:2936-1
SUSE Manager Server 4.2 libssh2_org 1.11.0-150000.4.19.1 SUSE-RU-2023:4192-1
SUSE Manager Proxy 4.2 libssh2_org 1.11.0-150000.4.19.1 SUSE-RU-2023:4192-1
SUSE Linux Enterprise Point of Sale 11 SP3 libssh2_org 1.2.9-4.2.12.18.1 SUSE-SU-2019:14226-1
SUSE HPE Helion OpenStack 8 libssh2_org 1.4.3-20.14.1 SUSE-SU-2019:2936-1
SUSE Enterprise Storage 7.1 libssh2_org 1.11.0-150000.4.19.1 SUSE-RU-2023:4192-1
SUSE Enterprise Storage 5 libssh2_org 1.4.3-20.14.1 SUSE-SU-2019:2936-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed libssh2_org 1.9.0-3.6 openSUSE-SU-2024:10999-1
openSUSE Leap 15.5 libssh2_org 1.11.0-150000.4.19.1 SUSE-RU-2023:4192-1
openSUSE Leap 15.4 libssh2_org 1.11.0-150000.4.19.1 SUSE-RU-2023:4192-1
openSUSE Leap 15.2 libssh2_org 1.9.0-lp152.8.3.1 openSUSE-SU-2020:2129-1
openSUSE Leap 15.1 libssh2_org 1.8.0-lp151.6.3.1 openSUSE-SU-2020:2126-1, openSUSE-SU-2019:2483-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
openSUSE Leap Micro 5.4 libssh2_org 1.11.0-150000.4.19.1 SUSE-RU-2023:4192-1
openSUSE Leap Micro 5.3 libssh2_org 1.11.0-150000.4.19.1 SUSE-RU-2023:4192-1
ReleasePackageFixed inAdvisory
Alpine v3.24 libssh2 1.9.0-r1 —
Alpine v3.23 libssh2 1.9.0-r1 —
Alpine v3.22 libssh2 1.9.0-r1 —
Alpine v3.21 libssh2 1.9.0-r1 —
Alpine v3.20 libssh2 1.9.0-r1 —
Show 11 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 libssh2 1.9.0-r1 —
Alpine v3.18 libssh2 1.9.0-r1 —
Alpine v3.17 libssh2 1.9.0-r1 —
Alpine v3.16 libssh2 1.9.0-r1 —
Alpine v3.15 libssh2 1.9.0-r1 —
Alpine v3.14 libssh2 1.9.0-r1 —
Alpine v3.13 libssh2 1.9.0-r1 —
Alpine v3.12 libssh2 1.9.0-r1 —
Alpine v3.11 libssh2 1.9.0-r1 —
Alpine v3.10 libssh2 1.9.0-r1 —
Alpine v3.9 libssh2 1.9.0-r1 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 libssh2 +2 1.4.3-12.amzn2.2.3 ALAS2-2020-1531

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) libssh2 1.9.0-1 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 libssh2 +2 1.8.0-4.el7 ELSA-2020-3915

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

  • Timon-L/3007Project ★ 0 · Oct 9, 2022

    Secure coding project, research on CVE-2019-17498 and implement a player score function written in C.

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 24

References