Advisory

USN-8699-1

Also known as: CVE-2026-15370, CVE-2026-59843, CVE-2026-59844, CVE-2026-59845, CVE-2026-59846, CVE-2026-59847, CVE-2026-59848, CVE-2026-59849, CVE-2026-59850

Summary

libssh vulnerabilities

Details

It was discovered that libssh had a stack buffer overflow in its SFTP
server when constructing directory listing entries for long filenames. An
attacker could possibly use this issue to cause libssh to crash or execute
arbitrary code. This issue only affected Ubuntu 26.04 LTS. (CVE-2026-15370)

It was discovered that libssh did not correctly handle SSH channel open
messages advertising a zero maximum packet size. An authenticated remote
attacker could possibly use this issue to cause libssh to consume excessive
CPU resources, leading to a denial of service. (CVE-2026-59843)

It was discovered that libssh did not correctly limit SFTP read request
lengths in its server implementation. An authenticated remote attacker
could possibly use this issue to cause libssh to allocate excessive memory,
leading to a denial of service. This issue only affected Ubuntu 26.04 LTS.
(CVE-2026-59844)

It was discovered that libssh did not correctly handle ProxyCommand fork()
failures. A local attacker could possibly use this issue to cause a denial
of service. (CVE-2026-59845)

It was 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)

It was discovered that libssh had incorrect AES-GCM tag verification when
built with the OpenSSL backend. A machine-in-the-middle attacker could
possibly use this issue to modify encrypted traffic without detection.
(CVE-2026-59847)

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

It was discovered that libssh had logic errors in certificate-based
authentication that could cause clients to loop indefinitely when
certificates were rejected. An attacker could possibly use this issue to
cause a denial of service. This issue only affected Ubuntu 26.04 LTS.
(CVE-2026-59849)

It was discovered that libssh could invoke data callbacks on channels after
they had been closed. An attacker could possibly use this issue to cause
libssh to crash or execute arbitrary code. (CVE-2026-59850)

Severity

Not rated by the source.

Dates

Published
2026-08-31 11:58 UTC
Modified
2026-08-31 17:26 UTC

Affected packages and fixes

libssh

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 0.9.6-2ubuntu0.22.04.8 (ecosystem)

Fixed versions

0.9.6-2ubuntu0.22.04.8

Fix

  • Fixed version 0.9.6-2ubuntu0.22.04.8
    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.

libssh

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 0.10.6-2ubuntu0.5 (ecosystem)

Fixed versions

0.10.6-2ubuntu0.5

Fix

  • Fixed version 0.10.6-2ubuntu0.5
    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.

libssh

Debian packages (deb) · Ubuntu 26.04

Affected

  • introduced 0, fixed 0.11.3-1ubuntu2.1 (ecosystem)

Fixed versions

0.11.3-1ubuntu2.1

Fix

  • Fixed version 0.11.3-1ubuntu2.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.

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