Out-of-bounds Write Affecting libssh2 package, versions [,1.11.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.91% (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 Learn

Learn about Out-of-bounds Write vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CONAN-LIBSSH2-10077369
  • published8 May 2025
  • disclosed22 Aug 2023
  • creditUnknown

Introduced: 22 Aug 2023

CVE-2020-22218  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade libssh2 to version 1.11.0 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write in the function _libssh2_packet_add, which allows attackers to access out-of-bounds memory.

CVSS Base Scores

version 3.1