Numeric Errors Affecting libssh2 package, versions <1.11.1-r5


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.82% (56th 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-WOLFILATEST-LIBSSH2-17238981
  • published8 Jun 2026
  • disclosed1 May 2026

Introduced: 1 May 2026

CVE-2026-7598  (opens in a new tab)
CWE-189  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade Wolfi libssh2 to version 1.11.1-r5 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libssh2 package and not the libssh2 package as distributed by Wolfi. See How to fix? for Wolfi relevant fixed versions and status.

A security vulnerability has been detected in libssh2 up to 1.11.1. The impacted element is the function userauth_password of the file src/userauth.c. Such manipulation of the argument username_len/password_len leads to integer overflow. The attack may be launched remotely. The name of the patch is 256d04b60d80bf1190e96b0ad1e91b2174d744b1. A patch should be applied to remediate this issue.

CVSS Base Scores

version 3.1