CVE-2026-0964 Libssh: improper sanitation of paths received from scp servers
MediumCVSS 6.3
EPSS 0.43%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebianRed Hat
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.
Upgrade path
21 packages: 12 fixed, 1 partially fixed, 5 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat hardened images | All versions | No fix listed | No fix yet |
| redhat openshift | All versions | No fix listed | No fix yet |
| redhat/libssh(Red Hat enterprise_linux 8) | All versions | No fix listed | No fix yet |
| redhat/openshift/ose-rhel-coreos-8(Red Hat openshift 4) | All versions | No fix listed | No fix yet |
| redhat/openshift/ose-rhel-coreos-9(Red Hat openshift 4) | All versions | No fix listed | No fix yet |
| redhat enterprise linux | < 0:0.10.4-18.el9; < 0:0.12.0-2.el10; = 8.0; = 9.0 +2 more | 0:0.10.4-18.el9, 0:0.12.0-2.el10 | Partially fixed |
| alpine/libssh(Alpine v3.23) | < 0.11.4-r0 | 0.11.4-r0 | Fixed |
| alpine/libssh(Alpine v3.24) | < 0.12.0-r0 | 0.12.0-r0 | Fixed |
| azure linux libssh(Azure Linux 3.0) | < 0.10.6-6; < 0.10.6-7 | 0.10.6-6, 0.10.6-7 | Fixed |
| cbl-mariner libssh(CBL-Mariner 2.0) | < 0.10.6-6 | 0.10.6-6 | Fixed |
| debian/libssh(Debian 12) | < 0.10.6-0+deb12u3; = 0.10.5-2; = 0.10.5-3; = 0.10.5-3+hurd.1 +2 more | 0.10.6-0+deb12u3 | Fixed |
| debian/libssh(Debian 13) | < 0.11.5-0+deb13u1; = 0.11.2-1; = 0.11.2-1+deb13u1; = 0.11.3-1 | 0.11.5-0+deb13u1 | Fixed |
| debian/libssh(Debian 14) | < 0.12.0-1; = 0.11.2-1; = 0.11.3-1 | 0.12.0-1 | Fixed |
| libssh | < 0.11.4 | 0.11.4 | Fixed |
| redhat/libssh(Red Hat enterprise_linux 10.2) | < 0.12.0-2.el10 | 0.12.0-2.el10 | Fixed |
| redhat/libssh(Red Hat enterprise_linux 9) | < 0.10.4-18.el9 | 0.10.4-18.el9 | Fixed |
| ubuntu/libssh(Ubuntu 22.04) | < 0.9.6-2ubuntu0.22.04.6 | 0.9.6-2ubuntu0.22.04.6 | Fixed |
| ubuntu/libssh(Ubuntu 24.04) | < 0.10.6-2ubuntu0.3 | 0.10.6-2ubuntu0.3 | Fixed |
| redhat hummingbird | = 1 | No fix listed | Versions listed |
| redhat openshift container platform | = 4.0 | No fix listed | Versions listed |
| redhat rhel els | = 6; = 7 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| azure linux libssh(Azure Linux:3.0) | < 0.10.6-6 | 0.10.6-6 |
| cbl-mariner libssh(CBL-Mariner:2.0) | < 0.10.6-6 | 0.10.6-6 |
| azure linux libssh(Azure Linux:3.0) | < 0.10.6-7 | 0.10.6-7 |
| redhat enterprise linux | < 0:0.12.0-2.el10 | 0:0.12.0-2.el10 |
| redhat enterprise linux | < 0:0.10.4-18.el9 | 0:0.10.4-18.el9 |
| redhat rhel els | = 6 | No fix listed |
| redhat rhel els | = 7 | No fix listed |
| redhat enterprise linux | All versions | No fix listed |
| redhat hummingbird | = 1 | No fix listed |
| redhat openshift | All versions | No fix listed |
| debian/libssh(Debian:12) | < 0.10.6-0+deb12u3 | 0.10.6-0+deb12u3 |
| debian/libssh(Debian:12) | = 0.10.5-2 | No fix listed |
| debian/libssh(Debian:12) | = 0.10.5-3 | No fix listed |
| debian/libssh(Debian:12) | = 0.10.5-3+hurd.1 | No fix listed |
| debian/libssh(Debian:12) | = 0.10.6-0+deb12u1 | No fix listed |
| debian/libssh(Debian:12) | = 0.10.6-0+deb12u2 | No fix listed |
| debian/libssh(Debian:13) | < 0.11.5-0+deb13u1 | 0.11.5-0+deb13u1 |
| debian/libssh(Debian:13) | = 0.11.2-1 | No fix listed |
| debian/libssh(Debian:13) | = 0.11.2-1+deb13u1 | No fix listed |
| debian/libssh(Debian:13) | = 0.11.3-1 | No fix listed |
| debian/libssh(Debian:14) | < 0.12.0-1 | 0.12.0-1 |
| debian/libssh(Debian:14) | = 0.11.2-1 | No fix listed |
| debian/libssh(Debian:14) | = 0.11.3-1 | No fix listed |
| ubuntu/libssh(Ubuntu:22.04) | < 0.9.6-2ubuntu0.22.04.6 | 0.9.6-2ubuntu0.22.04.6 |
| redhat/libssh(Red Hat:enterprise_linux:10.2) | < 0.12.0-2.el10 | 0.12.0-2.el10 |
Show 13 more
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat/libssh(Red Hat:enterprise_linux:9) | < 0.10.4-18.el9 | 0.10.4-18.el9 |
| redhat/libssh(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/openshift/ose-rhel-coreos-8(Red Hat:openshift:4) | All versions | No fix listed |
| redhat/openshift/ose-rhel-coreos-9(Red Hat:openshift:4) | All versions | No fix listed |
| alpine/libssh(Alpine:v3.23) | < 0.11.4-r0 | 0.11.4-r0 |
| alpine/libssh(Alpine:v3.24) | < 0.12.0-r0 | 0.12.0-r0 |
| ubuntu/libssh(Ubuntu:24.04) | < 0.10.6-2ubuntu0.3 | 0.10.6-2ubuntu0.3 |
| libssh | < 0.11.4 | 0.11.4 |
| redhat hardened images | All versions | No fix listed |
| redhat openshift container platform | = 4.0 | No fix listed |
| redhat enterprise linux | = 8.0 | No fix listed |
| redhat enterprise linux | = 9.0 | No fix listed |
| redhat enterprise linux | = 10.0 | No fix listed |
References
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases vendor-advisory
- RHSA-2026:18160 patch vendor-advisory
- RHSA-2026:18683 patch vendor-advisory
- Red Hat CVE page mitigation vdb-entry vendor-advisory
- RHBZ#2436979 issue-tracking vendor-advisory
- www.libssh.org release-notes
- Debian Security Tracker CVE-2026-0964 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-8051-1 vendor-advisory
- USN-8051-2 vendor-advisory
- www.cve.org
- nvd.nist.gov
- security.alpinelinux.org vendor-advisory
- bugs.debian.org issue-tracking
- ENISA EUVD EUVD-2026-16326 third-party-advisory