Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
8.8

CVE-2019-3863: Old libssh2 clients can be crashed by bad SSH servers

CVE-2019-3863 · published 7 years ago
Summary

Versions of the libssh2 library earlier than 1.8.1, which many SSH client programs use, can be forced to write outside their memory when a server sends an excessively long keyboard‑interactive reply. This can cause the client program to crash or behave unpredictably. Upgrade libssh2 to version 1.8.1 or later, or apply the vendor’s security patch, to stop the issue.

What to do
  • Update canonical libssh2 to version 1.4.3-2ubuntu0.2+esm2.
  • Update canonical libssh2 to version 1.5.0-2ubuntu0.1+esm1.
  • Update debian libssh2 to version 1.8.0-2.1.
  • Update libssh2 libssh2 to version 1.8.1 or later.
Affected software
Ecosystem VendorProductAffected versions
Ubuntu:Pro:14.04:LTS canonical libssh2 < 1.4.3-2ubuntu0.2+esm2
Fix: upgrade to 1.4.3-2ubuntu0.2+esm2
Ubuntu:Pro:16.04:LTS canonical libssh2 < 1.5.0-2ubuntu0.1+esm1
Fix: upgrade to 1.5.0-2ubuntu0.1+esm1
Ubuntu:Pro:18.04:LTS canonical libssh2 All versions
Debian:12 debian libssh2 < 1.8.0-2.1
Fix: upgrade to 1.8.0-2.1
– libssh2 libssh2 < 1.8.1
cpe:2.3:a:libssh2:libssh2:*:*:*:*:*:*:*:*
– debian debian_linux 8.0
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
– netapp ontap_select_deploy_administration_utility All versions
cpe:2.3:a:netapp:ontap_select_deploy_administration_utility:-:*:*:*:*:*:*:*
– opensuse leap 15.0
42.3
cpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:*
– redhat enterprise_linux_desktop 7.0
cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:*
– redhat enterprise_linux_server 7.0
cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*
– redhat enterprise_linux_server_aus 7.6
cpe:2.3:o:redhat:enterprise_linux_server_aus:7.6:*:*:*:*:*:*:*
– redhat enterprise_linux_server_eus 7.6
cpe:2.3:o:redhat:enterprise_linux_server_eus:7.6:*:*:*:*:*:*:*
– redhat enterprise_linux_server_tus 7.6
cpe:2.3:o:redhat:enterprise_linux_server_tus:7.6:*:*:*:*:*:*:*
– redhat enterprise_linux_workstation 7.0
cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*
– the libssh2 project libssh2 1.8.1
Original advisory text
A flaw was found in libssh2 before 1.8.1 creating a vulnerability on the SSH client side. A server could send a multiple keyboard interactive response messages whose total length are greater than u...
A flaw was found in libssh2 before 1.8.1 creating a vulnerability on the SSH client side. A server could send a multiple keyboard interactive response messages whose total length are greater than unsigned char max characters. This value is used by the SSH client as an index to copy memory causing in an out of bounds memory write error.
References
Fix within
Internet-facing 14 days
Internal At next upgrade
  • Not known to be exploited
  • Needs hands-on effort to exploit
  • Gives an attacker full control
Severity
8.8 High
Exploitation
3% chance of attack within 30 days
Type
CWE-190Integer Overflow
CWE-787Out-of-bounds Write
Timeline
Published25 Mar 2019
Updated4 Nov 2026
First seen11 Apr 2026
Sources
CVE-2019-3863 · OSV
CVE-2019-3863 · NVD
CVE-2019-3863 · MITRE
Track software like this
Free during beta