CVE-2026-66035

EUVD-2026-48722
libssh2 through 1.11.1, fixed in commit 42e33d8, contains a pre-authentication heap buffer overflow vulnerability that allows a malicious SSH server to corrupt heap metadata in any connecting client by sending a packet with a packet_length smaller than the cipher's block size during Encrypt-then-MAC cipher negotiation. In the fullpacket() function in src/transport.c, the ETM path allocates a buffer of packet_length bytes but copies blocksize minus one bytes via memcpy, causing an overflow that on 32-bit glibc writes attacker-controlled bytes into an adjacent chunk's SIZE field, enabling tcache bin confusion, overlapping live objects, and function pointer overwrite during the session handshake before authentication.
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: 39.17%
Affected Products (NVD)
VendorProductVersion
libssh2libssh2
𝑥
≤ 1.11.1
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
libssh2
bookworm
1.10.0-3
fixed
bullseye
not-affected
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
Fixed 1.11.0-4.1ubuntu0.24.04.4
released
resolute
Fixed 1.11.1-1ubuntu0.26.04.4
released
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 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 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
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