CVE-2026-0964
Libssh: improper sanitation of paths received from scp servers
Reported by redhat · Published March 26, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| libssh | Alpine | 0.12.0-r0, 0.11.4-r0 |
| libssh-devel | errata.rockylinux.org | 0.12.0-2.el10.x86, 0.12.0-2.el10.s390x, 0.12.0-2.el10.ppc64le, 0.12.0-2.el10.aarch64, 0.10.4-18.el9.x86, 0.10.4-18.el9.s390x, 0.10.4-18.el9.ppc64le, 0.10.4-18.el9.i686, 0.10.4-18.el9.aarch64 |
| libssh-config | errata.rockylinux.org | 0.12.0-2.el10.noarch, 0.10.4-18.el9.noarch |
| libssh | errata.rockylinux.org | 0.12.0-2.el10.x86, 0.12.0-2.el10.src, 0.12.0-2.el10.s390x, 0.12.0-2.el10.ppc64le, 0.12.0-2.el10.aarch64, 0.10.4-18.el9.x86, 0.10.4-18.el9.src, 0.10.4-18.el9.s390x, 0.10.4-18.el9.ppc64le, 0.10.4-18.el9.i686, 0.10.4-18.el9.aarch64 |
| libssh-debugsource | errata.rockylinux.org | 0.12.0-2.el10.x86, 0.12.0-2.el10.s390x, 0.12.0-2.el10.ppc64le, 0.12.0-2.el10.aarch64, 0.10.4-18.el9.x86, 0.10.4-18.el9.s390x, 0.10.4-18.el9.ppc64le, 0.10.4-18.el9.i686, 0.10.4-18.el9.aarch64 |
| libssh-debuginfo | errata.rockylinux.org | 0.12.0-2.el10.x86, 0.12.0-2.el10.s390x, 0.12.0-2.el10.ppc64le, 0.12.0-2.el10.aarch64, 0.10.4-18.el9.x86, 0.10.4-18.el9.s390x, 0.10.4-18.el9.ppc64le, 0.10.4-18.el9.i686, 0.10.4-18.el9.aarch64 |
| libssh | Amazon Linux | 0.10.6-1.amzn2023.0.5 |
| libssh-devel | Amazon Linux | 0.10.6-1.amzn2023.0.5 |
| libssh-config | Amazon Linux | 0.10.6-1.amzn2023.0.5 |
| libssh | libssh | 0.11.4 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Red Hat | Red Hat Enterprise Linux 10 | 0:0.12.0-2.el10 |
| Red Hat | Red Hat Enterprise Linux 9 | 0:0.10.4-18.el9 |
| Red Hat | Red Hat Enterprise Linux 9 | 0:0.10.4-18.el9 |
| Red Hat | Red Hat Enterprise Linux 6 | |
| Red Hat | Red Hat Enterprise Linux 7 | |
| Red Hat | Red Hat Enterprise Linux 8 | |
| Red Hat | Red Hat Hardened Images | |
| Red Hat | Red Hat OpenShift Container Platform 4 | |
| Red Hat | Red Hat OpenShift Container Platform 4 | |
| Red Hat | Red Hat OpenShift Container Platform 4 | |
| Red Hat | Red Hat Enterprise Linux 8 | |
| Red Hat | Red Hat Enterprise Linux 6 | |
| Red Hat | Red Hat OpenShift Container Platform 4 | |
| Red Hat | Red Hat Hardened Images | |
| Red Hat | Red Hat Enterprise Linux 7 | |
| Red Hat | Red Hat Enterprise Linux 9 | 0:0.10.4-18.el9 |
| Red Hat | Red Hat Enterprise Linux 10 | 0:0.12.0-2.el10 |
Timeline
- Feb 13, 2026 CVE Published
- Feb 17, 2026 PoC Published (3 in total, the first dated here)
- Mar 27, 2026 Coalition ESS Score (2 in total, the first dated here)
- May 18, 2026 EPSS Score (30 in total, the first dated here)
- May 19, 2026 Distribution Patch (8 in total, the first dated here)
- May 19, 2026 Security Advisory (7 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-0964
vulnetix vdb fixes CVE-2026-0964
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-0964/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- RHSA-2026:18160 vendor-advisoryx_refsource_REDHAT
- RHSA-2026:18683 vendor-advisoryx_refsource_REDHAT
- vdb-entryx_refsource_REDHAT
- RHBZ#2436979 issue-trackingx_refsource_REDHAT