CVE-2026-66034

EUVD-2026-48721
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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
7.5 HIGH
NETWORK
HIGH
NONE
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: 33.55%
Affected Products (NVD)
VendorProductVersion
libssh2libssh2
𝑥
≤ 1.11.1
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
libssh2
bookworm
vulnerable
forky
1.11.1-6
fixed
sid
1.11.1-6
fixed
trixie
no-dsa
trixie (security)
vulnerable
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
libssh2
bionic
needs-triage
focal
needs-triage
jammy
needs-triage
noble
needs-triage
resolute
needs-triage
trusty
needs-triage
xenial
needs-triage
openSUSE logo
openSUSE / SLES Releases
openSUSE Product
Release
libssh2-1
suse enterprise desktop 15 SP7
1.11.0-150600.20.6.1
fixed
suse enterprise sap 12 SP5
1.11.0-29.18.1
fixed
suse enterprise sap 15 SP4
1.11.0-150200.9.8.1
fixed
suse enterprise sap 15 SP5
1.11.0-150200.9.8.1
fixed
suse enterprise sap 15 SP6
1.11.0-150600.20.6.1
fixed
suse enterprise sap 15 SP7
1.11.0-150600.20.6.1
fixed
suse enterprise server 12 SP3
1.4.3-20.20.1
fixed
suse enterprise server 12 SP5
1.11.0-29.18.1
fixed
suse enterprise server 15 SP4
1.11.0-150200.9.8.1
fixed
suse enterprise server 15 SP5
1.11.0-150200.9.8.1
fixed
suse enterprise server 15 SP6
1.11.0-150600.20.6.1
fixed
suse enterprise server 15 SP7
1.11.0-150600.20.6.1
fixed
libssh2-1-32bit
suse enterprise desktop 15 SP7
1.11.0-150600.20.6.1
fixed
suse enterprise sap 12 SP5
1.11.0-29.18.1
fixed
suse enterprise sap 15 SP4
1.11.0-150200.9.8.1
fixed
suse enterprise sap 15 SP5
1.11.0-150200.9.8.1
fixed
suse enterprise sap 15 SP6
1.11.0-150600.20.6.1
fixed
suse enterprise sap 15 SP7
1.11.0-150600.20.6.1
fixed
suse enterprise server 12 SP3
1.4.3-20.20.1
fixed
suse enterprise server 12 SP5
1.11.0-29.18.1
fixed
suse enterprise server 15 SP4
1.11.0-150200.9.8.1
fixed
suse enterprise server 15 SP5
1.11.0-150200.9.8.1
fixed
suse enterprise server 15 SP6
1.11.0-150600.20.6.1
fixed
suse enterprise server 15 SP7
1.11.0-150600.20.6.1
fixed
libssh2-devel
suse enterprise desktop 15 SP7
1.11.0-150600.20.6.1
fixed
suse enterprise sap 12 SP5
1.11.0-29.18.1
fixed
suse enterprise sap 15 SP4
1.11.0-150200.9.8.1
fixed
suse enterprise sap 15 SP5
1.11.0-150200.9.8.1
fixed
suse enterprise sap 15 SP6
1.11.0-150600.20.6.1
fixed
suse enterprise sap 15 SP7
1.11.0-150600.20.6.1
fixed
suse enterprise server 12 SP5
1.11.0-29.18.1
fixed
suse enterprise server 15 SP4
1.11.0-150200.9.8.1
fixed
suse enterprise server 15 SP5
1.11.0-150200.9.8.1
fixed
suse enterprise server 15 SP6
1.11.0-150600.20.6.1
fixed
suse enterprise server 15 SP7
1.11.0-150600.20.6.1
fixed
Amazon Linux logo
Amazon Linux Releases
Amazon Package
Release
cargo-c
Amazon Linux 2023
0:0.10.21-1.amzn2023.0.1
fixed
cargo-c-debuginfo
Amazon Linux 2023
0:0.10.21-1.amzn2023.0.1
fixed
libssh2
Amazon Linux 2
0:1.4.3-12.amzn2.2.9
fixed
Amazon Linux 2023
0:1.10.0-1.amzn2023.0.6
fixed
libssh2-debuginfo
Amazon Linux 2
0:1.4.3-12.amzn2.2.9
fixed
Amazon Linux 2023
0:1.10.0-1.amzn2023.0.6
fixed
libssh2-debugsource
Amazon Linux 2023
0:1.10.0-1.amzn2023.0.6
fixed
libssh2-devel
Amazon Linux 2
0:1.4.3-12.amzn2.2.9
fixed
Amazon Linux 2023
0:1.10.0-1.amzn2023.0.6
fixed
libssh2-docs
Amazon Linux 2
0:1.4.3-12.amzn2.2.9
fixed
Amazon Linux 2023
0:1.10.0-1.amzn2023.0.6
fixed
rust-cargo-c-debugsource
Amazon Linux 2023
0:0.10.21-1.amzn2023.0.1
fixed
Azure Linux logo
Azure Linux Releases
Azure Package
Release
libssh2
Azure Linux 3.0
0:1.11.1-5.azl3
fixed