# CVE-2018-8098

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2018-03-14 · Modified: 2024-08-05
- Aliases: UBUNTU-CVE-2018-8098, DEBIAN-CVE-2018-8098
- Record: https://cvemate.com/vulnerability/CVE-2018-8098 · JSON: https://cvemate.com/vulnerability/CVE-2018-8098/json

## Description

```text
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.
```

## Signals

- CVSS: 6.5 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- EPSS: 1.426%, percentile 73.905%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian libgit2 (Debian): \< 0.27.0+dfsg.1-0.6
- ubuntu libgit2 (Ubuntu): \< 0.26.0+dfsg.1-1.1ubuntu0.2+esm2
- debian debian\_linux: 9.0
- libgit2 libgit2: \< 0.26.2

## References

- <https://github.com/libgit2/libgit2/commit/3207ddb0103543da8ad2139ec6539f590f9900c1>
- <https://libgit2.github.com/security/>
- <https://github.com/libgit2/libgit2/commit/3db1af1f370295ad5355b8f64b865a2a357bcac0>
- <https://lists.debian.org/debian-lts-announce/2022/03/msg00031.html>
- <https://ubuntu.com/security/CVE-2018-8098>
- <https://www.cve.org/CVERecord?id=CVE-2018-8098>
- <https://ubuntu.com/security/notices/USN-8628-1>
- <https://security-tracker.debian.org/tracker/CVE-2018-8098>

---

Data as of 2026-12-05T18:49:41.161Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
