CVE-2018-10887: Integer Overflow
A flaw was found in libgit2 before version 0.27.3. It has been discovered that an unexpected sign extension in gitdeltaapply 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.
Other sources
An unexpected sign extension in gitdeltaapply function leads to an integer overflow in the bounds check, allowing to bypass it and to read some bytes before the base object. An attacker may use this flaw to get an information leak or cause a Denial of Service.
— Red Hat
Affected Software
Remediation
Patch Available
Patch Available
Event History
Frequently Asked Questions
What is CVE-2018-10887?
CVE-2018-10887 is a vulnerability in libgit2 before version 0.27.3 that allows an integer overflow and out-of-bounds read, potentially leading to unauthorized access.
How severe is CVE-2018-10887?
CVE-2018-10887 has a severity rating of 8.1 (high).
Which software versions are affected by CVE-2018-10887?
Versions up to (but excluding) 0.27.3 of libgit2 are affected by CVE-2018-10887.
How can I fix CVE-2018-10887?
To fix CVE-2018-10887, update libgit2 to version 0.27.3 or higher.
Where can I find more information about CVE-2018-10887?
More information about CVE-2018-10887 can be found at the following references: [insert references here].