CVE-2019-3858
Reported by redhat · Published March 21, 2019
libssh2-vc141_xp is fixed in 1.8.1 (NuGet)
An out of bounds read flaw was discovered in libssh2 before 1.8.1 when a specially crafted SFTP packet is received from the server. A remote attacker who compromises a SSH server may be able to cause a Denial of Service or read data in the client memory.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| libssh2-vc141_xp | NuGet | 1.8.1 |
| libssh2-docs | Amazon Linux | 1.4.3-12.amzn2.2.1 |
| libssh2 | Arch Linux | 1.8.1-1 |
| libssh2-devel | Amazon Linux | 1.4.3-12.amzn2.2.1 |
| libssh2 | Ubuntu:Pro:14.04:LTS | 1.4.3-2ubuntu0.2+esm2 |
| SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | Siemens | 3.1.5 |
| SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | Siemens | 3.1.5 |
| libssh2 | Ubuntu:Pro:16.04:LTS | 1.5.0-2ubuntu0.1+esm1 |
| libssh2 | libssh2 | 1.8.1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| The libssh2 Project | libssh2 | 1.8.1 |
| amazon:2 | libssh2-docs | 0 |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | 3.1.0 |
| arch | libssh2 | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | 3.1.0 |
| amazon:2 | libssh2-devel | 0 |
| NuGet | libssh2-vc141_xp | 0 |
| The libssh2 Project | libssh2 | 1.8.1 |
| amazon:2 | libssh2 | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | 3.1.0 |
| alpine | libssh2 | 0 |
Timeline
- Mar 18, 2019 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Dec 16, 2025 PoC Published
- Mar 6, 2026 Distribution Patch (10 in total, the first dated here)
- Mar 6, 2026 Security Advisory (17 in total, the first dated here)
- Sep 10, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2019-3858
vulnetix vdb fixes CVE-2019-3858
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2019-3858/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- [oss-security] 20190318 [SECURITY ADVISORIES] libssh2 mailing-listx_refsource_MLIST
- 20190319 [slackware-security] libssh2 (SSA:2019-077-01) mailing-listx_refsource_BUGTRAQ
- x_refsource_CONFIRM
- x_refsource_MISC
- x_refsource_MISC
- 107485 vdb-entryx_refsource_BID
- FEDORA-2019-f31c14682f vendor-advisoryx_refsource_FEDORA
- x_refsource_CONFIRM
- [debian-lts-announce] 20190326 [SECURITY] [DLA 1730-1] libssh2 security update mailing-listx_refsource_MLIST
- x_refsource_CONFIRM
- openSUSE-SU-2019:1075 vendor-advisoryx_refsource_SUSE
- openSUSE-SU-2019:1109 vendor-advisoryx_refsource_SUSE
- FEDORA-2019-3348cb4934 vendor-advisoryx_refsource_FEDORA
- DSA-4431 vendor-advisoryx_refsource_DEBIAN
- 20190415 [SECURITY] [DSA 4431-1] libssh2 security update mailing-listx_refsource_BUGTRAQ
- RHSA-2019:2136 vendor-advisoryx_refsource_REDHAT
- x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2019-3858 advisory
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html url