CVE-2026-66032

EUVD-2026-48719
libssh2 through 1.11.1, fixed in commit 5e47761, contains a double-free vulnerability in the sftp_open() function in src/sftp.c that allows a malicious SSH server to corrupt the heap of any authenticated client opening an SFTP session. When a server responds to SSH_FXP_OPEN with SSH_FXP_STATUS containing FX_OK, the response data buffer is freed, and if a subsequent sftp_packet_require() call returns a specific error such as LIBSSH2_ERROR_CHANNEL_PACKET_EXCEEDED, the same pointer is freed a second time, enabling tcache dup conditions on glibc systems that allow overlapping allocations and function pointer overwrites.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
8.8 HIGH
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: 37.57%
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
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 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