Infinite loop Affecting libssh package, versions [0,]


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.24% (15th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CONAN-LIBSSH-18305739
  • published25 Jul 2026
  • disclosed21 Jul 2026
  • creditUnknown

Introduced: 21 Jul 2026

NewCVE-2026-59849  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

Affected versions of this package are vulnerable to Infinite loop due to logic errors in automatic certificate-based public key authentication, which can cause clients to enter an infinite loop in the authentication process. An attacker can cause resource exhaustion by configuring a server to repeatedly reject or omit required certificates, resulting in a denial of service condition for the client.

Workaround

This vulnerability can be mitigated by not connecting to untrusted SSH servers and avoiding the use of certificates until patched.

CVSS Base Scores

version 4.0
version 3.1