Missing Release of Memory after Effective Lifetime Affecting libssh package, versions [0.6.0,0.11.3)


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (13th 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 Learn

Learn about Missing Release of Memory after Effective Lifetime vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-LIBSSH-13003666
  • published23 Sept 2025
  • disclosed9 Sept 2025
  • creditFrancesco Rollo

Introduced: 9 Sep 2025

NewCVE-2025-8277  (opens in a new tab)
CWE-401  (opens in a new tab)

How to fix?

Upgrade libssh to version 0.11.3 or higher.

Overview

Affected versions of this package are vulnerable to Missing Release of Memory after Effective Lifetime via the key exchange process. An attacker can cause gradual memory exhaustion and potential application crashes by repeatedly initiating key exchanges with incorrect guesses as an authenticated client. This is only exploitable if the attacker has valid client authentication and can perform repeated incorrect key exchange attempts.

CVSS Base Scores

version 4.0
version 3.1