Packages
- libssh2 - Client-side C library implementing the SSH2 protocol
Details
It was discovered that libssh2 incorrectly handled certain publickey
subsystem attributes. A remote attacker controlling a malicious SSH server
could use this issue to cause a denial of service or possibly execute
arbitrary code.
(CVE-2026-58050)
It was discovered that libssh2 did not properly initialize publickey list
entries before parsing. A remote attacker controlling a malicious SSH
server could use this issue to cause a denial of service or possibly
execute arbitrary code. (CVE-2026-58051)
It was discovered that libssh2 incorrectly handled certain SFTP server
responses. A remote attacker controlling an SSH server could use this issue
to cause libssh2 to crash or possibly execute arbitrary code.
(CVE-2026-66032)
It was discovered that libssh2 did not properly check bounds in certain
publickey...
It was discovered that libssh2 incorrectly handled certain publickey
subsystem attributes. A remote attacker controlling a malicious SSH server
could use this issue to cause a denial of service or possibly execute
arbitrary code.
(CVE-2026-58050)
It was discovered that libssh2 did not properly initialize publickey list
entries before parsing. A remote attacker controlling a malicious SSH
server could use this issue to cause a denial of service or possibly
execute arbitrary code. (CVE-2026-58051)
It was discovered that libssh2 incorrectly handled certain SFTP server
responses. A remote attacker controlling an SSH server could use this issue
to cause libssh2 to crash or possibly execute arbitrary code.
(CVE-2026-66032)
It was discovered that libssh2 did not properly check bounds in certain
publickey subsystem responses. A remote attacker controlling a malicious
SSH server could use this issue to cause a denial of service or possibly
execute arbitrary code.. (CVE-2026-66034)
Update instructions
In general, a standard system update will make all the necessary changes.
Learn more about how to get the fixes.The problem can be corrected by updating your system to the following package versions:
| Ubuntu Release | Package Version | ||
|---|---|---|---|
| 22.04 LTS jammy | libssh2-1 – 1.10.0-3ubuntu0.1 | ||
| libssh2-1-dev – 1.10.0-3ubuntu0.1 | |||
| 20.04 LTS focal | libssh2-1 – 1.8.0-2.1ubuntu0.1+esm1 | ||
| libssh2-1-dev – 1.8.0-2.1ubuntu0.1+esm1 | |||
| 18.04 LTS bionic | libssh2-1 – 1.8.0-1ubuntu0.1+esm1 | ||
| libssh2-1-dev – 1.8.0-1ubuntu0.1+esm1 | |||
| 16.04 LTS xenial | libssh2-1 – 1.5.0-2ubuntu0.1+esm3 | ||
| libssh2-1-dev – 1.5.0-2ubuntu0.1+esm3 | |||
| 14.04 LTS trusty | libssh2-1 – 1.4.3-2ubuntu0.2+esm4 | ||
| libssh2-1-dev – 1.4.3-2ubuntu0.2+esm4 | |||
Reduce your security exposure
Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.