CVE-2019-17498
A public proof of concept exists; no exploitation attested.
- Published2019-10-21
- WeaknessCWE-190
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2019-10-2122:15CVE publishedNVD
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 1.9 | ≤ 1.9.0 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 8.0 | = 8.0 | no fix published | NVD |
| 9.0 | = 9.0 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 30.x | = 30 | no fix published | NVD |
| 31.x | = 31 | no fix published | NVD |
7 more products in the sources.
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- libssh2Ubuntu:Pro:20.04:LTSall versions · fixed in 1.8.0-2.1ubuntu0.1+esm2
- libssh2Ubuntu:Pro:18.04:LTSall versions · fixed in 1.8.0-1ubuntu0.1+esm2
- libssh2Ubuntu:Pro:16.04:LTSall versions · fixed in 1.5.0-2ubuntu0.1+esm1
- libssh2Ubuntu:Pro:16.04:LTSall versions · fixed in 1.5.0-2ubuntu0.1+esm4
- libssh2Ubuntu:Pro:14.04:LTSall versions · fixed in 1.4.3-2ubuntu0.2+esm2
- libssh2Ubuntu:Pro:14.04:LTSall versions · fixed in 1.4.3-2ubuntu0.2+esm5
- libssh2Ubuntu:22.04:LTSall versions · fixed in 1.10.0-3+deb12u1build0.22.04.1
- libssh2TuxCare:CentOS:6all versions · fixed in 1.4.2-3.0.1.el6_10.1.tuxcare.els3and 2 other packages
96 more package ranges on OSV.dev
Vendor advisories
libssh2: integer overflow in SSH_MSG_DISCONNECT logic in packet.c
libssh2 as a component of Red Hat Enterprise Linux 6 · libssh2-devel as a component of Red Hat Enterprise Linux 6 · libssh2-docs as a component of Red Hat Enterprise Linux 6 · +5 more
Siemens SIMATIC S7-1500
SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) · SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) · SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) · +2 more
SSA-398330: Vulnerabilities in the additional GNU/Linux subsystem of the SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP >= V3.1.0 and < V3.1.5
SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= V3.1.0 < V3.1.5 · SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= V3.1.0 < V3.1.5 · SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= V3.1.0 < V3.1.5 · +2 more
Red Hat Security Advisory: Red Hat OpenShift Do openshift/odo-init-image 1.1.3 security update
Red Hat Security Advisory: libssh2 security update
Fix
- Vendor fix CISA ICSA-23-348-10 · 5 productsUpdate to V3.1.5 or later version
- Vendor fix Siemens ProductCERT SSA-398330 · 1 productUpdate to V3.1.5 or later version
- Vendor fix Red Hat Product Security RHSA-2021:0949 · 1 productDownload and install a new CLI binary by following the instructions linked from the References section.
- Vendor fix Red Hat Product Security RHSA-2020:3915 · 60 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 After installing these updated packages, all running applications using libssh2 must be restarted for this update to take effect.
- Mitigation from the vendor CISA ICSA-23-348-10 · 5 productsOnly build and run applications from trusted sources.
- No fix planned, says the vendor Red Hat Product Security CVE-2019-17498 · 4 productsOut of support scope
Advisories and patches
- github.comPatch
Detection
read 2026-11-01 01:02 UTC- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHub1 repository, unverifiedknown since 2026-11-01Timon-L/3007Project
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVSS 3.18.1read 2026-10-23
- NVDCVSS 2.05.8read 2026-10-23
- NVDweakness (CWE)CWE-190read 2026-10-23
- FIRST EPSSEPSS score3.8 %2026-12-04
- PoC-in-GitHubproof of concept1known since 2026-11-01
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- AZL-6650same flawAzure Linux · MIT
- EUVD-2019-7852same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-h2hf-mx7w-fhwmsame flawGitHub Advisory Database · CC-BY-4.0
- JLSEC-2025-188same flawJulia Security Advisories · CC-BY-4.0
- DLA-1991-1advisory covering several CVEsDebian · LicenseRef-unstated
- DLA-2848-1advisory covering several CVEsDebian · LicenseRef-unstated
- DLA-3559-1advisory covering several CVEsDebian · LicenseRef-unstated
- MGASA-2019-0343advisory covering several CVEsMageia · LicenseRef-unstated
- openSUSE-SU-2019:2483-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2020:2126-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2020:2129-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:10999-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2020:3915advisory covering several CVEsRed Hat · CC-BY-4.0
- SUSE-RU-2023:4066-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-RU-2023:4192-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2019:14206-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2019:14226-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2019:2900-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2019:2900-2advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2019:2936-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2020:3551-1advisory covering several CVEsSUSE · LicenseRef-unstated
- USN-5308-1advisory covering several CVEsUbuntu
- USN-9248-1advisory covering several CVEsUbuntu
Technical details
- CVSS v3 vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
- Published
- 2019-10-21
- Last modified
- 2026-10-14
- NVD status
- Modified
- GitHub advisory
- GHSA-h2hf-mx7w-fhwm
Frequently asked questions
What is CVE-2019-17498?
Is CVE-2019-17498 actively exploited?
What is the CVSS score for CVE-2019-17498?
Running libssh2? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website checks · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CISA ICS advisories (CSAF) · Public domain (US Government work)
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-h2hf-mx7w-fhwm
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- Siemens ProductCERT (CSAF) · TLP:WHITE (commercial use and redistribution granted)