Out-of-bounds read in libssh2
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · None · High
- Fix status
- Partial Red Hat: 9 fixed, 3 without a fix
Attack profile from CVSS 3.0 · NVD. Fix status from CNA and Red Hat.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| The libssh2 Project | libssh2 | 1.8.1 | — | No fix listed | CNA |
- libssh2 VendorThe libssh2 Project Affected 1.8.1 Fixed in — No fix listed CNA
CPE configurations NVD · 6
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:libssh2:libssh2:*:*:*:*:*:*:*:* | before 1.8.1 | Vulnerable | The libssh2 Project |
| cpe:2.3:o:fedoraproject:fedora:29:*:*:*:*:*:*:* | 29 | Vulnerable | Fedoraproject |
| cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* | 8.0 | Vulnerable | Debian |
| cpe:2.3:a:netapp:ontap_select_deploy_administration_utility:-:*:*:*:*:*:*:* | not specified by NVD | Vulnerable | NetApp |
| cpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:* | 15.0 | Vulnerable | openSUSE |
| cpe:2.3:o:opensuse:leap:42.3:*:*:*:*:*:*:* | 42.3 | Vulnerable | openSUSE |
- cpe:2.3:a:libssh2:libssh2:*:*:*:*:*:*:*:* Versions before 1.8.1 Vulnerable ·The libssh2 Project
- cpe:2.3:o:fedoraproject:fedora:29:*:*:*:*:*:*:* Versions 29 Vulnerable ·Fedoraproject
- cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Debian
- cpe:2.3:a:netapp:ontap_select_deploy_administration_utility:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·NetApp
- cpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:* Versions 15.0 Vulnerable ·openSUSE
- cpe:2.3:o:opensuse:leap:42.3:*:*:*:*:*:*:* Versions 42.3 Vulnerable ·openSUSE
Remediation
Red Hat 1 advisory
- RHSA-2019:2136 Released 2019-08-06 · Red Hat rating Moderatelibssh2 security, bug fix, and enhancement update
- Red Hat Enterprise Linux Client (v. 7) libssh2-1.8.0-3.el7
- Red Hat Enterprise Linux Client Optional (v. 7) libssh2-devel-1.8.0-3.el7, libssh2-docs-1.8.0-3.el7
- Red Hat Enterprise Linux ComputeNode (v. 7) libssh2-1.8.0-3.el7
- Red Hat Enterprise Linux ComputeNode Optional (v. 7) libssh2-devel-1.8.0-3.el7, libssh2-docs-1.8.0-3.el7
- Red Hat Enterprise Linux Server (v. 7) libssh2-1.8.0-3.el7, libssh2-1.8.0-3.el7.ppc
- Red Hat Enterprise Linux Server Optional (v. 7) libssh2-devel-1.8.0-3.el7, libssh2-devel-1.8.0-3.el7.ppc, libssh2-docs-1.8.0-3.el7
- Red Hat Enterprise Linux Workstation (v. 7) libssh2-1.8.0-3.el7
- Red Hat Enterprise Linux Workstation Optional (v. 7) libssh2-devel-1.8.0-3.el7, libssh2-docs-1.8.0-3.el7
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Advisory ·
The libssh2 Project libssh2 — openSUSE-SU-2019:1075
9 records Highest priority Priority MEDIUM 9 MEDIUM
Other records, highest priority first
- TI-2019-02869 Out-of-bounds read in libssh2Priority MEDIUM 54
- TI-2019-02865 Integer overflow in libssh2Priority MEDIUM 52
- TI-2019-02872 Out-of-bounds read in libssh2Priority MEDIUM 50
- Advisory ·
The libssh2 Project libssh2 — openSUSE-SU-2019:1109
9 records Highest priority Priority MEDIUM 9 MEDIUM
Other records, highest priority first
- TI-2019-02869 Out-of-bounds read in libssh2Priority MEDIUM 54
- TI-2019-02865 Integer overflow in libssh2Priority MEDIUM 52
- TI-2019-02872 Out-of-bounds read in libssh2Priority MEDIUM 50
Show 4 more groups
- Advisory ·
The libssh2 Project libssh2 — FEDORA-2019-3348cb4934
9 records Highest priority Priority MEDIUM 9 MEDIUM
Other records, highest priority first
- TI-2019-02869 Out-of-bounds read in libssh2Priority MEDIUM 54
- TI-2019-02865 Integer overflow in libssh2Priority MEDIUM 52
- TI-2019-02872 Out-of-bounds read in libssh2Priority MEDIUM 50
- Advisory ·
The libssh2 Project libssh2 — DSA-4431
9 records Highest priority Priority MEDIUM 9 MEDIUM
Other records, highest priority first
- TI-2019-02869 Out-of-bounds read in libssh2Priority MEDIUM 54
- TI-2019-02865 Integer overflow in libssh2Priority MEDIUM 52
- TI-2019-02872 Out-of-bounds read in libssh2Priority MEDIUM 50
- Advisory ·
The libssh2 Project libssh2 — FEDORA-2019-f31c14682f
4 records Highest priority Priority MEDIUM 4 MEDIUM
Other records, highest priority first
- TI-2019-02869 Out-of-bounds read in libssh2Priority MEDIUM 54
- TI-2019-02865 Integer overflow in libssh2Priority MEDIUM 52
- TI-2019-02872 Out-of-bounds read in libssh2Priority MEDIUM 50
- Advisory ·
The libssh2 Project libssh2 — RHSA-2019:2136
2 records Highest priority Priority MEDIUM 2 MEDIUM
Other records, highest priority first
- TI-2019-02871 Out-of-bounds read in libssh2Priority MEDIUM 47
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux 8 Advanced Virtualization | Affected | No fix planned: Will not fix |
| Red Hat Virtualization 4 | Affected | No fix planned: Will not fix |
| Red Hat Ansible Tower 3.4 for RHEL 7 Server | Fixed | — |
| Red Hat Enterprise Linux Client (v. 7) | Fixed | RHSA-2019:2136 |
| Red Hat Enterprise Linux Client Optional (v. 7) | Fixed | RHSA-2019:2136 |
| Red Hat Enterprise Linux ComputeNode (v. 7) | Fixed | RHSA-2019:2136 |
| Red Hat Enterprise Linux ComputeNode Optional (v. 7) | Fixed | RHSA-2019:2136 |
| Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2019:2136 |
| Red Hat Enterprise Linux Server Optional (v. 7) | Fixed | RHSA-2019:2136 |
| Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2019:2136 |
| Red Hat Enterprise Linux Workstation Optional (v. 7) | Fixed | RHSA-2019:2136 |
Not affected: 1 product
- Red Hat Enterprise Linux 8
Timeline
- 2026-10-02 Threatist record created from CVE-2019-3858
- 2026-10-03 Alias added: GHSA-c4h5-vgqh-28mg
References
Patch 3
Advisory 11
- 20190319 [slackware-security] libssh2 (SSA:2019-077-01)
- http://packetstormsecurity.com/files/152136/Slackware-Security-Advisory-libssh2-Updates.html
- FEDORA-2019-f31c14682f
- https://www.broadcom.com/support/fibre-channel-networking/security-advisories/brocade-security-advisory-2019-767
- [debian-lts-announce] 20190326 [SECURITY] [DLA 1730-1] libssh2 security update
- https://security.netapp.com/advisory/ntap-20190327-0005/
- openSUSE-SU-2019:1075
- openSUSE-SU-2019:1109
- FEDORA-2019-3348cb4934
- DSA-4431
- RHSA-2019:2136
More The libssh2 Project Libssh2 vulnerabilities
- TI-2026-39880 libssh2 - Out-of-Bounds Write via Unchecked packet_length in transport.c CVSS 4.0CRITICAL 9.2
- TI-2026-06681 libssh2 userauth.c userauth_password integer overflow CVSS 4.0MEDIUM 6.9
- TI-2023-26623 The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6… CVSS 3.1MEDIUM 5.9
- TI-2026-41806 libssh2 - Free of Uninitialized Pointer in publickey List Cleanup CVSS 4.0HIGH 8.3
- TI-2019-02869 Out-of-bounds read in libssh2 CVSS 3.1CRITICAL 9.1
- TI-2019-02865 Integer overflow in libssh2 CVSS 3.1HIGH 8.8
Sources
- CVE-2019-3858 · CVE Program
- CVE-2019-3858 · NVD
- FIRST EPSS
- GHSA-c4h5-vgqh-28mg · GitHub Advisory Database · CC BY 4.0
- CVE-2019-3858 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences