Out-of-bounds Read Affecting libssh2 package, versions <1.8.0-2.1


Severity

Recommended
0.0
critical
0
10

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

Threat Intelligence

EPSS
6.45% (94th 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-ECHOLATEST-LIBSSH2-17978456
  • published15 Jul 2026
  • disclosed21 Mar 2019

Introduced: 21 Mar 2019

CVE-2019-3858  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade Echo:latest libssh2 to version 1.8.0-2.1 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 Echo. See How to fix? for Echo:latest relevant fixed versions and status.

An out of bounds read flaw was discovered in libssh2 before 1.8.1 when a specially crafted SFTP packet is received from the server. A remote attacker who compromises a SSH server may be able to cause a Denial of Service or read data in the client memory.

References