CVEfocus › CVE database › CVE-2019-3859

CVE-2019-3859

CVSS 5.0 MediumEPSS 6.3% (higher than 94% 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 _libssh2_packet_require and _libssh2_packet_requirev functions. 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-125

What to do

Fixed builds are available from Alpine, Debian: 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

19Fixed
3Fix pending
9Will not fix
4Not 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-3859
Ubuntu 16.04libssh2Fix pending1.5.0-2ubuntu0.1+esm1 (Ubuntu Pro)UBUNTU-CVE-2019-3859
Ubuntu 14.04libssh2Fix pending1.4.3-2ubuntu0.2+esm2 (Ubuntu Pro)UBUNTU-CVE-2019-3859
Debian 14libssh2Fixed1.8.0-2.1DEBIAN-CVE-2019-3859
Debian 13libssh2Fixed1.8.0-2.1DEBIAN-CVE-2019-3859
Debian 12libssh2Fixed1.8.0-2.1DEBIAN-CVE-2019-3859
Red Hat Enterprise Linux 8libssh2Will not fix
Will not fix
Red Hat Enterprise Linux 8libssh2-develWill not fix
Will not fix
Red Hat Enterprise Linux 8libssh2-docsWill not fix
Will not fix
Red Hat Enterprise Linux 7libssh2Will not fix
Will not fix
Red Hat Enterprise Linux 7libssh2-develWill not fix
Will not fix
Red Hat Enterprise Linux 7libssh2-docsWill not fix
Will not fix
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-3859
Alpine Linux 3.23libssh2Fixed1.8.1-r0ALPINE-CVE-2019-3859
Alpine Linux 3.22libssh2Fixed1.8.1-r0ALPINE-CVE-2019-3859
Alpine Linux 3.21libssh2Fixed1.8.1-r0ALPINE-CVE-2019-3859
Alpine Linux 3.20libssh2Fixed1.8.1-r0ALPINE-CVE-2019-3859
Alpine Linux 3.19libssh2Fixed1.8.1-r0ALPINE-CVE-2019-3859
Alpine Linux 3.18libssh2Fixed1.8.1-r0ALPINE-CVE-2019-3859
Alpine Linux 3.17libssh2Fixed1.8.1-r0ALPINE-CVE-2019-3859
Alpine Linux 3.16libssh2Fixed1.8.1-r0ALPINE-CVE-2019-3859
Alpine Linux 3.15libssh2Fixed1.8.1-r0ALPINE-CVE-2019-3859
Alpine Linux 3.14libssh2Fixed1.8.1-r0ALPINE-CVE-2019-3859
Alpine Linux 3.13libssh2Fixed1.8.1-r0ALPINE-CVE-2019-3859
Alpine Linux 3.12libssh2Fixed1.8.1-r0ALPINE-CVE-2019-3859
Alpine Linux 3.11libssh2Fixed1.8.1-r0ALPINE-CVE-2019-3859
Alpine Linux 3.10libssh2Fixed1.8.1-r0ALPINE-CVE-2019-3859
Alpine Linux 3.9libssh2Fixed1.8.1-r0ALPINE-CVE-2019-3859

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.