CVEfocus › CVE database › CVE-2019-17498

CVE-2019-17498

CVSS 8.1 HighEPSS 3.8% (higher than 91% of CVEs)Published 2019-10-21Updated 2026-10-14Assigner: mitre

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.

What to do

Fixed builds are available from Alpine, Debian, Red Hat: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

22Fixed
4Fix pending
3Will not fix
7Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04libssh2Not affected
vulnerable_code_not_present
Ubuntu 25.10libssh2Not affected
vulnerable_code_not_present
Ubuntu 24.04libssh2Not affected
vulnerable_code_not_present
Ubuntu 22.04libssh2Not affected
vulnerable_code_not_present
Ubuntu 20.04libssh2Fix pendingUBUNTU-CVE-2019-17498
Ubuntu 18.04libssh2Fix pendingUBUNTU-CVE-2019-17498
Ubuntu 16.04libssh2Fix pending1.5.0-2ubuntu0.1+esm1 (Ubuntu Pro)UBUNTU-CVE-2019-17498
Ubuntu 14.04libssh2Fix pending1.4.3-2ubuntu0.2+esm2 (Ubuntu Pro)UBUNTU-CVE-2019-17498
Debian 14libssh2Fixed1.9.0-1DEBIAN-CVE-2019-17498
Debian 13libssh2Fixed1.9.0-1DEBIAN-CVE-2019-17498
Debian 12libssh2Fixed1.9.0-1DEBIAN-CVE-2019-17498
Red Hat Enterprise Linux 8libssh2Not affected
Red Hat Enterprise Linux 8libssh2-develNot affected
Red Hat Enterprise Linux 8libssh2-docsNot affected
Red Hat Enterprise Linux 7libssh2Fixed0:1.8.0-4.el7RHSA-2020:3915
Red Hat Enterprise Linux 7libssh2-develFixed0:1.8.0-4.el7RHSA-2020:3915
Red Hat Enterprise Linux 7libssh2-docsFixed0:1.8.0-4.el7RHSA-2020:3915
Red Hat Enterprise Linux 6libssh2Will not fix
Out of support scope
Red Hat Enterprise Linux 6libssh2-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6libssh2-docsWill not fix
Out of support scope
Alpine Linux 3.24libssh2Fixed1.9.0-r1ALPINE-CVE-2019-17498
Alpine Linux 3.23libssh2Fixed1.9.0-r1ALPINE-CVE-2019-17498
Alpine Linux 3.22libssh2Fixed1.9.0-r1ALPINE-CVE-2019-17498
Alpine Linux 3.21libssh2Fixed1.9.0-r1ALPINE-CVE-2019-17498
Alpine Linux 3.20libssh2Fixed1.9.0-r1ALPINE-CVE-2019-17498
Alpine Linux 3.19libssh2Fixed1.9.0-r1ALPINE-CVE-2019-17498
Alpine Linux 3.18libssh2Fixed1.9.0-r1ALPINE-CVE-2019-17498
Alpine Linux 3.17libssh2Fixed1.9.0-r1ALPINE-CVE-2019-17498
Alpine Linux 3.16libssh2Fixed1.9.0-r1ALPINE-CVE-2019-17498
Alpine Linux 3.15libssh2Fixed1.9.0-r1ALPINE-CVE-2019-17498
Alpine Linux 3.14libssh2Fixed1.9.0-r1ALPINE-CVE-2019-17498
Alpine Linux 3.13libssh2Fixed1.9.0-r1ALPINE-CVE-2019-17498
Alpine Linux 3.12libssh2Fixed1.9.0-r1ALPINE-CVE-2019-17498
Alpine Linux 3.11libssh2Fixed1.9.0-r1ALPINE-CVE-2019-17498
Alpine Linux 3.10libssh2Fixed1.9.0-r1ALPINE-CVE-2019-17498
Alpine Linux 3.9libssh2Fixed1.9.0-r1ALPINE-CVE-2019-17498

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.