CVE-2019-17498
publishedlibssh2: integer overflow in SSH_MSG_DISCONNECT logic in packet.c
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Siemens | — | SIMATIC S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Amazon Linux | AL2 | Release evaluationALAS2-2020-1531 | Fixed | Not stated | Amazon Linux assessment |
| Alpine Linux | edge | libssh2 | Fixed | 1.9.0-r1 | Package fix record |
| Debian | buster | libssh2 | Advisory build | 1.8.0-2.1+deb10u1 | DLA-3559-1 |
| Oracle Linux | 7 | libssh2aarch64 | Advisory build | 0:1.8.0-4.el7 | ELSA-2020-3915 |
Show 99 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Siemens | — | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIPLUS S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Red Hat Enterprise Linux | RHEL-7 | libssh2i686 | Advisory build | 1.8.0-4.el7 | RHSA-2020:3915 |
| SUSE / openSUSE | SLE-11-SP3 | libssh2-1i586 | Advisory build | 1.2.9-4.2.12.18.1 | SUSE-SU-2019:14226-1 |
| Alpine Linux | v3.10 | libssh2 | Fixed | 1.9.0-r1 | Package fix record |
| Alpine Linux | v3.11 | libssh2 | Fixed | 1.9.0-r1 | Package fix record |
| Alpine Linux | v3.12 | libssh2 | Fixed | 1.9.0-r1 | Package fix record |
| Alpine Linux | v3.13 | libssh2 | Fixed | 1.9.0-r1 | Package fix record |
| Alpine Linux | v3.14 | libssh2 | Fixed | 1.9.0-r1 | Package fix record |
| Alpine Linux | v3.15 | libssh2 | Fixed | 1.9.0-r1 | Package fix record |
| Alpine Linux | v3.16 | libssh2 | Fixed | 1.9.0-r1 | Package fix record |
| Alpine Linux | v3.17 | libssh2 | Fixed | 1.9.0-r1 | Package fix record |
| Alpine Linux | v3.18 | libssh2 | Fixed | 1.9.0-r1 | Package fix record |
| Alpine Linux | v3.19 | libssh2 | Fixed | 1.9.0-r1 | Package fix record |
| Alpine Linux | v3.20 | libssh2 | Fixed | 1.9.0-r1 | Package fix record |
| Alpine Linux | v3.21 | libssh2 | Fixed | 1.9.0-r1 | Package fix record |
| Alpine Linux | v3.22 | libssh2 | Fixed | 1.9.0-r1 | Package fix record |
| Alpine Linux | v3.23 | libssh2 | Fixed | 1.9.0-r1 | Package fix record |
| Alpine Linux | v3.24 | libssh2 | Fixed | 1.9.0-r1 | Package fix record |
| Alpine Linux | v3.9 | libssh2 | Fixed | 1.9.0-r1 | Package fix record |
| Debian | jessie | libssh2 | Advisory build | 1.4.3-4.1+deb8u6 | DLA-1991-1 |
| Debian | stretch | libssh2 | Advisory build | 1.7.0-1+deb9u2 | DLA-2848-1 |
| Oracle Linux | 7 | libssh2x86_64 | Advisory build | 0:1.8.0-4.el7 | ELSA-2020-3915 |
| Oracle Linux | 7 | libssh2-develaarch64 | Advisory build | 0:1.8.0-4.el7 | ELSA-2020-3915 |
| Oracle Linux | 7 | libssh2-develx86_64 | Advisory build | 0:1.8.0-4.el7 | ELSA-2020-3915 |
| Oracle Linux | 7 | libssh2-docsaarch64 | Advisory build | 0:1.8.0-4.el7 | ELSA-2020-3915 |
| Oracle Linux | 7 | libssh2-docsx86_64 | Advisory build | 0:1.8.0-4.el7 | ELSA-2020-3915 |
| Red Hat Enterprise Linux | RHEL-7 | libssh2ppc | Advisory build | 1.8.0-4.el7 | RHSA-2020:3915 |
| Red Hat Enterprise Linux | RHEL-7 | libssh2ppc64 | Advisory build | 1.8.0-4.el7 | RHSA-2020:3915 |
| Red Hat Enterprise Linux | RHEL-7 | libssh2ppc64le | Advisory build | 1.8.0-4.el7 | RHSA-2020:3915 |
| Red Hat Enterprise Linux | RHEL-7 | libssh2s390 | Advisory build | 1.8.0-4.el7 | RHSA-2020:3915 |
| Red Hat Enterprise Linux | RHEL-7 | libssh2s390x | Advisory build | 1.8.0-4.el7 | RHSA-2020:3915 |
| Red Hat Enterprise Linux | RHEL-7 | libssh2src | Advisory build | 1.8.0-4.el7 | RHSA-2020:3915 |
| Red Hat Enterprise Linux | RHEL-7 | libssh2x86_64 | Advisory build | 1.8.0-4.el7 | RHSA-2020:3915 |
| Red Hat Enterprise Linux | RHEL-7 | libssh2-debuginfoi686 | Advisory build | 1.8.0-4.el7 | RHSA-2020:3915 |
| Red Hat Enterprise Linux | RHEL-7 | libssh2-debuginfoppc | Advisory build | 1.8.0-4.el7 | RHSA-2020:3915 |
| Red Hat Enterprise Linux | RHEL-7 | libssh2-debuginfoppc64 | Advisory build | 1.8.0-4.el7 | RHSA-2020:3915 |
| Red Hat Enterprise Linux | RHEL-7 | libssh2-debuginfoppc64le | Advisory build | 1.8.0-4.el7 | RHSA-2020:3915 |
| Red Hat Enterprise Linux | RHEL-7 | libssh2-debuginfos390 | Advisory build | 1.8.0-4.el7 | RHSA-2020:3915 |
| Red Hat Enterprise Linux | RHEL-7 | libssh2-debuginfos390x | Advisory build | 1.8.0-4.el7 | RHSA-2020:3915 |
| Red Hat Enterprise Linux | RHEL-7 | libssh2-debuginfox86_64 | Advisory build | 1.8.0-4.el7 | RHSA-2020:3915 |
| Red Hat Enterprise Linux | RHEL-7 | libssh2-develi686 | Advisory build | 1.8.0-4.el7 | RHSA-2020:3915 |
| Red Hat Enterprise Linux | RHEL-7 | libssh2-develppc | Advisory build | 1.8.0-4.el7 | RHSA-2020:3915 |
| Red Hat Enterprise Linux | RHEL-7 | libssh2-develppc64 | Advisory build | 1.8.0-4.el7 | RHSA-2020:3915 |
| Red Hat Enterprise Linux | RHEL-7 | libssh2-develppc64le | Advisory build | 1.8.0-4.el7 | RHSA-2020:3915 |
| Red Hat Enterprise Linux | RHEL-7 | libssh2-devels390 | Advisory build | 1.8.0-4.el7 | RHSA-2020:3915 |
| Red Hat Enterprise Linux | RHEL-7 | libssh2-devels390x | Advisory build | 1.8.0-4.el7 | RHSA-2020:3915 |
| Red Hat Enterprise Linux | RHEL-7 | libssh2-develx86_64 | Advisory build | 1.8.0-4.el7 | RHSA-2020:3915 |
| Red Hat Enterprise Linux | RHEL-7 | libssh2-docsnoarch | Advisory build | 1.8.0-4.el7 | RHSA-2020:3915 |
| SUSE / openSUSE | SLE-11-SP4 | libssh2-1i586 | Advisory build | 1.4.3-17.12.1 | SUSE-SU-2019:14206-1 |
| SUSE / openSUSE | SLE-11-SP4 | libssh2-1ppc64 | Advisory build | 1.4.3-17.12.1 | SUSE-SU-2019:14206-1 |
| SUSE / openSUSE | SLE-11-SP4 | libssh2-1s390x | Advisory build | 1.4.3-17.12.1 | SUSE-SU-2019:14206-1 |
| SUSE / openSUSE | SLE-11-SP4 | libssh2-1x86_64 | Advisory build | 1.4.3-17.12.1 | SUSE-SU-2019:14206-1 |
| SUSE / openSUSE | SLE-12-SP1 | libssh2-1ppc64le | Advisory build | 1.4.3-20.14.1 | SUSE-SU-2019:2936-1 |
| SUSE / openSUSE | SLE-12-SP1 | libssh2-1s390x | Advisory build | 1.4.3-20.14.1 | SUSE-SU-2019:2936-1 |
| SUSE / openSUSE | SLE-12-SP1 | libssh2-1x86_64 | Advisory build | 1.4.3-20.14.1 | SUSE-SU-2019:2936-1 |
| SUSE / openSUSE | SLE-12-SP1 | libssh2-1-32bits390x | Advisory build | 1.4.3-20.14.1 | SUSE-SU-2019:2936-1 |
| SUSE / openSUSE | SLE-12-SP1 | libssh2-1-32bitx86_64 | Advisory build | 1.4.3-20.14.1 | SUSE-SU-2019:2936-1 |
| SUSE / openSUSE | SLE-12-SP2 | libssh2-1ppc64le | Advisory build | 1.4.3-20.14.1 | SUSE-SU-2019:2936-1 |
| SUSE / openSUSE | SLE-12-SP2 | libssh2-1s390x | Advisory build | 1.4.3-20.14.1 | SUSE-SU-2019:2936-1 |
| SUSE / openSUSE | SLE-12-SP2 | libssh2-1x86_64 | Advisory build | 1.4.3-20.14.1 | SUSE-SU-2019:2936-1 |
| SUSE / openSUSE | SLE-12-SP2 | libssh2-1-32bits390x | Advisory build | 1.4.3-20.14.1 | SUSE-SU-2019:2936-1 |
| SUSE / openSUSE | SLE-12-SP2 | libssh2-1-32bitx86_64 | Advisory build | 1.4.3-20.14.1 | SUSE-SU-2019:2936-1 |
| SUSE / openSUSE | SLE-12-SP3 | libssh2-1aarch64 | Advisory build | 1.4.3-20.14.1 | SUSE-SU-2019:2936-1 |
| SUSE / openSUSE | SLE-12-SP3 | libssh2-1ppc64le | Advisory build | 1.4.3-20.14.1 | SUSE-SU-2019:2936-1 |
| SUSE / openSUSE | SLE-12-SP3 | libssh2-1s390x | Advisory build | 1.4.3-20.14.1 | SUSE-SU-2019:2936-1 |
| SUSE / openSUSE | SLE-12-SP3 | libssh2-1x86_64 | Advisory build | 1.4.3-20.14.1 | SUSE-SU-2019:2936-1 |
| SUSE / openSUSE | SLE-12-SP3 | libssh2-1-32bits390x | Advisory build | 1.4.3-20.14.1 | SUSE-SU-2019:2936-1 |
| SUSE / openSUSE | SLE-12-SP3 | libssh2-1-32bitx86_64 | Advisory build | 1.4.3-20.14.1 | SUSE-SU-2019:2936-1 |
| SUSE / openSUSE | SLE-12-SP4 | libssh2-1aarch64 | Advisory build | 1.4.3-20.14.1 | SUSE-SU-2019:2936-1 |
| SUSE / openSUSE | SLE-12-SP4 | libssh2-1ppc64le | Advisory build | 1.4.3-20.14.1 | SUSE-SU-2019:2936-1 |
| SUSE / openSUSE | SLE-12-SP4 | libssh2-1s390x | Advisory build | 1.4.3-20.14.1 | SUSE-SU-2019:2936-1 |
| SUSE / openSUSE | SLE-12-SP4 | libssh2-1x86_64 | Advisory build | 1.4.3-20.14.1 | SUSE-SU-2019:2936-1 |
| SUSE / openSUSE | SLE-12-SP4 | libssh2-1-32bits390x | Advisory build | 1.4.3-20.14.1 | SUSE-SU-2019:2936-1 |
| SUSE / openSUSE | SLE-12-SP4 | libssh2-1-32bitx86_64 | Advisory build | 1.4.3-20.14.1 | SUSE-SU-2019:2936-1 |
| SUSE / openSUSE | SLE-12-SP4 | libssh2-develaarch64 | Advisory build | 1.4.3-20.14.1 | SUSE-SU-2019:2936-1 |
| SUSE / openSUSE | SLE-12-SP4 | libssh2-develppc64le | Advisory build | 1.4.3-20.14.1 | SUSE-SU-2019:2936-1 |
| SUSE / openSUSE | SLE-12-SP4 | libssh2-devels390x | Advisory build | 1.4.3-20.14.1 | SUSE-SU-2019:2936-1 |
| SUSE / openSUSE | SLE-12-SP4 | libssh2-develx86_64 | Advisory build | 1.4.3-20.14.1 | SUSE-SU-2019:2936-1 |
| SUSE / openSUSE | SLE-12-SP5 | libssh2-1aarch64 | Advisory build | 1.4.3-20.14.1 | SUSE-SU-2019:2936-1 |
| SUSE / openSUSE | SLE-12-SP5 | libssh2-1ppc64le | Advisory build | 1.4.3-20.14.1 | SUSE-SU-2019:2936-1 |
| SUSE / openSUSE | SLE-12-SP5 | libssh2-1s390x | Advisory build | 1.4.3-20.14.1 | SUSE-SU-2019:2936-1 |
| SUSE / openSUSE | SLE-12-SP5 | libssh2-1x86_64 | Advisory build | 1.4.3-20.14.1 | SUSE-SU-2019:2936-1 |
| SUSE / openSUSE | SLE-12-SP5 | libssh2-1-32bits390x | Advisory build | 1.4.3-20.14.1 | SUSE-SU-2019:2936-1 |
| SUSE / openSUSE | SLE-12-SP5 | libssh2-1-32bitx86_64 | Advisory build | 1.4.3-20.14.1 | SUSE-SU-2019:2936-1 |
| SUSE / openSUSE | SLE-12-SP5 | libssh2-develaarch64 | Advisory build | 1.4.3-20.14.1 | SUSE-SU-2019:2936-1 |
| SUSE / openSUSE | SLE-12-SP5 | libssh2-develppc64le | Advisory build | 1.4.3-20.14.1 | SUSE-SU-2019:2936-1 |
| SUSE / openSUSE | SLE-12-SP5 | libssh2-devels390x | Advisory build | 1.4.3-20.14.1 | SUSE-SU-2019:2936-1 |
| SUSE / openSUSE | SLE-12-SP5 | libssh2-develx86_64 | Advisory build | 1.4.3-20.14.1 | SUSE-SU-2019:2936-1 |
| SUSE / openSUSE | SLE-15 | libssh2-1aarch64 | Advisory build | 1.8.0-4.10.1 | SUSE-SU-2019:2900-1 |
| SUSE / openSUSE | SLE-15 | libssh2-1aarch64 | Advisory build | 1.8.0-4.10.1 | SUSE-SU-2019:2900-2 |
| SUSE / openSUSE | SLE-15 | libssh2-1aarch64 | Advisory build | 1.9.0-4.13.1 | SUSE-SU-2020:3551-1 |
| SUSE / openSUSE | SLE-15 | libssh2-1ppc64le | Advisory build | 1.8.0-4.10.1 | SUSE-SU-2019:2900-1 |
| SUSE / openSUSE | SLE-15 | libssh2-1ppc64le | Advisory build | 1.8.0-4.10.1 | SUSE-SU-2019:2900-2 |
| SUSE / openSUSE | SLE-15 | libssh2-1ppc64le | Advisory build | 1.9.0-4.13.1 | SUSE-SU-2020:3551-1 |
| SUSE / openSUSE | SLE-15 | libssh2-1s390x | Advisory build | 1.8.0-4.10.1 | SUSE-SU-2019:2900-1 |
| SUSE / openSUSE | SLE-15 | libssh2-1s390x | Advisory build | 1.8.0-4.10.1 | SUSE-SU-2019:2900-2 |
| SUSE / openSUSE | SLE-15 | libssh2-1s390x | Advisory build | 1.9.0-4.13.1 | SUSE-SU-2020:3551-1 |
| SUSE / openSUSE | SLE-15 | libssh2-1x86_64 | Advisory build | 1.8.0-4.10.1 | SUSE-SU-2019:2900-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
Weaknesses
1- n/a
References
13- openSUSE-SU-2019:2483 http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00026.html
- http://packetstormsecurity.com/files/172835/libssh2-1.9.0-Out-Of-Bounds-Read.html
- https://blog.semmle.com/libssh2-integer-overflow-CVE-2019-17498/
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- https://github.com/kevinbackhouse/SecurityExploits/tree/8cbdbbe6363510f7d9ceec685373da12e6fc752d/libssh2/out_of_bounds_read_disconnect_CVE-2019-17498
- https://github.com/libssh2/libssh2/blob/42d37aa63129a1b2644bf6495198923534322d64/src/packet.c#L480
- https://github.com/libssh2/libssh2/commit/dedcbd106f8e52d5586b0205bc7677e4c9868f9c
- [debian-lts-announce] 20191113 [SECURITY] [DLA 1991-1] libssh2 security update https://lists.debian.org/debian-lts-announce/2019/11/msg00010.html
- [debian-lts-announce] 20211217 [SECURITY] [DLA 2848-1] libssh2 security update https://lists.debian.org/debian-lts-announce/2021/12/msg00013.html
- [debian-lts-announce] 20230908 [SECURITY] [DLA 3559-1] libssh2 security update https://lists.debian.org/debian-lts-announce/2023/09/msg00006.html
- FEDORA-2019-ec04c34768 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/22H4Q5XMGS3QNSA7OCL3U7UQZ4NXMR5O/
- FEDORA-2019-91529f19e4 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TY7EEE34RFKCTXTMBQQWWSLXZWSCXNDB/
- https://security.netapp.com/advisory/ntap-20220909-0004/
Provider assertions
3mitre · cna
siemens-SADP · adp
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 1ffc70ac6d2cdb51d7ba5d86ed9b1c83f02528c0d75fd65266d17d35f2a05ecc
- Ingested
- 14 Oct 2026, 09:52:31 UTC
- Source record
- Official CVE record