CWE
415
Advisory Published
Updated

CVE-2018-8099: Double Free

First published: Wed Mar 14 2018(Updated: )

Incorrect returning of an error code in the index.c:read_entry() function leads to a double free in libgit2 before v0.26.2, which allows an attacker to cause a denial of service via a crafted repository index file.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
libgit2<0.26.2
Debian GNU/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?

    The vulnerability ID is CVE-2018-8099.

  • What is the title of the vulnerability?

    The title of the vulnerability is "Incorrect returning of an error code in the index.c:read_entry() function leads to a double free."

  • What is the impact of this vulnerability?

    The vulnerability can cause a denial of service.

  • What is the affected software?

    The affected software is Libgit2 (version up to exclusive 0.26.2) and Debian Linux (version 9.0).

  • What is the severity of this vulnerability?

    The severity of this vulnerability is medium (CVSS score of 6.5).

  • How can I fix this vulnerability?

    To fix this vulnerability, update Libgit2 to version 0.26.2 or later and Debian Linux to a version higher than 9.0.

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