{"id":"CVE-2019-13115","published":"2019-07-16T00:00:00Z","modified":"2024-08-04T23:41:10Z","title":"In libssh2 before 1.9.0, kex_method_diffie_hellman_group_exchange_sha256_key_exchange in kex.c has an integer overflow…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.11659,"percentile":0.96154,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/libssh2/libssh2/pull/350","tags":[]},{"url":"https://libssh2.org/changes.html","tags":[]},{"url":"https://github.com/libssh2/libssh2/compare/02ecf17...42d37aa","tags":[]},{"url":"https://blog.semmle.com/libssh2-integer-overflow/","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2019/07/msg00024.html","tags":["mailing-list"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6LUNHPW64IGCASZ4JQ2J5KDXNZN53DWW/","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/M7IF3LNHOA75O4WZWIHJLIRMA5LJUED3/","tags":["vendor-advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20190806-0002/","tags":[]},{"url":"https://support.f5.com/csp/article/K13322484","tags":[]},{"url":"https://support.f5.com/csp/article/K13322484?utm_source=f5support&amp%3Butm_medium=RSS","tags":[]},{"url":"https://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3E","tags":["mailing-list"]},{"url":"https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3E","tags":["mailing-list"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/12/msg00013.html","tags":["mailing-list"]},{"url":"http://packetstormsecurity.com/files/172834/libssh2-1.8.2-Out-Of-Bounds-Read.html","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2023/09/msg00006.html","tags":["mailing-list"]}],"priority":{"score":24.2,"factors":[{"name":"EPSS percentile","points":19.23},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"pocGithub":{"count":2,"skipped":0,"earliest":"2019-10-03","earliestUrl":"https://github.com/viz27/Libssh2-Exploit","repos":[{"name":"viz27/Libssh2-Exploit","url":"https://github.com/viz27/Libssh2-Exploit","stars":1,"created":"2019-10-03"},{"name":"CSSProject/libssh2-Exploit","url":"https://github.com/CSSProject/libssh2-Exploit","stars":0,"created":"2019-10-03"}]},"first":{"date":"2019-10-03","source":"PoC-in-GitHub","url":"https://github.com/viz27/Libssh2-Exploit"},"provenance":"source"},"summary":{"text":"The flaw is an integer overflow in the diffie-hellman-group-exchange-sha256 key exchange routine (kex_method_diffie_hellman_group_exchange_sha256_key_exchange in kex.c) of libssh2, affecting releases before 1.9.0. It can lead to an out-of-bounds read while packets are parsed from the server, and an attacker who controls or has compromised an SSH server can exploit it when a client connects, causing information disclosure or a denial of service on the client.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:52:02Z"},"euvd":{"id":"EUVD-2019-4656","exploited":false,"provenance":"source"},"exploitRefs":["http://packetstormsecurity.com/files/172834/libssh2-1.8.2-Out-Of-Bounds-Read.html"]}