CVE-2026-0967 Libssh: libssh: denial of service via inefficient regular expression processing
MediumCVSS 5.5
EPSS 0.26%
- 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. A remote attacker, by controlling client configuration files or known_hosts files, could craft specific hostnames that when processed by the match_pattern() function can lead to inefficient regular expression backtracking. This can cause timeouts and resource exhaustion, resulting in a Denial of Service (DoS) for the client.
Upgrade path
19 packages: 12 fixed, 1 partially fixed, 4 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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; = 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 |
| 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.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) | < 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 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#2436981 issue-tracking third-party-advisory
- www.libssh.org release-notes
- Debian Security Tracker CVE-2026-0967 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-16332 third-party-advisory