CVE-2018-8099: Double Free

Published Mar 14, 2018
·
Updated

Incorrect returning of an error code in the index.c:readentry() 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.

Affected Software

3 affected componentsFixes available
libgit2 libgit2<0.26.2
Debian Debian Linux=9.0
debian/libgit2
1.1.0+dfsg.1-4+deb11u21.5.1+ds-1+deb12u11.9.0+ds-21.9.6+ds-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/libgit2 to a version that resolves this vulnerability.

    Fixed in 1.1.0+dfsg.1-4+deb11u2Fixed in 1.5.1+ds-1+deb12u1Fixed in 1.9.0+ds-2Fixed in 1.9.6+ds-1
  2. Upgrade

    Upgrade libgit2 to a version that resolves this vulnerability.

    Fixed in 0.26.2

Event History

Mar 14, 2018
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·12:29 AM
RemedyDescriptionSeverityWeaknessAffected Software
Aug 12, 2026
Data Sourced
via Debian·10:40 PM
DescriptionAffected Software
Data Sourced
via Launchpad·10:40 PM
Description
Aug 13, 2026
Data Sourced
via Ubuntu·10:40 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the vulnerability ID?

The vulnerability ID is CVE-2018-8099.

2

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

3

What is the impact of this vulnerability?

The vulnerability can cause a denial of service.

4

What is the affected software?

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

5

What is the severity of this vulnerability?

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

6

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