CVE-2019-3863 Memory corruption in libssh2

High 7.5 Published Updated

A malicious SSH server can trigger an out-of-bounds memory write in libssh2 clients, potentially leading to code execution or crashes.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2019-3863?

CVE-2019-3863 is a high-severity memory corruption vulnerability in Debian Debian Linux, published on 25 Mar 2019. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

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.

Weakness: CWE-787, CWE-190

Which versions are affected by CVE-2019-3863?

It affects 10 products.

Products include Debian Debian Linux, Libssh2 Libssh2, Netapp Ontap Select Deploy Administration Utility, Opensuse Leap, Redhat Enterprise Linux Desktop, Redhat Enterprise Linux Server and 4 more.

How do I fix CVE-2019-3863?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2019-3863 being exploited?

There is no known exploitation of CVE-2019-3863 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2019-3863, DEBIAN-CVE-2019-3863, GHSA-h63q-2463-x5hq, UBUNTU-CVE-2019-3863.

Is CVE-2019-3863 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free