Back Linuxsecurity Ubuntu libssh Fixes Resource Abuse and SSH Data Security Risks
Several security issues were fixed in libssh. Software Description: - libssh: A tiny C SSH library Details: 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 ... Read the Full Advisory
Several security issues were fixed in libssh.
Software Description:
- libssh: A tiny C SSH library
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 ...
The problem can be corrected by updating your system to the following package versions: Ubuntu 24.04 LTS libssh-4 0.10.6-2ubuntu0.6 libssh-dev 0.10.6-2ubuntu0.6 libssh-gcrypt-4 0.10.6-2ubuntu0.6 libssh-gcrypt-dev 0.10.6-2ubuntu0.6 Ubuntu 22.04 LTS libssh-4 0.9.6-2ubuntu0.22.04.9 libssh-dev 0.9.6-2ubuntu0.22.04.9 libssh-gcrypt-4 0.9.6-2ubuntu0.22.04.9 libssh-gcrypt-dev 0.9.6-2ubuntu0.22.04.9 Ubuntu 20.04 LTS libssh-4 0.9.3-2ubuntu2.5+esm5 Available with Ubuntu Pro libssh-dev 0.9.3-2ubuntu2.5+esm5 Available with Ubuntu Pro libssh-gcrypt-4 0.9.3-2ubuntu2.5+esm5 Available with Ubuntu Pro libssh-gcrypt-dev 0.9.3-2ubuntu2.5+esm5 Available with Ubuntu Pro Ubuntu 18.04 LTS libssh-4 0.8.0~20170825.94fa1e38-1ubuntu0.7+esm8 Available with Ubuntu Pro libssh-dev 0.8.0~20170825.94fa1e38-1ubuntu0.7+esm8 Available with Ubuntu Pro libssh-gcrypt-4 0.8.0~20170825.94fa1e38-1ubuntu0.7+esm8 Available with Ubuntu Pro libssh-gcrypt-dev 0.8.0~20170825.94fa1e38-1ubuntu0.7+esm8 Available with Ubuntu Pro Ubuntu 16.04 LTS libssh-4 0.6.3-4.3ubuntu0.6+esm6 Available with Ubuntu Pro libssh-dev 0.6.3-4.3ubuntu0.6+esm6 Available with Ubuntu Pro libssh-gcrypt-4 0.6.3-4.3ubuntu0.6+esm6 Available with Ubuntu Pro libssh-gcrypt-dev 0.6.3-4.3ubuntu0.6+esm6 Available with Ubuntu Pro In general, a standard system update will make all the necessary changes.
CVE-2026-59843, CVE-2026-59846, CVE-2026-59847, CVE-2026-59848,
Ubuntu Security Notice USN-9187-1
Get the latest News and Insights
Get the latest Linux and open source security news straight to your inbox.
Linux Security - Your source for Top Linux News, Advisories, HOWTOs and Feature Releases
The full story
This article is one source in a clustered incident — the cluster page carries the summary, timeline and every other outlet covering it.
