libssh: A flaw was found in libssh in which a malicious SFTP (SSH File Transfer Protocol) server can exploit this by sending...
CVE-2026-0968 is fixed in 7 products on 1 platform, first by RHSA-2026:18160, released February 10, 2026. It is not reported as exploited. Patch Radar priority: Routine.
A flaw was found in libssh in which a malicious SFTP (SSH File Transfer Protocol) server can exploit this by sending a malformed 'longname' field within an `SSH_FXP_NAME` message during a file listing operation. This missing null check can lead to reading beyond allocated memory on the heap. This can cause unexpected behavior or lead to a denial of service (DoS) due to application crashes.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| libssh · Debian 12.15 (bookworm) | 0.10.6-0+deb12u3 | DEBIAN-CVE-2026-0968 | Mar 26, 2026 |
| libssh · Debian 13.5 (trixie) | 0.11.5-0+deb13u1 | DEBIAN-CVE-2026-0968 | Mar 26, 2026 |
| libssh · Debian 14 | 0.12.0-1 | DEBIAN-CVE-2026-0968 | Mar 26, 2026 |
| libssh · RHEL 10 | 0.12.0-2.el10 | RHSA-2026:18160 | Feb 10, 2026 |
| libssh · RHEL 9 | 0:0.10.4-18.el9 | RHSA-2026:18683 | May 27, 2026 |
| libssh · almalinux 10 | 0.12.0-2.el10 | ALSA-2026:18160 | May 19, 2026 |
| libssh · almalinux 9 | 0.10.4-18.el9 | ALSA-2026:18683 | May 19, 2026 |
| libssh · amzn 2023 | 0.10.6-1.amzn2023.0.6 | ALAS2023-2026-1632 | Apr 27, 2026 |
| libssh · ol 10 | 0:0.12.0-2.el10 | ELSA-2026-18160 | Jul 8, 2026 |
| libssh · ol 9 | 0:0.10.4-18.el9 | ELSA-2026-18683 | Jun 12, 2026 |
| libssh · opensuse-leap 15.6 | 0.9.8-150600.11.9.1 | SUSE-SU-2026:0779-1 | Mar 3, 2026 |
| libssh · rocky 10 | 0:0.12.0-2.el10 | RLSA-2026:18160 | May 29, 2026 |
| libssh · rocky 9 | 0:0.10.4-18.el9 | RLSA-2026:18683 | May 28, 2026 |
| libssh · sles 15.7 | 0.9.8-150600.11.9.1 | SUSE-SU-2026:0779-1 | Mar 3, 2026 |
| libssh-4 · Ubuntu 18.04.6 LTS (bionic) | 0.8.0~20170825.94fa1e38-1ubuntu0.7+esm6 | libssh-4 0.8.0~20170825.94fa1e38-1ubuntu0.7+esm6 | Mar 12, 2026 |
| libssh-4 · Ubuntu 20.04 LTS (focal) | 0.9.3-2ubuntu2.5+esm3 | libssh-4 0.9.3-2ubuntu2.5+esm3 | Mar 12, 2026 |
| libssh-4 · Ubuntu 22.04.1 LTS (jammy) | 0.9.6-2ubuntu0.22.04.6 | libssh-4 0.9.6-2ubuntu0.22.04.6 | Mar 12, 2026 |
| libssh-4 · Ubuntu 24.04.5 LTS (noble) | 0.10.6-2ubuntu0.3 | libssh-4 0.10.6-2ubuntu0.3 | Mar 12, 2026 |
| libssh-4 · Ubuntu 25.10 (questing) | 0.11.2-1ubuntu0.2 | libssh-4 0.11.2-1ubuntu0.2 | Mar 12, 2026 |
| libssh-config · RHEL 9 | 0:0.10.4-18.el9 | RHSA-2026:18683 | May 27, 2026 |
| libssh-config · almalinux 10 | 0.12.0-2.el10 | ALSA-2026:18160 | May 19, 2026 |
| libssh-config · almalinux 9 | 0.10.4-18.el9 | ALSA-2026:18683 | May 19, 2026 |
| libssh-config · amzn 2023 | 0.10.6-1.amzn2023.0.6 | ALAS2023-2026-1632 | Apr 27, 2026 |
| libssh-config · ol 10 | 0:0.12.0-2.el10 | ELSA-2026-18160 | Jul 8, 2026 |
| libssh-config · ol 9 | 0:0.10.4-18.el9 | ELSA-2026-18683 | Jun 12, 2026 |
| libssh-debuginfo · amzn 2023 | 0.10.6-1.amzn2023.0.6 | ALAS2023-2026-1632 | Apr 27, 2026 |
| libssh-debugsource · amzn 2023 | 0.10.6-1.amzn2023.0.6 | ALAS2023-2026-1632 | Apr 27, 2026 |
| libssh-devel · RHEL 9 | 0:0.10.4-18.el9 | RHSA-2026:18683 | May 27, 2026 |
| libssh-devel · almalinux 10 | 0.12.0-2.el10 | ALSA-2026:18160 | May 19, 2026 |
| libssh-devel · almalinux 9 | 0.10.4-18.el9 | ALSA-2026:18683 | May 19, 2026 |
| libssh-devel · amzn 2023 | 0.10.6-1.amzn2023.0.6 | ALAS2023-2026-1632 | Apr 27, 2026 |
| libssh-devel · ol 10 | 0:0.12.0-2.el10 | ELSA-2026-18160 | Jul 8, 2026 |
| libssh-devel · ol 9 | 0:0.10.4-18.el9 | ELSA-2026-18683 | Jun 12, 2026 |
| libssh-gcrypt-4 · Ubuntu 18.04.6 LTS (bionic) | 0.8.0~20170825.94fa1e38-1ubuntu0.7+esm6 | libssh-gcrypt-4 0.8.0~20170825.94fa1e38-1ubuntu0.7+esm6 | Mar 12, 2026 |
| libssh-gcrypt-4 · Ubuntu 20.04 LTS (focal) | 0.9.3-2ubuntu2.5+esm3 | libssh-gcrypt-4 0.9.3-2ubuntu2.5+esm3 | Mar 12, 2026 |
| libssh-gcrypt-4 · Ubuntu 22.04.1 LTS (jammy) | 0.9.6-2ubuntu0.22.04.6 | libssh-gcrypt-4 0.9.6-2ubuntu0.22.04.6 | Mar 12, 2026 |
| libssh-gcrypt-4 · Ubuntu 24.04.5 LTS (noble) | 0.10.6-2ubuntu0.3 | libssh-gcrypt-4 0.10.6-2ubuntu0.3 | Mar 12, 2026 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.