# CVE-2026-0967: Libssh: libssh: denial of service via inefficient regular expression processing

- Severity: Low 2.2 (CVSS:3.0, scored by redhat) `CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2026-03-26T20:06:30.707Z
- Modified: 2026-11-25T16:17:32.103Z
- Weaknesses: CWE-1333
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- libssh: no versions given (not affected: from 0:0.12.0-2.el10 before *; from 0:0.10.4-18.el9 before *)
- libssh2: no versions given
- openshift/ose-rhel-coreos-8: no versions given
- openshift/ose-rhel-coreos-9: no versions given
- libssh libssh: up to 0.11.3
- redhat enterprise_linux: 9.0; 10.0

## Every score

- redhat: CVSS:3.0 2.2 Low `CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:L`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`

## References

- <https://access.redhat.com/errata/RHSA-2026:18160> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:18683> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2026-0967> (third-party-advisory, vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2436981> (issue-tracking, third-party-advisory)
- <https://www.libssh.org/2026/02/10/libssh-0-12-0-and-0-11-4-security-releases/> (release-notes)

## Sources

- CVE List: [CVE-2026-0967](https://www.cve.org/CVERecord?id=CVE-2026-0967), CVE Terms of Use, modified 2026-11-25
- NVD: [CVE-2026-0967](https://nvd.nist.gov/vuln/detail/CVE-2026-0967), Public domain, modified 2026-11-25

---

Page: https://cve.day/CVE-2026-0967 · Whole record: https://cve.day/CVE-2026-0967.json · Rebuilt by cve.day 2026-11-25T23:18:08.102Z
