CVE-2026-0968 Libssh: libssh: denial of service due to malformed sftp message
LowCVSS 3.1
EPSS 0.52%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebianRed Hat
Description
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.
Upgrade path
19 packages: 10 fixed, 2 partially fixed, 5 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| cbl-mariner libssh(CBL-Mariner 2.0) | 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 |
| azure linux libssh(Azure Linux 3.0) | < 0.10.6-8; All versions | 0.10.6-8 | Partially fixed |
| redhat enterprise linux | < 0:0.10.4-18.el9; < 0:0.12.0-2.el10; = 9.0; = 10.0 +1 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 |
| 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.3 | after 0.11.3 | 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 rhel els | = 6; = 7 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| azure linux libssh(Azure Linux:3.0) | All versions | No fix listed |
| cbl-mariner libssh(CBL-Mariner:2.0) | All versions | No fix listed |
| azure linux libssh(Azure Linux:3.0) | < 0.10.6-8 | 0.10.6-8 |
| 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 10 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.3 | 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 third-party-advisory vdb-entry vendor-advisory
- RHBZ#2436982 issue-tracking third-party-advisory
- www.libssh.org release-notes
- Debian Security Tracker CVE-2026-0968 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-16335 third-party-advisory