Ad

CVE-2026-0967

MEDIUM CVSS 3.0: 2.2 EPSS 0.08%
Updated Apr 02, 2026
Red Hat
Parameter Value
CVSS 2.2 (MEDIUM)
Affected Versions before 0.11.3
Type CWE-1333 (Inefficient Regular Expression Complexity / ReDoS)
Vendor Red Hat
Public PoC No

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.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
High
Difficult to exploit
Privileges Required
Low
Basic privileges needed
User Interaction
Required
User action required

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
Low
Partial disruption

CVSS Vector v3.0

Vulnerable Products 3

Configuration From (including) Up to (excluding)
Libssh Libssh
cpe:2.3:a:libssh:libssh:*:*:*:*:*:*:*:*
<= 0.11.3
Redhat Enterprise_Linux
cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
Redhat Enterprise_Linux
cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:*