
CVE catalog
CVE-2019-13115
libssh2: CVE-2019-13115
- Severity
- Medium · CVSS 6.8
CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 11.66% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libssh2 | sid | 1.11.1-6 | fixed |
| Debian | libssh2 | forky | 1.11.1-6 | fixed |
| Debian | libssh2 | trixie | 1.11.1-1+deb13u2 | fixed |
| Debian | libssh2 | trixie-security | 1.11.1-1+deb13u1 | fixed |
| Debian | libssh2 | bookworm | 1.10.0-3 | fixed |
| Debian | libssh2 | bookworm-security | 1.10.0-3+deb12u1 | fixed |
| Ubuntu | libssh2 | pro | 1.8.0-2.1build1 | vulnerable |
| Ubuntu | libssh2 | pro | 1.8.0-2.1ubuntu0.1 | vulnerable |
| Ubuntu | libssh2 | pro | 1.8.0-2.1ubuntu0.1+esm1 | vulnerable |
| Alpine | libssh2 | 3.10 | 1.9.0-r0 | fixed |
| Alpine | libssh2 | 3.11 | 1.9.0-r0 | fixed |
| Alpine | libssh2 | 3.12 | 1.9.0-r0 | fixed |
| Alpine | libssh2 | 3.13 | 1.9.0-r0 | fixed |
| Alpine | libssh2 | 3.14 | 1.9.0-r0 | fixed |
| Alpine | libssh2 | 3.15 | 1.9.0-r0 | fixed |
| Alpine | libssh2 | 3.16 | 1.9.0-r0 | fixed |
| Alpine | libssh2 | 3.17 | 1.9.0-r0 | fixed |
| Alpine | libssh2 | 3.18 | 1.9.0-r0 | fixed |
| Alpine | libssh2 | 3.19 | 1.9.0-r0 | fixed |
| Alpine | libssh2 | 3.20 | 1.9.0-r0 | fixed |
| Alpine | libssh2 | 3.21 | 1.9.0-r0 | fixed |
| Alpine | libssh2 | 3.22 | 1.9.0-r0 | fixed |
| Alpine | libssh2 | 3.23 | 1.9.0-r0 | fixed |
| Alpine | libssh2 | 3.24 | 1.9.0-r0 | fixed |
| Alpine | libssh2 | 3.9 | 1.9.0-r0 | fixed |
| Ubuntu | libssh2 | pro | 1.5.0-2 | vulnerable |
| Ubuntu | libssh2 | pro | 1.5.0-2ubuntu0.1 | vulnerable |
| Ubuntu | libssh2 | pro | 1.5.0-2ubuntu0.1+esm1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libssh2 | source | sid | 1.9.0-1 | not yet assigned | Not reported | [932329] |
| Debian | libssh2 | source | forky | 1.9.0-1 | not yet assigned | Not reported | [932329] |
| Debian | libssh2 | source | trixie | 1.9.0-1 | not yet assigned | Not reported | [932329] |
| Debian | libssh2 | source | bookworm | 1.9.0-1 | not yet assigned | Not reported | [932329] |
| Alpine | libssh2 | apk | 3.10 | 1.9.0-r0 | Not reported | ALPINE-CVE-2019-13115 | Not reported |
| Alpine | libssh2 | apk | 3.11 | 1.9.0-r0 | Not reported | ALPINE-CVE-2019-13115 | Not reported |
| Alpine | libssh2 | apk | 3.12 | 1.9.0-r0 | Not reported | ALPINE-CVE-2019-13115 | Not reported |
| Alpine | libssh2 | apk | 3.13 | 1.9.0-r0 | Not reported | ALPINE-CVE-2019-13115 | Not reported |
| Alpine | libssh2 | apk | 3.14 | 1.9.0-r0 | Not reported | ALPINE-CVE-2019-13115 | Not reported |
| Alpine | libssh2 | apk | 3.15 | 1.9.0-r0 | Not reported | ALPINE-CVE-2019-13115 | Not reported |
| Alpine | libssh2 | apk | 3.16 | 1.9.0-r0 | Not reported | ALPINE-CVE-2019-13115 | Not reported |
| Alpine | libssh2 | apk | 3.17 | 1.9.0-r0 | Not reported | ALPINE-CVE-2019-13115 | Not reported |
| Alpine | libssh2 | apk | 3.18 | 1.9.0-r0 | Not reported | ALPINE-CVE-2019-13115 | Not reported |
| Alpine | libssh2 | apk | 3.19 | 1.9.0-r0 | Not reported | ALPINE-CVE-2019-13115 | Not reported |
| Alpine | libssh2 | apk | 3.20 | 1.9.0-r0 | Not reported | ALPINE-CVE-2019-13115 | Not reported |
| Alpine | libssh2 | apk | 3.21 | 1.9.0-r0 | Not reported | ALPINE-CVE-2019-13115 | Not reported |
| Alpine | libssh2 | apk | 3.22 | 1.9.0-r0 | Not reported | ALPINE-CVE-2019-13115 | Not reported |
| Alpine | libssh2 | apk | 3.23 | 1.9.0-r0 | Not reported | ALPINE-CVE-2019-13115 | Not reported |
| Alpine | libssh2 | apk | 3.24 | 1.9.0-r0 | Not reported | ALPINE-CVE-2019-13115 | Not reported |
| Alpine | libssh2 | apk | 3.9 | 1.9.0-r0 | Not reported | ALPINE-CVE-2019-13115 | Not reported |
| Ubuntu | libssh2 | deb | pro | 1.5.0-2ubuntu0.1+esm1 | Not reported | USN-5308-1 | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
[Debian 12 (Bookworm)]
- [libssh2-1]Unknown
Source package: [libssh2]
Details (2)
1.10.0-3+b1· amd64 · bookwormFixed · Fixed:
1.9.0-1dsa · libssh2 · debian · bookworm; dsa · libssh2 · debian · 12
1.10.0-3+b1· arm64 · bookwormFixed · Fixed:
1.9.0-1dsa · libssh2 · debian · bookworm; dsa · libssh2 · debian · 12
- [libssh2-1-dev]Unknown
Source package: [libssh2]
Details (2)
1.10.0-3+b1· amd64 · bookwormFixed · Fixed:
1.9.0-1dsa · libssh2 · debian · bookworm; dsa · libssh2 · debian · 12
1.10.0-3+b1· arm64 · bookwormFixed · Fixed:
1.9.0-1dsa · libssh2 · debian · bookworm; dsa · libssh2 · debian · 12
[Debian 13 (Trixie)]
- [libssh2-1-dev]Unknown
Source package: [libssh2]
Details (4)
1.11.1-1+deb13u1· amd64 · trixieFixed · Fixed:
1.9.0-1dsa · libssh2 · debian · 13
1.11.1-1+deb13u1· arm64 · trixieFixed · Fixed:
1.9.0-1dsa · libssh2 · debian · 13
1.11.1-1+deb13u1· amd64 · trixie-securityFixed · Fixed:
1.9.0-1dsa · libssh2 · debian · 13
1.11.1-1+deb13u1· arm64 · trixie-securityFixed · Fixed:
1.9.0-1dsa · libssh2 · debian · 13
- [libssh2-1t64]Unknown
Source package: [libssh2]
Details (4)
1.11.1-1+deb13u1· amd64 · trixieFixed · Fixed:
1.9.0-1dsa · libssh2 · debian · 13
1.11.1-1+deb13u1· arm64 · trixieFixed · Fixed:
1.9.0-1dsa · libssh2 · debian · 13
1.11.1-1+deb13u1· amd64 · trixie-securityFixed · Fixed:
1.9.0-1dsa · libssh2 · debian · 13
1.11.1-1+deb13u1· arm64 · trixie-securityFixed · Fixed:
1.9.0-1dsa · libssh2 · debian · 13
Observed:
References
- [https://osv.dev/vulnerability/ALPINE-CVE-2019-13115]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2019-13115]
- [https://osv.dev/vulnerability/DLA-1730-3]
- [https://osv.dev/vulnerability/DLA-2848-1]
- [https://osv.dev/vulnerability/DLA-3559-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2019-13115]
- [https://osv.dev/vulnerability/USN-5308-1]
- [https://security-tracker.debian.org/tracker/CVE-2019-13115]
- [https://security.access.redhat.com/data/csaf/v2/vex/2019/cve-2019-13115.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2019/wid-sec-w-2023-2301.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]