CVEfocus › CVE database › CVE-2019-3862

CVE-2019-3862

CVSS 7.3 HighEPSS 8.0% (higher than 95% of CVEs)Published 2019-03-20Updated 2026-10-14Assigner: redhat

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.

CWE-130

What to do

Fixed builds are available from Alpine, Debian, Red Hat: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

22Fixed
3Fix pending
3Will not fix
7Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04libssh2Not affected
vulnerable_code_not_present
Ubuntu 25.10libssh2Not affected
vulnerable_code_not_present
Ubuntu 24.04libssh2Not affected
vulnerable_code_not_present
Ubuntu 22.04libssh2Not affected
vulnerable_code_not_present
Ubuntu 18.04libssh2Fix pendingUBUNTU-CVE-2019-3862
Ubuntu 16.04libssh2Fix pending1.5.0-2ubuntu0.1+esm1 (Ubuntu Pro)UBUNTU-CVE-2019-3862
Ubuntu 14.04libssh2Fix pending1.4.3-2ubuntu0.2+esm2 (Ubuntu Pro)UBUNTU-CVE-2019-3862
Debian 14libssh2Fixed1.8.0-2.1DEBIAN-CVE-2019-3862
Debian 13libssh2Fixed1.8.0-2.1DEBIAN-CVE-2019-3862
Debian 12libssh2Fixed1.8.0-2.1DEBIAN-CVE-2019-3862
Red Hat Enterprise Linux 8libssh2Not affected
Red Hat Enterprise Linux 8libssh2-develNot affected
Red Hat Enterprise Linux 8libssh2-docsNot affected
Red Hat Enterprise Linux 7libssh2Fixed0:1.4.3-12.el7_6.3RHSA-2019:1884
Red Hat Enterprise Linux 7libssh2-develFixed0:1.4.3-12.el7_6.3RHSA-2019:1884
Red Hat Enterprise Linux 7libssh2-docsFixed0:1.4.3-12.el7_6.3RHSA-2019:1884
Red Hat Enterprise Linux 6libssh2Will not fix
Will not fix
Red Hat Enterprise Linux 6libssh2-develWill not fix
Will not fix
Red Hat Enterprise Linux 6libssh2-docsWill not fix
Will not fix
Alpine Linux 3.24libssh2Fixed1.8.1-r0ALPINE-CVE-2019-3862
Alpine Linux 3.23libssh2Fixed1.8.1-r0ALPINE-CVE-2019-3862
Alpine Linux 3.22libssh2Fixed1.8.1-r0ALPINE-CVE-2019-3862
Alpine Linux 3.21libssh2Fixed1.8.1-r0ALPINE-CVE-2019-3862
Alpine Linux 3.20libssh2Fixed1.8.1-r0ALPINE-CVE-2019-3862
Alpine Linux 3.19libssh2Fixed1.8.1-r0ALPINE-CVE-2019-3862
Alpine Linux 3.18libssh2Fixed1.8.1-r0ALPINE-CVE-2019-3862
Alpine Linux 3.17libssh2Fixed1.8.1-r0ALPINE-CVE-2019-3862
Alpine Linux 3.16libssh2Fixed1.8.1-r0ALPINE-CVE-2019-3862
Alpine Linux 3.15libssh2Fixed1.8.1-r0ALPINE-CVE-2019-3862
Alpine Linux 3.14libssh2Fixed1.8.1-r0ALPINE-CVE-2019-3862
Alpine Linux 3.13libssh2Fixed1.8.1-r0ALPINE-CVE-2019-3862
Alpine Linux 3.12libssh2Fixed1.8.1-r0ALPINE-CVE-2019-3862
Alpine Linux 3.11libssh2Fixed1.8.1-r0ALPINE-CVE-2019-3862
Alpine Linux 3.10libssh2Fixed1.8.1-r0ALPINE-CVE-2019-3862
Alpine Linux 3.9libssh2Fixed1.8.1-r0ALPINE-CVE-2019-3862

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.