
CVE catalog
CVE-2026-66034
libssh2 through 1.11.1, fixed in commit a13bb6c, contains a missing bounds check vulnerability that allows a malicious SSH server to trigger an arbitrary-length heap out-of-bounds read and a free of a
- Severity
- High · CVSS 7.7
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.40% · Oct 25, 2026
libssh2 through 1.11.1, fixed in commit a13bb6c, contains a missing bounds check vulnerability that allows a malicious SSH server to trigger an arbitrary-length heap out-of-bounds read and a free of an uninitialized pointer via the publickey subsystem. In libssh2_publickey_list_fetch(), the version 1 response parser reads a server-controlled comment_len value and advances the parse pointer without verifying sufficient bytes remain in the buffer, causing the out-of-bounds read to leak heap pointers from adjacent allocations defeating ASLR, followed by heap allocator state corruption when the error cleanup path frees an uninitialized pointer from a non-zeroed realloc() region.
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 | vulnerable |
| Debian | libssh2 | bookworm | 1.10.0-3 | vulnerable |
| 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 | fixed |
| Ubuntu | libssh2 | 22.04 | 1.9.0-3 | vulnerable |
| Ubuntu | libssh2 | 22.04 | 1.10.0-2 | vulnerable |
| Ubuntu | libssh2 | 22.04 | 1.10.0-2build1 | vulnerable |
| Ubuntu | libssh2 | 22.04 | 1.10.0-3 | vulnerable |
| Ubuntu | libssh2 | 22.04 | 1.10.0-3ubuntu0.1 | fixed |
| Ubuntu | libssh2 | 24.04 | 1.11.0-2 | vulnerable |
| Ubuntu | libssh2 | 24.04 | 1.11.0-3 | vulnerable |
| Ubuntu | libssh2 | 24.04 | 1.11.0-4 | vulnerable |
| Ubuntu | libssh2 | 24.04 | 1.11.0-4.1build1 | vulnerable |
| Ubuntu | libssh2 | 24.04 | 1.11.0-4.1build2 | vulnerable |
| Ubuntu | libssh2 | 24.04 | 1.11.0-4.1ubuntu0.24.04.1 | vulnerable |
| Ubuntu | libssh2 | 24.04 | 1.11.0-4.1ubuntu0.24.04.2 | vulnerable |
| Ubuntu | libssh2 | 24.04 | 1.11.0-4.1ubuntu0.24.04.3 | fixed |
| Ubuntu | libssh2 | 26.04 | 1.11.1-1build1 | vulnerable |
| Ubuntu | libssh2 | 26.04 | 1.11.1-1build2 | vulnerable |
| Ubuntu | libssh2 | 26.04 | 1.11.1-1ubuntu0.26.04.1 | vulnerable |
| Ubuntu | libssh2 | 26.04 | 1.11.1-1ubuntu0.26.04.2 | vulnerable |
| Ubuntu | libssh2 | 26.04 | 1.11.1-1ubuntu0.26.04.3 | fixed |
| Alpine | libssh2 | 3.21 | 1.11.1-r3 | fixed |
| Alpine | libssh2 | 3.22 | 1.11.1-r3 | fixed |
| Alpine | libssh2 | 3.23 | 1.11.1-r4 | fixed |
| Alpine | libssh2 | 3.24 | 1.11.1-r4 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libssh2 | source | sid | 1.11.1-5 | not yet assigned | Not reported | [1142856] |
| Debian | libssh2 | source | forky | 1.11.1-5 | not yet assigned | Not reported | [1142856] |
| Debian | libssh2 | source | trixie | 1.11.1-1+deb13u2 | not yet assigned | Not reported | [1142856] |
| Debian | libssh2 | source | bookworm | 1.10.0-3+deb12u1 | not yet assigned | Not reported | [1142856] |
| Ubuntu | libssh2 | deb | pro | 1.8.0-2.1ubuntu0.1+esm1 | Not reported | UBUNTU-CVE-2026-66034 | Not reported |
| Ubuntu | libssh2 | deb | 22.04 | 1.10.0-3ubuntu0.1 | Not reported | UBUNTU-CVE-2026-66034 | Not reported |
| Ubuntu | libssh2 | deb | 24.04 | 1.11.0-4.1ubuntu0.24.04.3 | Not reported | UBUNTU-CVE-2026-66034 | Not reported |
| Ubuntu | libssh2 | deb | 26.04 | 1.11.1-1ubuntu0.26.04.3 | Not reported | UBUNTU-CVE-2026-66034 | Not reported |
| Alpine | libssh2 | apk | 3.21 | 1.11.1-r3 | Not reported | ALPINE-CVE-2026-66034 | Not reported |
| Alpine | libssh2 | apk | 3.22 | 1.11.1-r3 | Not reported | ALPINE-CVE-2026-66034 | Not reported |
| Alpine | libssh2 | apk | 3.23 | 1.11.1-r4 | Not reported | ALPINE-CVE-2026-66034 | Not reported |
| Alpine | libssh2 | apk | 3.24 | 1.11.1-r4 | Not reported | ALPINE-CVE-2026-66034 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libssh2-1]Affected
Source package: [libssh2]
Details (2)
1.10.0-3+b1· amd64 · bookwormAffected · Fixed:
1.10.0-3+deb12u1nvd · libssh2 · debian · bookworm; nvd · libssh2 · debian · 12
1.10.0-3+b1· arm64 · bookwormAffected · Fixed:
1.10.0-3+deb12u1nvd · libssh2 · debian · bookworm; nvd · libssh2 · debian · 12
- [libssh2-1-dev]Affected
Source package: [libssh2]
Details (2)
1.10.0-3+b1· amd64 · bookwormAffected · Fixed:
1.10.0-3+deb12u1nvd · libssh2 · debian · bookworm; nvd · libssh2 · debian · 12
1.10.0-3+b1· arm64 · bookwormAffected · Fixed:
1.10.0-3+deb12u1nvd · libssh2 · debian · bookworm; nvd · libssh2 · debian · 12
[Debian 13 (Trixie)]
- [libssh2-1-dev]Affected
Source package: [libssh2]
Details (4)
1.11.1-1+deb13u1· amd64 · trixieAffected · Fixed:
1.11.1-1+deb13u2nvd · libssh2 · debian · 13
1.11.1-1+deb13u1· arm64 · trixieAffected · Fixed:
1.11.1-1+deb13u2nvd · libssh2 · debian · 13
1.11.1-1+deb13u1· amd64 · trixie-securityAffected · Fixed:
1.11.1-1+deb13u2nvd · libssh2 · debian · 13
1.11.1-1+deb13u1· arm64 · trixie-securityAffected · Fixed:
1.11.1-1+deb13u2nvd · libssh2 · debian · 13
- [libssh2-1t64]Affected
Source package: [libssh2]
Details (4)
1.11.1-1+deb13u1· amd64 · trixieAffected · Fixed:
1.11.1-1+deb13u2nvd · libssh2 · debian · 13
1.11.1-1+deb13u1· arm64 · trixieAffected · Fixed:
1.11.1-1+deb13u2nvd · libssh2 · debian · 13
1.11.1-1+deb13u1· amd64 · trixie-securityAffected · Fixed:
1.11.1-1+deb13u2nvd · libssh2 · debian · 13
1.11.1-1+deb13u1· arm64 · trixie-securityAffected · Fixed:
1.11.1-1+deb13u2nvd · libssh2 · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_11454-1.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-66034]
- [https://osv.dev/vulnerability/ALPINE-CVE-2026-66034]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-66034]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-66034]
- [https://security-tracker.debian.org/tracker/CVE-2026-66034]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-66034.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-2516.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]