cve.bz

CVE-2019-3862 Out-of-bounds Read

9.1 criticalEPSS 8.0%Fix available

Critical (9.1). EPSS 8.0% estimated probability of exploitation activity in the next 30 days.

On this page
An out of bounds read flaw was discovered in libssh2 before 1.8.1 in the way SSH_MSG_CHANNEL_REQUEST packets with an exit status message and no payload are parsed. A remote attacker who compromises a SSH server may be able to cause a Denial of Service or read data in the client memory.

Severity

CVSS 3.0

9.1 critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
EPSS
8.0% (unchanged from 7.9% a week ago; 7.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 95th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-125 Out-of-bounds Read
CWE-130 Improper Handling of Length Parameter Inconsistency
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2019-3862 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2019-3862?via=ask-ai-copy and https://cve.bz/cve/CVE-2019-3862?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2019-3862 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2019-3862

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2019-3862](https://cve.bz/cve/badge/CVE-2019-3862.svg)](https://cve.bz/cve/CVE-2019-3862)

HTML:

<a href="https://cve.bz/cve/CVE-2019-3862"><img src="https://cve.bz/cve/badge/CVE-2019-3862.svg" alt="CVE-2019-3862"></a>

Affected

Versions

From the NVD's CPE matches.

ProductAffected
libssh2:libssh2before 1.8.1
fedoraproject:fedora29
debian:debian_linux8.0
opensuse:leap42.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8libssh21.4.3-4.1+deb8u2DLA-1730-1
Debian9libssh21.7.0-1+deb9u1DSA-4431-1
Debian12, 13, 14libssh21.8.0-2.1DEBIAN-CVE-2019-3862
UbuntuPro:14.04:LTSlibssh21.4.3-2ubuntu0.2+esm2UBUNTU-CVE-2019-3862
UbuntuPro:16.04:LTSlibssh21.5.0-2ubuntu0.1+esm1UBUNTU-CVE-2019-3862 USN-5308-1
UbuntuPro:18.04:LTSlibssh2no fix listedUBUNTU-CVE-2019-3862
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 morelibssh2, libssh2-docs, libssh2-devel and 1 more0:1.4.3-12.el7_6.3RHSA-2019:1884
SUSEEnterprise Storage 4, Linux Enterprise Desktop 12 SP3, Linux Enterprise Desktop 12 SP4 and 13 morelibssh2_org1.4.3-20.3.1SUSE-SU-2019:0655-1
SUSELinux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Module for Basesystem 15 SP1 and 3 morelibssh2_org1.9.0-4.13.1SUSE-SU-2020:3551-1
SUSELinux Enterprise Point of Sale 11 SP3libssh2_org1.2.9-4.2.12.5.1SUSE-SU-2019:13997-1
SUSELinux Enterprise Server 11 SP4, Linux Enterprise Server for SAP Applications 11 SP4, Linux Enterprise Software Development Kit 11 SP4libssh2_org1.4.3-17.3.1SUSE-SU-2019:13982-1
openSUSELeap 15.0libssh2_org1.8.0-lp150.3.3.1openSUSE-SU-2019:1109-1
openSUSELeap 15.1libssh2_org1.9.0-lp151.6.6.1openSUSE-SU-2020:2126-1
openSUSELeap 15.2libssh2_org1.9.0-lp152.8.3.1openSUSE-SU-2020:2129-1
openSUSETumbleweedlibssh2_org1.9.0-3.6openSUSE-SU-2024:10999-1
Alpinev3.9, v3.10, v3.11 and 13 morelibssh21.8.1-r0ALPINE-CVE-2019-3862

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's 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.

libssh2 is no longer included in the virt module since Red Hat Enterprise Linux 8.1.

ProductPackageStateAdvisory
Red Hat Ansible Tower 3.4 for RHEL 7ansible-tower-34/ansible-tower-memcached:1.4.15-28Fixed 2020-02-18RHBA-2020:0547
Red Hat Ansible Tower 3.4 for RHEL 7ansible-tower-35/ansible-tower-memcached:1.4.15-28Fixed 2020-02-18RHBA-2020:0547
Red Hat Ansible Tower 3.4 for RHEL 7ansible-tower-37/ansible-tower-memcached-rhel7:1.4.15-28Fixed 2020-02-18RHBA-2020:0547
Red Hat Enterprise Linux 7libssh2-0:1.4.3-12.el7_6.3Fixed 2019-07-29RHSA-2019:1884
Red Hat Enterprise Linux 6libssh2Will not fix
Red Hat Enterprise Linux 8virt:rhel/libssh2Not affected
Red Hat Enterprise Linux 8 Advanced Virtualizationvirt:8.0.0/libssh2Will not fix
Red Hat Virtualization 4redhat-virtualization-hostWill not fix
Red Hat Virtualization 4rhvm-applianceWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2019-3862.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-23-348-10Siemens SIMATIC S7-15002023-12-12Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesSIMATIC 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) and 2 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High
  • CAPEC-47 Buffer Overflow via Parameter Expansion Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON