USN-7696-1
Ronald Crane discovered that libssh incorrectly handled certain base64 conversions. An attacker could use this issue to cause libssh to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2025-4877) Ronald Crane discovered that libssh incorrectly handled the privatekey_from_file() function. An attacker could use this issue to cause libssh to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2025-4878) Ronald Crane discovered that libssh incorrectly handled certain memory operations in the sftp server. An attacker could possibly use this issue to cause libssh to crash, resulting in a denial of service. (CVE-2025-5318) Update Instructions: Run `sudo pro fix USN-7696-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: libssh-4 - 0.9.3-2ubuntu2.5+esm1 libssh-dev - 0.9.3-2ubuntu2.5+esm1 libssh-doc - 0.9.3-2ubuntu2.5+esm1 libssh-gcrypt-4 - 0.9.3-2ubuntu2.5+esm1 libssh-gcrypt-dev - 0.9.3-2ubuntu2.5+esm1 Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Evidence and freshness
Last supporting evidence check: 2026-11-28T01:47:42.136Z UTC
Upstream Advisory
Affected Packages
libssh-4 0.9.3-2ubuntu2.5+esm1-0.9.3-2ubuntu2.5+esm1
libssh-dev 0.9.3-2ubuntu2.5+esm1-0.9.3-2ubuntu2.5+esm1
libssh-doc 0.9.3-2ubuntu2.5+esm1-0.9.3-2ubuntu2.5+esm1
libssh-gcrypt-4 0.9.3-2ubuntu2.5+esm1-0.9.3-2ubuntu2.5+esm1
libssh-gcrypt-dev 0.9.3-2ubuntu2.5+esm1-0.9.3-2ubuntu2.5+esm1