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


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
16.24% (95th 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-10077366
  • published8 May 2025
  • disclosed21 Mar 2019
  • creditUnknown

Introduced: 21 Mar 2019

CVE-2019-3855  (opens in a new tab)
CWE-190  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade libssh2 to version 1.8.2 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write. An integer overflow flaw which could lead to an out of bounds write was discovered in libssh2 before 1.8.1 in the way packets are read from the server. A remote attacker who compromises a SSH server may be able to execute code on the client system when a user connects to the server.

References

CVSS Base Scores

version 3.1