CVE-2018-8098 — Integer overflow in the index
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.
Published
2018-03-14T00:00:00.000Z
Last modified
2024-08-05T06:46:13.414Z
01What is this vulnerability?
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.
02Affected products
| Vendor | Product | Versions |
|---|
| n | a / n/a | n/a |
03Active exploitation status
Not currently listed on the CISA Known Exploited Vulnerabilities (KEV) catalog. EPSS is the best forward-looking signal — see the EPSS row above.
04Recommended remediation
- Patch to a fixed version listed in the vendor advisory (see references below).
- Mitigate with WAF rules, network egress filters, or feature flags where the patch is not yet available.
- Hunt historical logs for exploitation indicators — see Detection signatures below.
05Technical details
For the full vendor write-up, exploit chains, and reference implementations, see the references list in section 09.
06Detection signatures
Ask SARA in chat to draft a starting detection for this CVE in your stack of choice.
07Related CVEs
No directly-cited follow-up CVEs in the KB record for this advisory. The references list in section 09 carries the vendor cross-references.
08Timeline
- Published: 2018-03-14T00:00:00.000Z
- Last modified: 2024-08-05T06:46:13.414Z
09References
- github.com — https://github.com/libgit2/libgit2/commit/3207ddb0103543da8ad2139ec6539f590f9900…
- libgit2.github.com — https://libgit2.github.com/security/
- github.com — https://github.com/libgit2/libgit2/commit/3db1af1f370295ad5355b8f64b865a2a357bca…
- lists.debian.org — https://lists.debian.org/debian-lts-announce/2022/03/msg00031.html
Want this in your SOAR or SIEM?
SARA's API returns EPSS, CVSS, KEV, and an analyst-grade summary in one call.
Read the API reference →