CVE-2018-8098
mediumpriority · track · 26EPSS 0.014 · 73 %ileEURUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (8)
Products and version ranges known to be affected.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (14)
External citations — patches, advisories, analysis.
- https://github.com/libgit2/libgit2/commit/3207ddb0103543da8ad2139ec6539f590f9900c1cnnvd
- https://github.com/libgit2/libgit2/commit/3db1af1f370295ad5355b8f64b865a2a357bcac0cnnvd
- https://libgit2.github.com/security/cnnvd
- https://lists.debian.org/debian-lts-announce/2022/03/msg00031.htmlcnnvd
- https://vigilance.fr/vulnerability/libgit2-out-of-bounds-memory-reading-via-index-c-read-entry-37840cnnvd
- https://www.auscert.org.au/bulletins/ESB-2022.1177cnnvd
- https://github.com/libgit2/libgit2/commit/3207ddb0103543da8ad2139ec6539f590f9900c1enisa_euvd
- https://github.com/libgit2/libgit2/commit/3db1af1f370295ad5355b8f64b865a2a357bcac0enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan