CVE-2020-6096 Integer overflow in GNU glibc

High 8.1 Published Updated

An integer overflow in glibc's ARMv7 memcpy allows attackers to cause out-of-bounds writes, potentially leading to remote code execution or crashes.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2020-6096?

CVE-2020-6096 is a high-severity vulnerability in Debian Debian Linux, published on 1 Apr 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An exploitable signed comparison vulnerability exists in the ARMv7 memcpy() implementation of GNU glibc 2.30.9000. Calling memcpy() (on ARMv7 targets that utilize the GNU glibc implementation) with a negative value for the 'num' parameter results in a signed comparison vulnerability. If an attacker underflows the 'num' parameter to memcpy(), this vulnerability could lead to undefined behavior such as writing to out-of-bounds memory and potentially remote code execution. Furthermore, this memcpy() implementation allows for program execution to continue in scenarios where a segmentation fault or crash should have occurred. The dangers occur in that subsequent execution and iterations of this code will be executed with this corrupted data.

Weakness: CWE-681, CWE-191, CWE-195

Which versions are affected by CVE-2020-6096?

It affects 3 products.

Products include Debian Debian Linux, Fedoraproject Fedora, Gnu Glibc.

How do I fix CVE-2020-6096?

Apply the vendor's patch.

Is CVE-2020-6096 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2020-6096, GHSA-xmhr-mv9m-hhvf, UBUNTU-CVE-2020-6096.

Is CVE-2020-6096 in your software?

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

Check your SBOMs for free