PT-2026-64379
CVE-2026-66032
·
Published
2026-07-24
·
Updated
2026-09-29
Description by
CVSS 3.1
8.8
HighMetricsAV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions
libssh2 versions prior to 1.11.1
Description
A double-free issue exists in the
sftp open() function within src/sftp.c. This occurs when a malicious SSH server responds to SSH FXP OPEN with SSH FXP STATUS containing FX OK, causing the response data buffer to be freed. If a subsequent sftp packet require() call returns a specific error, such as LIBSSH2 ERROR CHANNEL PACKET EXCEEDED, the same pointer is freed again. On glibc systems, this can lead to tcache dup conditions, which allow for overlapping allocations and the overwriting of function pointers, enabling heap corruption for any authenticated client opening an SFTP session.Recommendations
Update to the version containing commit 5e47761.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾