PT-2026-76124
Published
2026-07-31
·
Updated
2026-07-31
Description by
CVSS 3.1
8.8
HighMetricsAV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
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.Exploitability
Fix
Vendors
Affected products
Related identifiers
Found an issue in the description? Have something to add? Feel free to write us 👾