Integer Overflow or Wraparound Affecting libssh2 package, versions *

  • Attack Complexity


  • User Interaction


  • Confidentiality


  • Availability


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-id


  • published

    25 Oct 2019

  • disclosed

    21 Oct 2019

How to fix?

There is no fixed version for Debian:10 libssh2.

NVD Description

Note: Versions mentioned in the description apply to the upstream libssh2 package.

In libssh2 v1.9.0 and earlier versions, the SSH_MSG_DISCONNECT logic in packet.c has an integer overflow in a bounds check, enabling an attacker to specify an arbitrary (out-of-bounds) offset for a subsequent memory read. A crafted SSH server may be able to disclose sensitive information or cause a denial of service condition on the client system when a user connects to the server.