CVE-2019-3857
Reported by redhat · Published March 25, 2019
libssh2-vc141_xp is fixed in 1.8.0 (NuGet)
An integer overflow flaw which could lead to an out of bounds write was discovered in libssh2 before 1.8.1 in the way SSH_MSG_CHANNEL_REQUEST packets with an exit signal are parsed. A remote attacker who compromises a SSH server may be able to execute code on the client system when a user connects to the server.
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.0 |
| libssh2 | Arch Linux | 1.8.1-1 |
| libssh2-docs | Amazon Linux | 1.4.3-12.amzn2.2 |
| libssh2-devel | Amazon Linux | 1.4.3-12.amzn2.2 |
| libssh2 | Alpine | 1.8.1-r0 |
| libssh2 | Amazon Linux | 1.4.3-12.amzn2.2 |
| libssh2 | Ubuntu:Pro:14.04:LTS | 1.4.3-2ubuntu0.2+esm2 |
| libssh2 | libssh2 | 1.8.0 |
| libssh2 | Ubuntu:Pro:16.04:LTS | 1.5.0-2ubuntu0.1+esm1 |
| SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | Siemens | 3.1.5 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| The libssh2 Project | libssh2 | 1.8.1 |
| arch | libssh2 | 0 |
| amazon:2 | libssh2-docs | 0 |
| amazon:2 | libssh2-devel | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | 3.1.0 |
| alpine | libssh2 | 0 |
| amazon:2 | libssh2 | 0 |
| The libssh2 Project | libssh2 | 1.8.1 |
| NuGet | libssh2-vc141_xp | 1.2.8 |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | 3.1.0 |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | 3.1.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-3857
vulnetix vdb fixes CVE-2019-3857
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-3857/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- x_refsource_MISC
- [debian-lts-announce] 20190326 [SECURITY] [DLA 1730-1] libssh2 security update mailing-listx_refsource_MLIST
- x_refsource_CONFIRM
- RHSA-2019:0679 vendor-advisoryx_refsource_REDHAT
- 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:1175 vendor-advisoryx_refsource_REDHAT
- RHSA-2019:1652 vendor-advisoryx_refsource_REDHAT
- RHSA-2019:1791 vendor-advisoryx_refsource_REDHAT
- RHSA-2019:1943 vendor-advisoryx_refsource_REDHAT
- RHSA-2019:2399 vendor-advisoryx_refsource_REDHAT
- x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2019-3857 advisory
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html url