CVEfocus › CVE database › CVE-2019-13115

CVE-2019-13115

CVSS 8.1 HighEPSS 11.8% (higher than 96% of CVEs)Published 2019-07-16Updated 2024-08-04Assigner: mitre

In libssh2 before 1.9.0, kex_method_diffie_hellman_group_exchange_sha256_key_exchange in kex.c has an integer overflow that could lead to an out-of-bounds read in the way packets are read from the server. A remote attacker who compromises a SSH server may be able to disclose sensitive information or cause a denial of service condition on the client system when a user connects to the server. This is related to an _libssh2_check_length mistake, and is different from the various issues fixed in 1.8.1, such as CVE-2019-3855.

What to do

Likely to be exploited: EPSS gives a 12% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.

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
4Fix pending
6Will 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 20.04libssh2Fix pendingUBUNTU-CVE-2019-13115
Ubuntu 18.04libssh2Fix pendingUBUNTU-CVE-2019-13115
Ubuntu 16.04libssh2Fix pending1.5.0-2ubuntu0.1+esm1 (Ubuntu Pro)UBUNTU-CVE-2019-13115
Ubuntu 14.04libssh2Fix pending1.4.3-2ubuntu0.2+esm2 (Ubuntu Pro)UBUNTU-CVE-2019-13115
Debian 14libssh2Fixed1.9.0-1DEBIAN-CVE-2019-13115
Debian 13libssh2Fixed1.9.0-1DEBIAN-CVE-2019-13115
Debian 12libssh2Fixed1.9.0-1DEBIAN-CVE-2019-13115
Red Hat Enterprise Linux 8libssh2Not affected
Red Hat Enterprise Linux 8libssh2-develNot affected
Red Hat Enterprise Linux 8libssh2-docsNot affected
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
Out of support scope
Red Hat Enterprise Linux 6libssh2-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6libssh2-docsWill not fix
Out of support scope
Alpine Linux 3.24libssh2Fixed1.9.0-r0ALPINE-CVE-2019-13115
Alpine Linux 3.23libssh2Fixed1.9.0-r0ALPINE-CVE-2019-13115
Alpine Linux 3.22libssh2Fixed1.9.0-r0ALPINE-CVE-2019-13115
Alpine Linux 3.21libssh2Fixed1.9.0-r0ALPINE-CVE-2019-13115
Alpine Linux 3.20libssh2Fixed1.9.0-r0ALPINE-CVE-2019-13115
Alpine Linux 3.19libssh2Fixed1.9.0-r0ALPINE-CVE-2019-13115
Alpine Linux 3.18libssh2Fixed1.9.0-r0ALPINE-CVE-2019-13115
Alpine Linux 3.17libssh2Fixed1.9.0-r0ALPINE-CVE-2019-13115
Alpine Linux 3.16libssh2Fixed1.9.0-r0ALPINE-CVE-2019-13115
Alpine Linux 3.15libssh2Fixed1.9.0-r0ALPINE-CVE-2019-13115
Alpine Linux 3.14libssh2Fixed1.9.0-r0ALPINE-CVE-2019-13115
Alpine Linux 3.13libssh2Fixed1.9.0-r0ALPINE-CVE-2019-13115
Alpine Linux 3.12libssh2Fixed1.9.0-r0ALPINE-CVE-2019-13115
Alpine Linux 3.11libssh2Fixed1.9.0-r0ALPINE-CVE-2019-13115
Alpine Linux 3.10libssh2Fixed1.9.0-r0ALPINE-CVE-2019-13115
Alpine Linux 3.9libssh2Fixed1.9.0-r0ALPINE-CVE-2019-13115

What the vendor says

As published in the CVE record by mitre, 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.