CVE-2026-0967

MEDIUM

Libssh: libssh: denial of service via inefficient regular expression processing

Title source: cna
STIX 2.1

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.

Scores

CVSS v3 5.5
EPSS 0.0003
EPSS Percentile 8.5%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-1333
Status published
Products (10)
libssh/libssh < 0.11.3
Red Hat/Red Hat Enterprise Linux 10
Red Hat/Red Hat Enterprise Linux 6
Red Hat/Red Hat Enterprise Linux 7
Red Hat/Red Hat Enterprise Linux 8
Red Hat/Red Hat Enterprise Linux 9
Red Hat/Red Hat Hardened Images
Red Hat/Red Hat OpenShift Container Platform 4
redhat/enterprise_linux 9.0
redhat/enterprise_linux 10.0
Published Mar 26, 2026
Tracked Since Mar 27, 2026