PT-2026-64379 · Libssh2+2 · Libssh2+2

·

CVE-2026-66032

·

Published

2026-07-24

·

Updated

2026-09-03

CVSS v3.1

8.8

High

VectorAV: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.

Exploit

Fix

Double Free

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

AZL-93396
CVE-2026-66032
ECHO-416C-75E9-1367
JLSEC-2026-1085
OESA-2026-3392
OESA-2026-3393
OESA-2026-3394
OESA-2026-3395
OESA-2026-3479
OPENSUSE-SU-2026:11454-1
OPENSUSE-SU-2026:21549-1
RHSA-2026:46927
SUSE-SU-2026:23049-1
SUSE-SU-2026:23187-1
SUSE-SU-2026:23214-1
SUSE-SU-2026:23225-1
SUSE-SU-2026:23245-1
SUSE-SU-2026:3525-1
SUSE-SU-2026:3526-1
SUSE-SU-2026:3541-1
USN-8722-1

Affected Products

Linuxmint
Ubuntu
Libssh2