CVE-2019-13115
publishedlibssh2: integer overflow in kex_method_diffie_hellman_group_exchange_sha256_key_exchange in kex.c leads to out-of-bounds write
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Alpine Linux | edge | libssh2 | Fixed | 1.9.0-r0 | Package fix record |
| Debian | buster | libssh2 | Advisory build | 1.8.0-2.1+deb10u1 | DLA-3559-1 |
| Ubuntu | xenial | libssh2 | Advisory build | 1.5.0-2ubuntu0.1+esm1 | USN-5308-1 |
| Alpine Linux | v3.10 | libssh2 | Fixed | 1.9.0-r0 | Package fix record |
| Alpine Linux | v3.11 | libssh2 | Fixed | 1.9.0-r0 | Package fix record |
Show 17 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.12 | libssh2 | Fixed | 1.9.0-r0 | Package fix record |
| Alpine Linux | v3.13 | libssh2 | Fixed | 1.9.0-r0 | Package fix record |
| Alpine Linux | v3.14 | libssh2 | Fixed | 1.9.0-r0 | Package fix record |
| Alpine Linux | v3.15 | libssh2 | Fixed | 1.9.0-r0 | Package fix record |
| Alpine Linux | v3.16 | libssh2 | Fixed | 1.9.0-r0 | Package fix record |
| Alpine Linux | v3.17 | libssh2 | Fixed | 1.9.0-r0 | Package fix record |
| Alpine Linux | v3.18 | libssh2 | Fixed | 1.9.0-r0 | Package fix record |
| Alpine Linux | v3.19 | libssh2 | Fixed | 1.9.0-r0 | Package fix record |
| Alpine Linux | v3.20 | libssh2 | Fixed | 1.9.0-r0 | Package fix record |
| Alpine Linux | v3.21 | libssh2 | Fixed | 1.9.0-r0 | Package fix record |
| Alpine Linux | v3.22 | libssh2 | Fixed | 1.9.0-r0 | Package fix record |
| Alpine Linux | v3.23 | libssh2 | Fixed | 1.9.0-r0 | Package fix record |
| Alpine Linux | v3.24 | libssh2 | Fixed | 1.9.0-r0 | Package fix record |
| Alpine Linux | v3.9 | libssh2 | Fixed | 1.9.0-r0 | Package fix record |
| Debian | jessie | libssh2 | Advisory build | 1.4.3-4.1+deb8u4 | DLA-1730-3 |
| Debian | stretch | libssh2 | Advisory build | 1.7.0-1+deb9u2 | DLA-2848-1 |
| Ubuntu | xenial | libssh2-1 | Advisory build | 1.5.0-2ubuntu0.1+esm1 | USN-5308-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
15- http://packetstormsecurity.com/files/172834/libssh2-1.8.2-Out-Of-Bounds-Read.html
- https://blog.semmle.com/libssh2-integer-overflow/
- https://github.com/libssh2/libssh2/compare/02ecf17...42d37aa
- https://github.com/libssh2/libssh2/pull/350
- https://libssh2.org/changes.html
- [bookkeeper-issues] 20210629 [GitHub] [bookkeeper] padma81 opened a new issue #2746: Security Vulnerabilities in CentOS 7 image, Upgrade image to CentOS 8 https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3E
- [bookkeeper-issues] 20210628 [GitHub] [bookkeeper] padma81 opened a new issue #2746: Security Vulnerabilities in CentOS 7 image, Upgrade image to CentOS 8 https://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3E
- [debian-lts-announce] 20190725 [SECURITY] [DLA 1730-3] libssh2 regression update https://lists.debian.org/debian-lts-announce/2019/07/msg00024.html
- [debian-lts-announce] 20211217 [SECURITY] [DLA 2848-1] libssh2 security update https://lists.debian.org/debian-lts-announce/2021/12/msg00013.html
- [debian-lts-announce] 20230908 [SECURITY] [DLA 3559-1] libssh2 security update https://lists.debian.org/debian-lts-announce/2023/09/msg00006.html
- FEDORA-2019-9d85600fc7 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6LUNHPW64IGCASZ4JQ2J5KDXNZN53DWW/
- FEDORA-2019-5885663621 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/M7IF3LNHOA75O4WZWIHJLIRMA5LJUED3/
- https://security.netapp.com/advisory/ntap-20190806-0002/
- https://support.f5.com/csp/article/K13322484
- https://support.f5.com/csp/article/K13322484?utm_source=f5support&%3Butm_medium=RSS
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- ef1b395b0d50e63cc20eec809ead965093e1d49b01c0a982360bde9b54d6b337
- Ingested
- 23 Sep 2026, 07:45:50 UTC
- Source record
- Official CVE record