Integer Overflow or Wraparound Affecting libssh2-docs package, versions <0:1.10.0-1.amzn2023.0.4


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.47% (37th 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-AMZN2023-LIBSSH2DOCS-17290895
  • published10 Jun 2026
  • disclosed1 May 2026

Introduced: 1 May 2026

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

How to fix?

Upgrade Amazon-Linux:2023 libssh2-docs to version 0:1.10.0-1.amzn2023.0.4 or higher.
This issue was patched in ALAS2023-2026-1779.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libssh2-docs package and not the libssh2-docs package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 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