CVE-2019-17498 json
In libssh2 v1.9.0 and earlier versions, the `SSH_MSG_DISCONNECT` logic in packet.c has an integer...
published 7y ago modified 26d ago also EUVD-2019-7852 , JLSEC-2025-188
- cvss
- 8.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.8%
- EPSS 3.8% chance of exploitation in 30 days, percentile 90%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- julia LibSSH2_jll 1.10.1+0
- Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP V3.1.5
- Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP V3.1.5
- Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP V3.1.5
- libssh2 Debian 14, Debian 13, Debian 12 1.9.0-1
debian advisories DEBIAN-CVE-2019-17498
- libssh2 Ubuntu Pro 14.04 LTS 1.4.3-2ubuntu0.2+esm2
- libssh2 Ubuntu Pro 16.04 LTS 1.5.0-2ubuntu0.1+esm1
ubuntu advisories UBUNTU-CVE-2019-17498
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- libssh2 RHEL 7 1.8.0-4.el7
red hat advisories RHSA-2020:3915
- libssh2_org SLES for SAP 15 SP3, SLES for SAP 15 SP2, SLES for SAP 15 SP1 +21 more 1.11.0-150000.4.19.1
- libssh2_org SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 1.11.0-29.6.1
- libssh2_org SLES for SAP 15, SLES 15-LTSS, SLE Module for Basesystem 15 SP2 +3 more 1.9.0-4.13.1
- libssh2_org SLE Module for Basesystem 15, SLE High Performance Computing 15-ESPOS, SLES for SAP 15 +2 more 1.8.0-4.10.1
- libssh2_org SLE Point of Sale 11 SP3 1.2.9-4.2.12.18.1
- libssh2_org SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES for SAP 12 SP3 +17 more 1.4.3-20.14.1
- libssh2_org SLES 11 SP4-LTSS 1.4.3-17.12.1
suse advisories SUSE-RU-2023:4192-1SUSE-RU-2023:4066-1SUSE-SU-2020:3551-1SUSE-SU-2019:2900-2SUSE-SU-2019:14226-1SUSE-SU-2019:2936-1
- libssh2_org openSUSE Tumbleweed 1.9.0-3.6
- libssh2_org openSUSE Leap 15.2 1.9.0-lp152.8.3.1
- libssh2_org openSUSE Leap 15.1 1.9.0-lp151.6.6.1
- libssh2_org openSUSE Leap 15.1 1.8.0-lp151.6.3.1
opensuse advisories openSUSE-SU-2024:10999-1openSUSE-SU-2020:2129-1openSUSE-SU-2020:2126-1openSUSE-SU-2019:2483-1
- libssh2 Alpine 3.24, Alpine 3.23, Alpine 3.22 +13 more 1.9.0-r1
alpine advisories ALPINE-CVE-2019-17498
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- libssh2 CBL-Mariner 2.0 1.9.0-1
azure linux advisories AZL-6650
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
- libssh2 Arch Linux 1.9.0-3
arch linux advisories AVG-1690
Is CVE-2019-17498 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2019-17498 updated cvss 6.5
libssh2: integer overflow in SSH_MSG_DISCONNECT logic in packet.c
-
Red Hat Enterprise Linux 6 libssh2affected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 8 Advanced Virtualization libssh2affected: no fix planned “Will not fix”
-
Red Hat OpenShift Do 1 openshiftdo/odo-init-image-rhel7 1.1.3-2fixed: vendor fix RHSA-2021:0949
-
Red Hat Enterprise Linux Client (v. 7) libssh2 1.8.0-4.el7 Red Hat Enterprise Linux Client Optional (v. 7) libssh2-docs 1.8.0-4.el7, libssh2-devel 1.8.0-4.el7, libssh2-debuginfo 1.8.0-4.el7 Red Hat Enterprise Linux ComputeNode (v. 7) libssh2 1.8.0-4.el7 Red Hat Enterprise Linux ComputeNode Optional (v. 7) libssh2-docs 1.8.0-4.el7, libssh2-devel 1.8.0-4.el7, libssh2-debuginfo 1.8.0-4.el7 Red Hat Enterprise Linux Server (v. 7) libssh2 1.8.0-4.el7 Red Hat Enterprise Linux Server Optional (v. 7) libssh2-docs 1.8.0-4.el7, libssh2-devel 1.8.0-4.el7, libssh2-debuginfo 1.8.0-4.el7fixed: vendor fix RHSA-2020:3915
+2 more productsfewer
Red Hat Enterprise Linux Workstation (v. 7) libssh2 1.8.0-4.el7 Red Hat Enterprise Linux Workstation Optional (v. 7) libssh2-docs 1.8.0-4.el7, libssh2-devel 1.8.0-4.el7, libssh2-debuginfo 1.8.0-4.el7 -
Red Hat Enterprise Linux 8 libssh2not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
cisa ICSA-23-348-10 updated cvss 8.1
Siemens SIMATIC S7-1500
-
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) >= 3.1.0, < 3.1.5 Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) >= 3.1.0, < 3.1.5affected: fixed in V3.1.5, mitigation support.industry.siemens.com
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
Exploit prediction
3.81% chance of exploitation in the next 30 days, higher than 90% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/libssh2/libssh2/blob/42d37aa63129a1b2644bf6495198923534322d64/src/packet.c#L480 referenced PoC, tagged "exploit" by a source, unverified
- github.com https://github.com/kevinbackhouse/SecurityExploits/tree/8cbdbbe6363510f7d9ceec685373da12e6fc752d/libssh2/out_of_bounds_read_disconnect_CVE-2019-17498 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H |
| NVD | 2.0 | 5.8 | AV:N/AC:M/Au:N/C:P/I:N/A:P |
| OSV | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| julia | LibSSH2_jll | <1.10.1+0 |
1.10.1+0 |
Affected products
- Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP
- Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP
- Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP
Classification
- Weakness
-
- CWE-190 Integer Overflow or Wraparound
References
-
github.com
/libssh2/libssh2/commit/dedcbd106f8e52d5586b0205bc7677e4c9868f9c
patch, third-party-advisory, web
-
github.com
/libssh2/libssh2/blob/42d37aa63129a1b2644bf6495198923534322d64/src/packet.c#L480
exploit, third-party-advisory, web
-
github.com
/kevinbackhouse/SecurityExploits/tree/8cbdbbe6363510f7d9ceec685373da12e6fc752d/libssh2/out_of_bounds_read_disc
exploit, third-party-advisory, web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/TY7EEE34RFKCTXTMBQQWWSLXZWSCXNDB/
vendor-advisory, web
-
lists.opensuse.org
/opensuse-security-announce/2019-11/msg00026.html
vendor-advisory, mailing-list, third-party-advisory, web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/22H4Q5XMGS3QNSA7OCL3U7UQZ4NXMR5O/
vendor-advisory, web
-
blog.semmle.com
/libssh2-integer-overflow-CVE-2019-17498/
broken-link, web
-
lists.debian.org
/debian-lts-announce/2019/11/msg00010.html
mailing-list, third-party-advisory, web
-
lists.debian.org
/debian-lts-announce/2021/12/msg00013.html
mailing-list, third-party-advisory, web
-
security.netapp.com
/advisory/ntap-20220909-0004/
third-party-advisory, web
-
packetstormsecurity.com
/files/172835/libssh2-1.9.0-Out-Of-Bounds-Read.html
web
-
lists.debian.org
/debian-lts-announce/2023/09/msg00006.html
mailing-list, web
- cert-portal.siemens.com /productcert/html/ssa-398330.html
Sources
- CVE List CVE-2019-17498
- NVD CVE-2019-17498
- OSV JLSEC-2025-188
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.