CVE-2019-13115 in the critical feed json
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 a…
published 7y ago modified 4mo ago also EUVD-2019-4656
- cvss
- 8.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 11.7%
- EPSS 11.7% chance of exploitation in 30 days, percentile 96%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- libssh2 libssh2 1.9.0
- libssh2 Debian 14, Debian 13, Debian 12 1.9.0-1
debian advisories DEBIAN-CVE-2019-13115
- libssh2 Ubuntu Pro 14.04 LTS 1.4.3-2ubuntu0.2+esm2
- libssh2 Ubuntu Pro 16.04 LTS 1.5.0-2ubuntu0.1+esm1
ubuntu advisories UBUNTU-CVE-2019-13115
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- libssh2 Alpine 3.24, Alpine 3.23, Alpine 3.22 +13 more 1.9.0-r0
alpine advisories ALPINE-CVE-2019-13115
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- github.com/libssh2/libssh2#350 pull request
Is CVE-2019-13115 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2019-13115 updated cvss 6.8
libssh2: integer overflow in kex_method_diffie_hellman_group_exchange_sha256_key_exchange in kex.c leads to out-of-bounds write
-
Red Hat Enterprise Linux 6 libssh2affected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 7 libssh2 Red Hat Enterprise Linux 8 Advanced Virtualization libssh2affected: no fix planned “Will not fix”
-
Red Hat Enterprise Linux 8 libssh2not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
11.66% chance of exploitation in the next 30 days, higher than 96% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- blog.semmle.com https://blog.semmle.com/libssh2-integer-overflow/ referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H |
| NVD | 2.0 | 5.8 | AV:N/AC:M/Au:N/C:P/I:N/A:P |
Classification
References
-
github.com
/libssh2/libssh2/pull/350
issue-tracking, third-party-advisory
-
blog.semmle.com
/libssh2-integer-overflow/
exploit, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/6LUNHPW64IGCASZ4JQ2J5KDXNZN53DWW/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/M7IF3LNHOA75O4WZWIHJLIRMA5LJUED3/
vendor-advisory
-
libssh2.org
/changes.html
release-notes, vendor-advisory
-
github.com
/libssh2/libssh2/compare/02ecf17...42d37aa
third-party-advisory
-
lists.debian.org
/debian-lts-announce/2019/07/msg00024.html
mailing-list, third-party-advisory
-
security.netapp.com
/advisory/ntap-20190806-0002/
third-party-advisory
-
support.f5.com
/csp/article/K13322484
third-party-advisory
- support.f5.com /csp/article/K13322484?utm_source=f5support&%3Butm_medium=RSS
-
lists.apache.org
/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3E
mailing-list
-
lists.debian.org
/debian-lts-announce/2021/12/msg00013.html
mailing-list, third-party-advisory
- packetstormsecurity.com /files/172834/libssh2-1.8.2-Out-Of-Bounds-Read.html
-
lists.debian.org
/debian-lts-announce/2023/09/msg00006.html
mailing-list
Sources
- CVE List CVE-2019-13115
- NVD CVE-2019-13115
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.