2.2low
Libssh: libssh: denial of service via inefficient regular expression processing
- Severity
- 2.2low CVSS:3.0 by redhat
- Exploit likelihood
- 0.26% (higher than 18% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- redhat
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| libssh | Not specified Not affected: from 0:0.12.0-2.el10 before *, from 0:0.10.4-18.el9 before * | CVE List |
| libssh2 | Not specified | CVE List |
| openshift/ose-rhel-coreos-8 | Not specified | CVE List |
| openshift/ose-rhel-coreos-9 | Not specified | CVE List |
| libssh libssh | up to 0.11.3 | NVD |
| redhat enterprise_linux | 9.0, 10.0 | NVD |
All scores
| redhat | 2.2low CVSS:3.0 | CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:L |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
Se encontró una vulnerabilidad en libssh. Un atacante remoto, al controlar los archivos de configuración del cliente o los archivos known_hosts, podría crear nombres de host específicos que, al ser procesados por la función `match_pattern()`, pueden llevar a un retroceso ineficiente de expresiones regulares. Esto puede causar tiempos de espera y agotamiento de recursos, lo que resulta en una denegación de servicio (DoS) para el cliente.
References
| https://access.redhat.com/errata/RHSA-2026:18160 | vendor-advisory | |
| https://access.redhat.com/errata/RHSA-2026:18683 | vendor-advisory | |
| https://access.redhat.com/security/cve/CVE-2026-0967 | third-party-advisory, vdb-entry | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2436981 | issue-tracking, third-party-advisory | |
| https://www.libssh.org/2026/02/10/libssh-0-12-0-and-0-11-4-security-releases/ | release-notes | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-0967 changed 2026-11-25 | CVE Terms of Use |
| NVD | CVE-2026-0967 changed 2026-11-25 | Public domain |