CVE-2018-10887: Integer Overflow

Published Jul 4, 2018
·
Updated

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

5 affected componentsFixes available
redhat/libgit2<0.27.3
0.27.3
redhat/libgit2<0.26.5
0.26.5
libgit2 libgit2<0.27.3
Debian Debian Linux=8.0
Debian Debian Linux=9.0

Event History

Jul 10, 2018
CVE Published
via MITRE·02:00 PM
Data Sourced
via MITRE·02:00 PM
DescriptionWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

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.

2

How severe is CVE-2018-10887?

CVE-2018-10887 has a severity rating of 8.1 (high).

3

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.

4

How can I fix CVE-2018-10887?

To fix CVE-2018-10887, update libgit2 to version 0.27.3 or higher.

5

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].

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203