# CVE-2026-0964: Libssh: improper sanitation of paths received from scp servers

CVE-2026-0964 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.

- Web page: https://patchblox.com/security/cve/CVE-2026-0964
- Priority: Routine
- CVSS: 6.5 (Moderate)
- EPSS: 0.0042
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Feb 10, 2026
- Weakness: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
- Vendor advisory: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-0964

## Description

A malicious SCP server can send unexpected paths that could make the client application override local files outside of working directory. This could be misused to create malicious executable or configuration files and make the user execute them under specific consequences.  This is the same issue as in OpenSSH, tracked as CVE-2019-6111.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | libssh Debian 12.15 (bookworm) | 0.10.6-0+deb12u3 | [DEBIAN-CVE-2026-0964](https://patchblox.com/security/data/fix/linux/debian-cve-2026-0964.md) | Mar 26, 2026 |
| Linux | libssh Debian 13.5 (trixie) | 0.11.5-0+deb13u1 | [DEBIAN-CVE-2026-0964](https://patchblox.com/security/data/fix/linux/debian-cve-2026-0964.md) | Mar 26, 2026 |
| Linux | libssh Debian 14 | 0.12.0-1 | [DEBIAN-CVE-2026-0964](https://patchblox.com/security/data/fix/linux/debian-cve-2026-0964.md) | Mar 26, 2026 |
| Linux | libssh RHEL 10 | 0.12.0-2.el10 | [RHSA-2026:18160](https://patchblox.com/security/data/fix/linux/rhsa-2026-18160.md) | Feb 10, 2026 |
| Linux | libssh RHEL 9 | 0:0.10.4-18.el9 | [RHSA-2026:18683](https://patchblox.com/security/data/fix/linux/rhsa-2026-18683.md) | May 27, 2026 |
| Linux | libssh almalinux 10 | 0.12.0-2.el10 | [ALSA-2026:18160](https://patchblox.com/security/data/fix/linux/alsa-2026-18160.md) | May 19, 2026 |
| Linux | libssh almalinux 9 | 0.10.4-18.el9 | [ALSA-2026:18683](https://patchblox.com/security/data/fix/linux/alsa-2026-18683.md) | May 19, 2026 |
| Linux | libssh amzn 2023 | 0.10.6-1.amzn2023.0.5 | [ALAS2023-2026-1472](https://patchblox.com/security/data/fix/linux/alas2023-2026-1472.md) | Mar 2, 2026 |
| Linux | libssh ol 10 | 0:0.12.0-2.el10 | [ELSA-2026-18160](https://patchblox.com/security/data/fix/linux/elsa-2026-18160.md) | Jul 8, 2026 |
| Linux | libssh ol 9 | 0:0.10.4-18.el9 | [ELSA-2026-18683](https://patchblox.com/security/data/fix/linux/elsa-2026-18683.md) | Jun 12, 2026 |
| Linux | libssh opensuse-leap 15.6 | 0.9.8-150600.11.9.1 | [SUSE-SU-2026:0779-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-0779-1.md) | Mar 3, 2026 |
| Linux | libssh rocky 10 | 0:0.12.0-2.el10 | [RLSA-2026:18160](https://patchblox.com/security/data/fix/linux/rlsa-2026-18160.md) | May 29, 2026 |
| Linux | libssh rocky 9 | 0:0.10.4-18.el9 | [RLSA-2026:18683](https://patchblox.com/security/data/fix/linux/rlsa-2026-18683.md) | May 28, 2026 |
| Linux | libssh sles 15.7 | 0.9.8-150600.11.9.1 | [SUSE-SU-2026:0779-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-0779-1.md) | Mar 3, 2026 |
| Linux | 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](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libssh-4-0.8.0-20170825.94fa1e38-1ubuntu0.7-esm6.md) | Mar 12, 2026 |
| Linux | libssh-4 Ubuntu 20.04 LTS (focal) | 0.9.3-2ubuntu2.5+esm3 | [libssh-4 0.9.3-2ubuntu2.5+esm3](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libssh-4-0.9.3-2ubuntu2.5-esm3.md) | Mar 12, 2026 |
| Linux | libssh-4 Ubuntu 22.04.1 LTS (jammy) | 0.9.6-2ubuntu0.22.04.6 | [libssh-4 0.9.6-2ubuntu0.22.04.6](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libssh-4-0.9.6-2ubuntu0.22.04.6.md) | Mar 12, 2026 |
| Linux | libssh-4 Ubuntu 24.04.5 LTS (noble) | 0.10.6-2ubuntu0.3 | [libssh-4 0.10.6-2ubuntu0.3](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libssh-4-0.10.6-2ubuntu0.3.md) | Mar 12, 2026 |
| Linux | libssh-4 Ubuntu 25.10 (questing) | 0.11.2-1ubuntu0.2 | [libssh-4 0.11.2-1ubuntu0.2](https://patchblox.com/security/data/fix/linux/ubuntu-questing-libssh-4-0.11.2-1ubuntu0.2.md) | Mar 12, 2026 |
| Linux | libssh-config RHEL 9 | 0:0.10.4-18.el9 | [RHSA-2026:18683](https://patchblox.com/security/data/fix/linux/rhsa-2026-18683.md) | May 27, 2026 |
| Linux | libssh-config almalinux 10 | 0.12.0-2.el10 | [ALSA-2026:18160](https://patchblox.com/security/data/fix/linux/alsa-2026-18160.md) | May 19, 2026 |
| Linux | libssh-config almalinux 9 | 0.10.4-18.el9 | [ALSA-2026:18683](https://patchblox.com/security/data/fix/linux/alsa-2026-18683.md) | May 19, 2026 |
| Linux | libssh-config amzn 2023 | 0.10.6-1.amzn2023.0.5 | [ALAS2023-2026-1472](https://patchblox.com/security/data/fix/linux/alas2023-2026-1472.md) | Mar 2, 2026 |
| Linux | libssh-config ol 10 | 0:0.12.0-2.el10 | [ELSA-2026-18160](https://patchblox.com/security/data/fix/linux/elsa-2026-18160.md) | Jul 8, 2026 |
| Linux | libssh-config ol 9 | 0:0.10.4-18.el9 | [ELSA-2026-18683](https://patchblox.com/security/data/fix/linux/elsa-2026-18683.md) | Jun 12, 2026 |
| Linux | libssh-debuginfo amzn 2023 | 0.10.6-1.amzn2023.0.5 | [ALAS2023-2026-1472](https://patchblox.com/security/data/fix/linux/alas2023-2026-1472.md) | Mar 2, 2026 |
| Linux | libssh-debugsource amzn 2023 | 0.10.6-1.amzn2023.0.5 | [ALAS2023-2026-1472](https://patchblox.com/security/data/fix/linux/alas2023-2026-1472.md) | Mar 2, 2026 |
| Linux | libssh-devel RHEL 9 | 0:0.10.4-18.el9 | [RHSA-2026:18683](https://patchblox.com/security/data/fix/linux/rhsa-2026-18683.md) | May 27, 2026 |
| Linux | libssh-devel almalinux 10 | 0.12.0-2.el10 | [ALSA-2026:18160](https://patchblox.com/security/data/fix/linux/alsa-2026-18160.md) | May 19, 2026 |
| Linux | libssh-devel almalinux 9 | 0.10.4-18.el9 | [ALSA-2026:18683](https://patchblox.com/security/data/fix/linux/alsa-2026-18683.md) | May 19, 2026 |
| Linux | libssh-devel amzn 2023 | 0.10.6-1.amzn2023.0.5 | [ALAS2023-2026-1472](https://patchblox.com/security/data/fix/linux/alas2023-2026-1472.md) | Mar 2, 2026 |
| Linux | libssh-devel ol 10 | 0:0.12.0-2.el10 | [ELSA-2026-18160](https://patchblox.com/security/data/fix/linux/elsa-2026-18160.md) | Jul 8, 2026 |
| Linux | libssh-devel ol 9 | 0:0.10.4-18.el9 | [ELSA-2026-18683](https://patchblox.com/security/data/fix/linux/elsa-2026-18683.md) | Jun 12, 2026 |
| Linux | 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](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libssh-gcrypt-4-0.8.0-20170825.94fa1e38-1ubuntu0.7-esm6.md) | Mar 12, 2026 |
| Linux | libssh-gcrypt-4 Ubuntu 20.04 LTS (focal) | 0.9.3-2ubuntu2.5+esm3 | [libssh-gcrypt-4 0.9.3-2ubuntu2.5+esm3](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libssh-gcrypt-4-0.9.3-2ubuntu2.5-esm3.md) | Mar 12, 2026 |
| Linux | 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](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libssh-gcrypt-4-0.9.6-2ubuntu0.22.04.6.md) | Mar 12, 2026 |
| Linux | libssh-gcrypt-4 Ubuntu 24.04.5 LTS (noble) | 0.10.6-2ubuntu0.3 | [libssh-gcrypt-4 0.10.6-2ubuntu0.3](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libssh-gcrypt-4-0.10.6-2ubuntu0.3.md) | Mar 12, 2026 |

---

Data as of 2026-11-08T19:12:23Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

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.
