Inefficient Regular Expression Complexity Affecting libssh-config package, versions <0:0.12.0-2.el10


Severity

Recommended
0.0
low
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.22% (13th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL10-LIBSSHCONFIG-16762787
  • published20 May 2026
  • disclosed10 Feb 2026

Introduced: 10 Feb 2026

CVE-2026-0967  (opens in a new tab)
CWE-1333  (opens in a new tab)

How to fix?

Upgrade RHEL:10 libssh-config to version 0:0.12.0-2.el10 or higher.
This issue was patched in RHSA-2026:18160.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libssh-config package and not the libssh-config package as distributed by RHEL. See How to fix? for RHEL:10 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1