CVE-2026-66032

Publication date 24 July 2026

Last updated 23 September 2026


Ubuntu priority

Cvss 3 Severity Score

8.8 · High

Score breakdown

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.

Status

Package Ubuntu Release Status
libssh2 26.04 LTS resolute
Fixed 1.11.1-1ubuntu0.26.04.4
24.04 LTS noble
Fixed 1.11.0-4.1ubuntu0.24.04.4
22.04 LTS jammy
Fixed 1.10.0-3ubuntu0.1
20.04 LTS focal
Fixed 1.8.0-2.1ubuntu0.1+esm1
18.04 LTS bionic
Fixed 1.8.0-1ubuntu0.1+esm1
16.04 LTS xenial
Fixed 1.5.0-2ubuntu0.1+esm3
14.04 LTS trusty
Fixed 1.4.3-2ubuntu0.2+esm4

Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

Get Ubuntu Pro 30-day free trial

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
libssh2

Severity score breakdown

CVSS version:

Base score 8.7 · High

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Base score 8.8 · High

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

References

Related Ubuntu Security Notices (USN)

    • USN-8722-1
    • libssh2 vulnerabilities
    • 3 September 2026
    • USN-8799-1
    • libssh2 vulnerabilities
    • 22 September 2026

Other references


Access our resources on patching vulnerabilities