Back to vendor advisories
Ubuntu Security NoticesUSN-9187-1

USN-9187-1: libssh vulnerabilities

Severity not listed 5 CVEs Published Nov 23, 2026 at 5:32 PM UTC

Summary

Haruto Kimura, Rinku Das, and Yi Lin discovered that libssh did not correctly handle SSH channel open messages advertising a zero maximum packet size. An authenticated user could possibly use this issue to cause libssh to use excessive resources, leading to a denial of service. This issue only affected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, and Ubuntu 20.04 LTS. (CVE-2026-59843)

Mikhail Ilin and Saransh Rana discovered that libssh did not correctly sanitize shell metacharacters when expanding usernames in ProxyCommand strings. An attacker could possibly use this issue to obtain sensitive information. (CVE-2026-59846)

Ben Smyth discovered that libssh incorrectly verified AES-GCM authentication tags when built with the OpenSSL backend. A remote attacker in a machine-in-the-middle position could possibly use this issue to modify encrypted traffic without detection. This issue only affected Ubuntu 20.04 LTS. (CVE-2026-59847)

It was discovered that libssh did not correctly handle SFTP server responses for unknown request IDs. A remote attacker controlling a malicious SFTP server could possibly use this issue to cause libssh to use excessive resources, leading to a denial of service. (CVE-2026-59848)

Zhou Qingyang discovered that libssh could invoke data callbacks on channels after they had been closed, leading to a use-after-free. A remote attacker could possibly use this issue to cause libssh to crash, resulting in a denial of service, or possibly execute arbitrary code. This issue only affected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, and Ubuntu 20.04 LTS. (CVE-2026-59850)

Products covered

A separate affected-products list was not included in the collected bulletin.

Remediation

Separate remediation guidance was not included in the collected bulletin.

CVEs in this advisory 5

Updates

  1. Published by Ubuntu

    The publication date reported by the vendor.

  2. Added to SecurityAlert

    We collected the advisory from the official source.

  3. Confirmed at the source

    Our collector saw this advisory during a later source check.