Advisory

UBUNTU-CVE-2026-66032

Also known as: CVE-2026-66032

Summary

The record has no summary.

Details

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.

Severity

High Basis: CVSS v3 score 8.8, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Dates

Published
2026-07-24 17:17 UTC
Modified
2026-09-23 07:41 UTC

Affected packages and fixes

libssh2

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 1.10.0-3ubuntu0.1 (ecosystem)

Fixed versions

1.10.0-3ubuntu0.1

Fix

  • Fixed version 1.10.0-3ubuntu0.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libssh2

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 1.11.0-4.1ubuntu0.24.04.4 (ecosystem)

Fixed versions

1.11.0-4.1ubuntu0.24.04.4

Fix

  • Fixed version 1.11.0-4.1ubuntu0.24.04.4
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libssh2

Debian packages (deb) · Ubuntu 26.04

Affected

  • introduced 0, fixed 1.11.1-1ubuntu0.26.04.4 (ecosystem)

Fixed versions

1.11.1-1ubuntu0.26.04.4

Fix

  • Fixed version 1.11.1-1ubuntu0.26.04.4
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences