CVE-2026-0967: Libssh: libssh: denial of service via inefficient regular expression processing
Vulnerability summary
CVE-2026-0967 is a medium (CVSS 5.5) vulnerability in libssh. EPSS estimates a 0.26% chance of exploitation in the next 30 days, higher than 18.7% of scored vulnerabilities.
Not severe (CVSS 2.2, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 15 · Related 10Timeline
- 26-03-2026PublishedVulnerability first disclosed.
- 25-11-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
7 scores · 5 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- OSV · AlpineEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated2.2LowCVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:L
- NVDNIST2.2LowCVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:L
EPSS trend
Probability
0.26%
Chance of exploitation in the next 30 days
Percentile
19%
Versus all other CVEs
30-day change
Increase +0.03 pp
From 0.23% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.
Alpine1 product
- libssh< 0.11.4-r0 | < 0.12.0-r0
Debian1 product
- libsshAll versions (No fix recorded) | < 0.10.6-0+deb12u3 | < 0.11.5-0+deb13u1 | < 0.12.0-1
Libssh1 product
- libssh≤ 0.11.3
Redhat1 product
- enterprise_linux9.0 | 10.0
Ubuntu1 product
- libssh< 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
5 vendors · 5 products