CVE-2026-0967 json
Libssh: libssh: denial of service via inefficient regular expression processing
published 2026-03-26 7 mo ago modified 2026-11-06 2 d ago also EUVD-2026-16332 , JLSEC-2026-782
- cvss
- 2.2
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 14%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- julia libssh_jll 0.11.4+0
- Red Hat Red Hat Enterprise Linux 10 0:0.12.0-2.el10
- Red Hat Red Hat Enterprise Linux 9 0:0.10.4-18.el9
- libssh Debian 12 0.10.6-0+deb12u3
- libssh Debian 13 0.11.5-0+deb13u1
- libssh Debian 14 0.12.0-1
debian advisories DEBIAN-CVE-2026-0967
- libssh Ubuntu 22.04 LTS 0.9.6-2ubuntu0.22.04.6
- libssh Ubuntu 24.04 LTS 0.10.6-2ubuntu0.3
- libssh Ubuntu 25.10 0.11.2-1ubuntu0.2
- libssh Ubuntu Pro 16.04 LTS 0.6.3-4.3ubuntu0.6+esm4
- libssh Ubuntu Pro 18.04 LTS 0.8.0~20170825.94fa1e38-1ubuntu0.7+esm6
- libssh Ubuntu Pro 20.04 LTS 0.9.3-2ubuntu2.5+esm3
ubuntu advisories UBUNTU-CVE-2026-0967
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- libssh RHEL 9 0.10.4-18.el9
- libssh-config RHEL 9 0.10.4-18.el9
- libssh RHEL 10.2 0.12.0-2.el10
- libssh-config RHEL 10.2 0.12.0-2.el10
red hat advisories RHSA-2026:18683RHSA-2026:18160
- libssh SLE Micro 5.5, SLE Micro 5.4, SLE Micro 5.3 0.9.8-150400.3.17.1
- libssh SLE Module for Basesystem 15 SP7, openSUSE Leap 15.6 0.9.8-150600.11.9.1
- libssh Linux Micro 6.1 0.10.6-slfo.1.1_4.1
- libssh Linux Micro 6.0 0.10.6-4.1
- libssh SLE Micro 5.2 0.9.8-150200.13.15.1
- libssh SLES LTSS Extended Security 12 SP5 0.6.3-12.28.1
- libssh SLES LTSS Extended Security 12 SP5 0.9.8-3.21.1
suse advisories SUSE-SU-2026:1565-1SUSE-SU-2026:1344-1SUSE-SU-2026:0779-1SUSE-SU-2026:0778-1SUSE-SU-2026:20531-1SUSE-SU-2026:20524-1
- libssh openSUSE Tumbleweed 0.11.4-1.1
opensuse advisories openSUSE-SU-2026:10203-1
- libssh AlmaLinux 10 0.12.0-2.el10
- libssh-config AlmaLinux 10 0.12.0-2.el10
- libssh AlmaLinux 9 0.10.4-18.el9
- libssh-config AlmaLinux 9 0.10.4-18.el9
almalinux advisories ALSA-2026:18160ALSA-2026:18683
- libssh Rocky Linux 10 0.12.0-2.el10
- libssh Rocky Linux 9 0.10.4-18.el9
rocky linux advisories RLSA-2026:18160RLSA-2026:18683
- libssh Alpine 3.23 0.11.4-r0
- libssh Alpine 3.24 0.12.0-r0
alpine advisories ALPINE-CVE-2026-0967
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-0967 updated cvss 2.2
libssh: libssh: Denial of Service via inefficient regular expression processing
-
Red Hat Enterprise Linux 8 libssh, libssh-config Red Hat OpenShift Container Platform 4 openshift/ose-rhel-coreos-8, openshift/ose-rhel-coreos-9affected: workaround, no fix available “Avoid using complex patterns in configuration files and known_hosts.”
-
Red Hat Enterprise Linux AppStream (v. 9) libssh-devel 0.10.4-18.el9, libssh-debuginfo 0.10.4-18.el9, libssh-debugsource 0.10.4-18.el9fixed: vendor fix “Avoid using complex patterns in configuration files and known_hosts.” RHSA-2026:18683
-
Red Hat Enterprise Linux AppStream (v. 10) libssh-devel 0.12.0-2.el10, libssh-debuginfo 0.12.0-2.el10, libssh-debugsource 0.12.0-2.el10fixed: vendor fix “Avoid using complex patterns in configuration files and known_hosts.” RHSA-2026:18160
-
Red Hat Enterprise Linux BaseOS (v. 9) libssh 0.10.4-18.el9, libssh-config 0.10.4-18.el9fixed: vendor fix “Avoid using complex patterns in configuration files and known_hosts.” RHSA-2026:18683
-
Red Hat Enterprise Linux BaseOS (v. 10) libssh 0.12.0-2.el10, libssh-config 0.12.0-2.el10fixed: vendor fix “Avoid using complex patterns in configuration files and known_hosts.” RHSA-2026:18160
-
Red Hat Enterprise Linux 6 libssh2 Red Hat Enterprise Linux 7 libssh2 Red Hat Hardened Images libssh2not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 7 mo ago
Exploit prediction
0.23% chance of exploitation in the next 30 days, higher than 14% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 2.2 | CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:L |
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| OSV | 3.0 | 2.2 | CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:L |
| OSV | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| julia | libssh_jll | <0.11.4+0 |
0.11.4+0 |
Affected products
- Red Hat Red Hat Enterprise Linux 10
- Red Hat Red Hat Enterprise Linux 9
- 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 Hardened Images
- Red Hat Red Hat OpenShift Container Platform 4
Classification
- Weakness
-
- CWE-1333 Inefficient Regular Expression Complexity
References
-
access.redhat.com
/errata/RHSA-2026:18160
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2026:18683
vendor-advisory, web
-
access.redhat.com
/security/cve/CVE-2026-0967
vdb-entry, third-party-advisory, web
-
bugzilla.redhat.com
/show_bug.cgi?id=2436981
issue-tracking, third-party-advisory, web
-
libssh.org
/2026/02/10/libssh-0-12-0-and-0-11-4-security-releases/
release-notes, web
Sources
- CVE List CVE-2026-0967
- NVD CVE-2026-0967
- OSV JLSEC-2026-782
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.