CVE-2018-10887 Integer overflow in libgit2

High 8.1 Published Updated

An integer overflow in libgit2 allows attackers to leak memory addresses or cause a denial of service via out-of-bounds reads.

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-2018-10887?

CVE-2018-10887 is a high-severity vulnerability in Debian Debian Linux, published on 10 Jul 2018. 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 libgit2 before version 0.27.3. It has been discovered that an unexpected sign extension in git_delta_apply function in delta.c file may lead to an integer overflow which in turn leads to an out of bound read, allowing to read before the base object. An attacker may use this flaw to leak memory addresses or cause a Denial of Service.

Weakness: CWE-681, CWE-190, CWE-125, CWE-194

Which versions are affected by CVE-2018-10887?

It affects 2 products.

Products include Debian Debian Linux, Libgit2 Libgit2.

How do I fix CVE-2018-10887?

Upgrade to a fixed version.

Is CVE-2018-10887 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2018-10887, DEBIAN-CVE-2018-10887, GHSA-5gcq-g5p3-pjp4, UBUNTU-CVE-2018-10887.

Is CVE-2018-10887 in your software?

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

Check your SBOMs for free