CVE-2026-0967
Libssh: libssh: denial of service via inefficient regular expression processing
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.
INFO
Published Date :
March 26, 2026, 9:17 p.m.
Last Modified :
April 2, 2026, 5:28 p.m.
Remotely Exploit :
No
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.0 | LOW | 53f830b8-0a3f-465b-8143-3b8a9948e749 | ||||
| CVSS 3.0 | LOW | [email protected] | ||||
| CVSS 3.1 | MEDIUM | [email protected] |
Solution
- Update libssh to the latest version.
- Review and sanitize client configuration files.
- Ensure known_hosts files are properly managed.
Public PoC/Exploit Available at Github
CVE-2026-0967 has a 1 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-0967.
| URL | Resource |
|---|---|
| https://access.redhat.com/security/cve/CVE-2026-0967 | Third Party Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2436981 | Third Party Advisory |
| https://www.libssh.org/2026/02/10/libssh-0-12-0-and-0-11-4-security-releases/ | Release Notes |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-0967 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-0967
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
Shell Python
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-0967 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-0967 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Apr. 02, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H Added CPE Configuration OR *cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:* *cpe:2.3:a:libssh:libssh:*:*:*:*:*:*:*:* versions up to (including) 0.11.3 Added Reference Type Red Hat, Inc.: https://access.redhat.com/security/cve/CVE-2026-0967 Types: Third Party Advisory Added Reference Type Red Hat, Inc.: https://bugzilla.redhat.com/show_bug.cgi?id=2436981 Types: Third Party Advisory Added Reference Type Red Hat, Inc.: https://www.libssh.org/2026/02/10/libssh-0-12-0-and-0-11-4-security-releases/ Types: Release Notes -
CVE Modified by [email protected]
Mar. 26, 2026
Action Type Old Value New Value Added Reference https://www.libssh.org/2026/02/10/libssh-0-12-0-and-0-11-4-security-releases/ -
New CVE Received by [email protected]
Mar. 26, 2026
Action Type Old Value New Value Added 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. Added CVSS V3 AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:L Added CWE CWE-1333 Added Reference https://access.redhat.com/security/cve/CVE-2026-0967 Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=2436981