CVE-2018-8099
publishedlibgit2: denial of service (DoS) via crafted repository index files
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Debian | stretch | libgit2 | Advisory build | 0.25.1+really0.24.6-1+deb9u1 | DLA-2936-1 |
| SUSE / openSUSE | SLE-12-SP3 | libgit2-24x86_64 | Advisory build | 0.24.1-7.6.1 | SUSE-SU-2018:3440-1 |
| Ubuntu | bionic | libgit2 | Advisory build | 0.26.0+dfsg.1-1.1ubuntu0.2+esm2 | USN-8628-1 |
| Ubuntu | bionic | libgit2-26 | Advisory build | 0.26.0+dfsg.1-1.1ubuntu0.2+esm2 | USN-8628-1 |
| Ubuntu | trusty | libgit2 | Advisory build | 0.19.0-2ubuntu0.4+esm2 | USN-8628-1 |
| Ubuntu | trusty | libgit2-0 | Advisory build | 0.19.0-2ubuntu0.4+esm2 | USN-8628-1 |
| Ubuntu | xenial | libgit2 | Advisory build | 0.24.1-2ubuntu0.2+esm3 | USN-8628-1 |
Show 1 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | xenial | libgit2-24 | Advisory build | 0.24.1-2ubuntu0.2+esm3 | USN-8628-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
3- https://github.com/libgit2/libgit2/commit/58a6fe94cb851f71214dbefac3f9bffee437d6fe
- https://libgit2.github.com/security/
- [debian-lts-announce] 20220321 [SECURITY] [DLA 2936-1] libgit2 security update https://lists.debian.org/debian-lts-announce/2022/03/msg00031.html
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 1c7c7c4bf60175fa974db4ebb91d15eb9346b5f91bf63c69afd859b2c2d689f2
- Ingested
- 23 Sep 2026, 07:45:09 UTC
- Source record
- Official CVE record