Integer overflow in Libgit2
CVE-2018-8098
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.
Vulnerability class: Integer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.014 (71.7th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 72nd percentile — 71.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.014 · newest: 0.014 · change: 0.000
Affected products
- Libgit2
- Debian Linux — versions 9.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/libgit2/libgit2/commit/3207ddb0103543da8ad2139ec6539f590f9900c1 (Patch, Third Party Advisory)
- libgit2.github.com/security/ (Patch, Third Party Advisory)
- github.com/libgit2/libgit2/commit/3db1af1f370295ad5355b8f64b865a2a357bcac0 (Patch, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2022/03/msg00031.html (mailing-list, Mailing List, Third Party Advisory)
Frequently asked questions
- What is CVE-2018-8098?
- CVE-2018-8098 is a medium-severity vulnerability in Libgit2, classified under Integer Overflow or Wraparound. CVSS score: 6.5/10. Published 2018-03-14.
- How severe is CVE-2018-8098?
- Medium severity. CVSS v3 base score is 6.5 out of 10.
- Is CVE-2018-8098 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.