Medium · published March 27, 2026
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.
| Product | Versions | Fixed in |
|---|---|---|
| libssh/libssh | ≤ 0.11.3 | — |
| redhat/enterprise_linux | all versions | — |
| redhat/enterprise_linux | all versions | — |