Patchwire CVEs, their patch status, and feeds to follow them

CVE-2026-66032

Fixed in a distro release EPSS <1%CVSS 8.8

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.

Published 2026-07-24 · CVE record · OSV

Products: libssh2

Distro releases

ReleasePackageFixed in
Alpine 3.21libssh21.11.1-r3
Alpine 3.22libssh21.11.1-r3
Alpine 3.23libssh21.11.1-r4
Alpine 3.24libssh21.11.1-r4
Amazon Linux 2libssh21.4.3-12.amzn2.2.9
Amazon Linux 2libssh2-devel1.4.3-12.amzn2.2.9
Amazon Linux 2libssh2-docs1.4.3-12.amzn2.2.9
Amazon Linux 2023cargo-c0.10.21-1.amzn2023.0.1
Amazon Linux 2023libssh21.10.0-1.amzn2023.0.6
Amazon Linux 2023libssh2-devel1.10.0-1.amzn2023.0.6
Amazon Linux 2023libssh2-docs1.10.0-1.amzn2023.0.6
Chainguardlibssh2no fix
Chainguardlibssh2-devno fix
Chainguardlibssh2-docno fix
Debian 12libssh21.10.0-3+deb12u1
Debian 13libssh21.11.1-1+deb13u2
Debian 14libssh21.11.1-5
Red Hat hummingbird 1libssh20:1.11.1-10.2.hum1
Red Hat hummingbird 1libssh2-devel0:1.11.1-10.2.hum1
Red Hat hummingbird 1libssh2-docs0:1.11.1-10.2.hum1
Red Hat rhel els 7libssh20:1.8.0-4.el7_9.2
Red Hat rhel els 7libssh2-devel0:1.8.0-4.el7_9.2
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOSlibssh2_org1.11.0-150000.4.35.1
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOSlibssh2_org1.11.0-150200.9.8.1
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSSlibssh2_org1.11.0-150000.4.35.1
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSSlibssh2_org1.11.0-150200.9.8.1
SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOSlibssh2_org1.11.0-150200.9.8.1
SUSE Linux Enterprise High Performance Computing 15 SP5-LTSSlibssh2_org1.11.0-150200.9.8.1
SUSE Linux Enterprise Micro 5.3libssh2_org1.11.0-150200.9.8.1
SUSE Linux Enterprise Micro 5.4libssh2_org1.11.0-150200.9.8.1
SUSE Linux Enterprise Micro 5.5libssh2_org1.11.0-150200.9.8.1
SUSE Linux Enterprise Module for Basesystem 15 SP7libssh2_org1.11.0-150600.20.6.1
SUSE Linux Enterprise Server 12 SP5-LTSSlibssh2_org1.11.0-29.18.1
SUSE Linux Enterprise Server 15 SP4-LTSSlibssh2_org1.11.0-150200.9.8.1
SUSE Linux Enterprise Server 15 SP4-LTSSlibssh2_org1.11.0-150000.4.35.1
SUSE Linux Enterprise Server 15 SP5-LTSSlibssh2_org1.11.0-150200.9.8.1
SUSE Linux Enterprise Server 15 SP6-LTSSlibssh2_org1.11.0-150600.20.6.1
SUSE Linux Enterprise Server 16.0libssh2_org1.11.1-160000.5.1
SUSE Linux Enterprise Server LTSS Extended Security 12 SP5libssh2_org1.11.0-29.18.1
SUSE Linux Enterprise Server for SAP Applications 15 SP4libssh2_org1.11.0-150200.9.8.1
SUSE Linux Enterprise Server for SAP Applications 15 SP5libssh2_org1.11.0-150200.9.8.1
SUSE Linux Enterprise Server for SAP Applications 15 SP6libssh2_org1.11.0-150600.20.6.1
SUSE Linux Enterprise Server for SAP applications 16.0libssh2_org1.11.1-160000.5.1
SUSE Linux Micro 6.0libssh2_org1.11.0-4.1
SUSE Linux Micro 6.1libssh2_org1.11.0-slfo.1.1_2.1
SUSE Linux Micro 6.2libssh2_org1.11.1-160000.5.1
Ubuntu 22.04 LTSlibssh21.10.0-3ubuntu0.1
Ubuntu 24.04 LTSlibssh21.11.0-4.1ubuntu0.24.04.4
Ubuntu 26.04 LTSlibssh21.11.1-1ubuntu0.26.04.4
Ubuntu Pro 14.04 LTSlibssh21.4.3-2ubuntu0.2+esm4
Ubuntu Pro 16.04 LTSlibssh21.5.0-2ubuntu0.1+esm3
Ubuntu Pro 18.04 LTSlibssh21.8.0-1ubuntu0.1+esm1
Ubuntu Pro 20.04 LTSlibssh21.8.0-2.1ubuntu0.1+esm1
Wolfilibssh2no fix
Wolfilibssh2-devno fix
Wolfilibssh2-docno fix
openSUSE Leap 16.0libssh2_org1.11.1-160000.5.1
openSUSE Tumbleweedlibssh2_org1.11.1-4.1