CWE
190
Advisory Published
Updated

CVE-2018-8098: Integer Overflow

First published: Wed Mar 14 2018(Updated: )

Integer overflow in the index.c:read_entry() function while decompressing a compressed prefix length in libgit2 before v0.26.2 allows an attacker to cause a denial of service (out-of-bounds read) via a crafted repository index file.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Libgit2 Libgit2<0.26.2
Debian Debian Linux=9.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the vulnerability ID for this issue?

    The vulnerability ID is CVE-2018-8098.

  • What is the severity of CVE-2018-8098?

    The severity of CVE-2018-8098 is medium, with a severity value of 6.5.

  • Which software versions are affected by CVE-2018-8098?

    Versions of libgit2 before v0.26.2 and Debian Linux version 9.0 are affected by CVE-2018-8098.

  • What is the impact of CVE-2018-8098?

    CVE-2018-8098 can cause a denial of service (out-of-bounds read) due to an integer overflow in the index.c:read_entry() function.

  • How can I fix CVE-2018-8098?

    To fix CVE-2018-8098, update libgit2 to version 0.26.2 or later.

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203