Logo
vulnerabilityCVE-2026-66032
Name
CVE-2026-66032
Source
NVD ( link)Debian ( link)
Description
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 Date
Updated Date
Workaround
-

Analysis#


Affected Component
Analysis
libssh2
Exploitable

Vulnerability Ratings#


8.7
CVSSv4
8.8
CVSSv31
NaN
other

Others affected components#


Name
Project
Project Version
Version
Status
buildroot
2025.02.x
1.11.1
Exploitable
buildroot
master
1.11.1
Patched
openwrt
master
1.11.1-r1
Exploitable
yocto
kirkstone
1.10.0
Exploitable
yocto
master
1.11.1
Patched
yocto
scarthgap
1.11.1
Exploitable

Resolved with patches#


libssh2 (buildroot:master)

#
Title
Author
Resolve
1
Prevent dangling pointer by nullifying data (#2180)
Will Cosgrove <will@panic.com>
CVE-2026-66032

libssh2 (yocto:master)

#
Title
Author
Resolve
1
Prevent dangling pointer by nullifying data (#2180)
Jaipaul Cheernam <jaipaul.cheernam@est.tech>
CVE-2026-66032