USN-8051-1

Type: Security
Severity: Medium
Published: 2026-02-18
Ubuntu 22.04 LTS (Jammy Jellyfish)
Ubuntu 24.04 LTS (Noble Numbat)
Ubuntu 25.10 (Questing Quokka)

It was discovered that libssh clients incorrectly handled the key exchange process. A remote attacker could possibly use this issue to cause libssh clients to crash, resulting in a denial of service. (CVE-2025-8277) It was discovered that the libssh SCP client incorrectly sanitized paths received from servers. A remote attacker could use this issue to cause libssh SCP clients to overwrite files outside of the working directory and possibly execute arbitrary code. (CVE-2026-0964) It was discovered that libssh incorrectly handled parsing configuration files. A local attacker could possibly use this issue to cause libssh to access non-regular files, resulting in a denial of service. (CVE-2026-0965) It was discovered that libssh incorrectly handled the ssh_get_hexa() function. A remote attacker could possibly use this issue to cause libssh to crash, resulting in a denial of service. (CVE-2026-0966) It was discovered that libssh incorrectly handled certain regular expressions. A local attacker could possibly use this issue to cause libssh to consume resources, resulting in a denial of service. (CVE-2026-0967) It was discovered that the libssh SFTP client incorrectly handled certain malformed longname fields. A remote attacker could use this issue to cause libssh SFTP clients to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2026-0968) Update Instructions: Run `sudo pro fix USN-8051-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: libssh-4 - 0.9.6-2ubuntu0.22.04.6 libssh-dev - 0.9.6-2ubuntu0.22.04.6 libssh-doc - 0.9.6-2ubuntu0.22.04.6 libssh-gcrypt-4 - 0.9.6-2ubuntu0.22.04.6 libssh-gcrypt-dev - 0.9.6-2ubuntu0.22.04.6 No subscription required

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-28T05:50:43.533Z UTC

Official vendor advisory

Ubuntu 22.04 LTS (Jammy Jellyfish)

View source
Observed 2026-11-28T05:50:43.533Z UTC. Last updated 2026-02-19T20:50:49.196Z UTC.

Upstream Advisory

Affected Packages

  • libssh-4 0.9.6-2ubuntu0.22.04.6-0.9.6-2ubuntu0.22.04.6

  • libssh-dev 0.9.6-2ubuntu0.22.04.6-0.9.6-2ubuntu0.22.04.6

  • libssh-doc 0.9.6-2ubuntu0.22.04.6-0.9.6-2ubuntu0.22.04.6

  • libssh-gcrypt-4 0.9.6-2ubuntu0.22.04.6-0.9.6-2ubuntu0.22.04.6

  • libssh-gcrypt-dev 0.9.6-2ubuntu0.22.04.6-0.9.6-2ubuntu0.22.04.6

  • libssh-4 0.10.6-2ubuntu0.3-0.10.6-2ubuntu0.3

  • libssh-dev 0.10.6-2ubuntu0.3-0.10.6-2ubuntu0.3

  • libssh-doc 0.10.6-2ubuntu0.3-0.10.6-2ubuntu0.3

  • libssh-gcrypt-4 0.10.6-2ubuntu0.3-0.10.6-2ubuntu0.3

  • libssh-gcrypt-dev 0.10.6-2ubuntu0.3-0.10.6-2ubuntu0.3

  • libssh-4 0.11.2-1ubuntu0.2-0.11.2-1ubuntu0.2

  • libssh-dev 0.11.2-1ubuntu0.2-0.11.2-1ubuntu0.2

  • libssh-doc 0.11.2-1ubuntu0.2-0.11.2-1ubuntu0.2

Interested in being alerted when there are new versions of libssh-4 and the other packages? Set up an alert.
USN-8051-1: libssh vulnerabilities | Package Alert