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

- Priority: **Routine**
- Reason: Not severe (CVSS 2.2, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-03-26 · Modified: 2026-11-25
- Aliases: UBUNTU-CVE-2026-0967, DEBIAN-CVE-2026-0967, ALPINE-CVE-2026-0967
- Record: https://cvemate.com/vulnerability/CVE-2026-0967 · JSON: https://cvemate.com/vulnerability/CVE-2026-0967/json

## Description

```text
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.
```

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- EPSS: 0.259%, percentile 18.783%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine libssh (Alpine Linux): \< 0.11.4-r0 \| \< 0.12.0-r0
- debian libssh (Debian): All versions (No fix recorded) \| \< 0.10.6-0+deb12u3 \| \< 0.11.5-0+deb13u1 \| \< 0.12.0-1
- ubuntu libssh (Ubuntu): \< 0.6.3-4.3ubuntu0.6+esm4 \| \< 0.8.0~20170825.94fa1e38-1ubuntu0.7+esm6 \| \< 0.9.3-2ubuntu2.5+esm3 \| \< 0.9.6-2ubuntu0.22.04.6 \| \< 0.10.6-2ubuntu0.3 \| \< 0.11.2-1ubuntu0.2
- libssh libssh: ≤ 0.11.3
- redhat enterprise\_linux: 9.0 \| 10.0

## References

- <https://access.redhat.com/errata/RHSA-2026:18160>
- <https://access.redhat.com/errata/RHSA-2026:18683>
- <https://access.redhat.com/security/cve/CVE-2026-0967>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2436981>
- <https://www.libssh.org/2026/02/10/libssh-0-12-0-and-0-11-4-security-releases/>
- <https://ubuntu.com/security/CVE-2026-0967>
- <https://www.cve.org/CVERecord?id=CVE-2026-0967>
- <https://www.libssh.org/security/advisories/CVE-2026-0967.txt>
- <https://ubuntu.com/security/notices/USN-8051-1>
- <https://ubuntu.com/security/notices/USN-8051-2>
- <https://security-tracker.debian.org/tracker/CVE-2026-0967>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-0967>
- <https://security.alpinelinux.org/vuln/CVE-2026-0967>

---

Data as of 2026-12-05T04:44:29.549Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
