libssh2: Integer overflow in SSH packet processing channel resulting in out of bounds write
Published Mar 25, 2019
8.8
HIGHCVSS 3.1
EPSS 6.13%
Description
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.
Affected products
-
- Version 1.8.1StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| The libssh2 Project | Libssh2 | n/a |
|
Configuration 2
- 8.0
- 9.0
Configuration 3
- n/a
Configuration 5
- 8.0
- 7.0
- 7.0
- 7.6
- 7.6
- 7.6
- 7.0
Configuration 6
- 28
Configuration 7
- 8.56
- 8.57
No data.
Red Hat Enterprise Linux 6
libssh2-0:1.4.2-3.el6_10.1
Fixed · RHSA-2019:1652
Red Hat Enterprise Linux 7
libssh2-0:1.4.3-12.el7_6.2
Fixed · RHSA-2019:0679
Red Hat Enterprise Linux 7.3 Advanced Update Support
libssh2-0:1.4.3-11.el7_3.1
Fixed · RHSA-2019:2399
Red Hat Enterprise Linux 7.3 Telco Extended Update Support
libssh2-0:1.4.3-11.el7_3.1
Fixed · RHSA-2019:2399
Red Hat Enterprise Linux 7.3 Update Services for SAP Solutions
libssh2-0:1.4.3-11.el7_3.1
Fixed · RHSA-2019:2399
Red Hat Enterprise Linux 7.4 Extended Update Support
libssh2-0:1.4.3-11.el7_4.1
Fixed · RHSA-2019:1943
Red Hat Enterprise Linux 7.5 Extended Update Support
libssh2-0:1.4.3-11.el7_5.1
Fixed · RHSA-2019:1791
Red Hat Enterprise Linux 8
virt:rhel-8000020190510171727.55190bc5
Fixed · RHSA-2019:1175
Red Hat Enterprise Linux 8 Advanced Virtualization
virt:8.0.0/libssh2
Affected
Red Hat Virtualization 4
redhat-virtualization-host
Will not fix
Red Hat Virtualization 4
rhvm-appliance
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | libssh2-0:1.4.2-3.el6_10.1 | Fixed | RHSA-2019:1652 |
| Red Hat Enterprise Linux 7 | libssh2-0:1.4.3-12.el7_6.2 | Fixed | RHSA-2019:0679 |
| Red Hat Enterprise Linux 7.3 Advanced Update Support | libssh2-0:1.4.3-11.el7_3.1 | Fixed | RHSA-2019:2399 |
| Red Hat Enterprise Linux 7.3 Telco Extended Update Support | libssh2-0:1.4.3-11.el7_3.1 | Fixed | RHSA-2019:2399 |
| Red Hat Enterprise Linux 7.3 Update Services for SAP Solutions | libssh2-0:1.4.3-11.el7_3.1 | Fixed | RHSA-2019:2399 |
| Red Hat Enterprise Linux 7.4 Extended Update Support | libssh2-0:1.4.3-11.el7_4.1 | Fixed | RHSA-2019:1943 |
| Red Hat Enterprise Linux 7.5 Extended Update Support | libssh2-0:1.4.3-11.el7_5.1 | Fixed | RHSA-2019:1791 |
| Red Hat Enterprise Linux 8 | virt:rhel-8000020190510171727.55190bc5 | Fixed | RHSA-2019:1175 |
| Red Hat Enterprise Linux 8 Advanced Virtualization | virt:8.0.0/libssh2 | Affected | n/a |
| Red Hat Virtualization 4 | redhat-virtualization-host | Will not fix | n/a |
| Red Hat Virtualization 4 | rhvm-appliance | Will not fix | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This flaw was present in libssh2 packages included in Red Hat Virtualization Hypervisor and Management Appliance, however libssh2 in these hosts is never exposed to malicious clients or servers.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
AV:N/AC:M/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
NoneAutomatable
NoTechnical Impact
TotalDecision
n/aAssessed Apr 23, 2025 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 3, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (26 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 3, 2026 | 6.13% (0.06131) | 93.24th | v5 (v2026.06.15) |
| Jun 15, 2026 | 6.13% (0.06131) | 92.51th | v5 (v2026.06.15) |
| Mar 13, 2026 | 4.60% (0.04601) | 89.08th | v4 (v2025.03.14) |
| Jan 20, 2026 | 2.59% (0.02592) | 85.19th | v4 (v2025.03.14) |
| Jan 18, 2026 | 4.47% (0.04475) | 88.75th | v4 (v2025.03.14) |
| Oct 6, 2025 | 3.34% (0.03343) | 86.81th | v4 (v2025.03.14) |
| May 18, 2025 | 4.81% (0.04808) | 88.93th | v4 (v2025.03.14) |
| May 15, 2025 | 3.55% (0.03545) | 87.07th | v4 (v2025.03.14) |
| Apr 15, 2025 | 4.69% (0.04685) | 88.70th | v4 (v2025.03.14) |
| Mar 31, 2025 | 3.50% (0.03505) | 86.50th | v4 (v2025.03.14) |
| Mar 30, 2025 | 4.69% (0.04685) | 88.33th | v4 (v2025.03.14) |
| Mar 29, 2025 | 14.98% (0.14981) | 90.96th | v4 (v2025.03.14) |
| Mar 17, 2025 | 4.69% (0.04685) | 88.62th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.26% (0.00257) | 65.96th | v3 (v2023.03.01) |
| Mar 18, 2024 | 0.33% (0.00328) | 70.29th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.34% (0.00343) | 70.75th | v3 (v2023.03.01) |
| Nov 8, 2023 | 0.34% (0.00343) | 68.35th | v3 (v2023.03.01) |
| Oct 19, 2023 | 0.38% (0.00381) | 69.89th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.34% (0.00343) | 66.94th | v3 (v2023.03.01) |
| Mar 6, 2023 | 7.67% (0.07670) | 92.91th | v2 (v2022.01.01) |
| Apr 1, 2022 | 7.67% (0.07670) | 92.25th | v2 (v2022.01.01) |
| Feb 4, 2022 | 61.89% (0.61890) | 98.69th | v2 (v2022.01.01) |
| Feb 3, 2022 | 26.41% (0.26405) | 95.66th | v1 |
| Jan 6, 2022 | 26.41% (0.26405) | 95.61th | v1 |
| Sep 1, 2021 | 7.40% (0.07404) | 91.41th | v1 |
| Apr 14, 2021 | 7.40% (0.07404) | 0.00th | v1 |
References (20)
- http://lists.opensuse.org/opensuse-security-announce/2019-03/msg00040.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00003.html vendor-advisoryx_refsource_SUSEThird Party Advisory
- https://access.redhat.com/errata/RHSA-2019:0679 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/errata/RHSA-2019:1175 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/errata/RHSA-2019:1652 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/errata/RHSA-2019:1791 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/errata/RHSA-2019:1943 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/errata/RHSA-2019:2399 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2019-3857 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1687305 Issue Tracking
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3857 x_refsource_CONFIRMIssue TrackingPatchThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/03/msg00032.html mailing-listx_refsource_MLISTThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5DK6VO2CEUTAJFYIKWNZKEKYMYR3NO2O/ vendor-advisoryx_refsource_FEDORA
- https://nvd.nist.gov/vuln/detail/CVE-2019-3857
- https://seclists.org/bugtraq/2019/Apr/25 mailing-listx_refsource_BUGTRAQMailing ListThird Party Advisory
- https://security.netapp.com/advisory/ntap-20190327-0005/ x_refsource_CONFIRMThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2019-3857
- https://www.debian.org/security/2019/dsa-4431 vendor-advisoryx_refsource_DEBIANThird Party Advisory
- https://www.libssh2.org/CVE-2019-3857.html x_refsource_MISCPatchVendor Advisory
- https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html x_refsource_MISCPatchThird Party Advisory
Change history (0)
No recorded changes yet.