libgit2: denial of service (DoS) via crafted repository index files
Published Mar 14, 2018
6.5
MEDIUMCVSS 3.1
EPSS 1.41%
Description
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.
Affected products
No data.
Configuration 2
- 9.0
No data.
Red Hat Enterprise Linux 8
libgit2
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | libgit2 | Not affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
AV:N/AC:M/Au:N/C:N/I:N/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Table of values (11 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 1.41% (0.01414) | 71.75th | v5 (v2026.06.15) |
| Sep 20, 2026 | 1.41% (0.01414) | 71.54th | v5 (v2026.06.15) |
| Jul 20, 2024 | 0.36% (0.00362) | 72.56th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.36% (0.00362) | 71.52th | v3 (v2023.03.01) |
| Oct 7, 2023 | 0.36% (0.00362) | 69.09th | v3 (v2023.03.01) |
| Sep 3, 2023 | 0.40% (0.00397) | 70.19th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.42% (0.00424) | 70.29th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.02% (0.01018) | 40.69th | v2 (v2022.01.01) |
| Feb 4, 2022 | 0.95% (0.00954) | 16.28th | v2 (v2022.01.01) |
| Feb 3, 2022 | 1.04% (0.01036) | 27.56th | v5 (v2026.06.15) |
| Apr 14, 2021 | 1.04% (0.01036) | 0.00th | v1 |
References (8)
- https://access.redhat.com/security/cve/CVE-2018-8098 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1554366 Issue Tracking
- https://github.com/libgit2/libgit2/commit/3207ddb0103543da8ad2139ec6539f590f9900c1 x_refsource_CONFIRMPatchThird Party Advisory
- https://github.com/libgit2/libgit2/commit/3db1af1f370295ad5355b8f64b865a2a357bcac0 x_refsource_CONFIRMPatchThird Party Advisory
- https://libgit2.github.com/security/ x_refsource_CONFIRMPatchThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/03/msg00031.html mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2018-8098
- https://www.cve.org/CVERecord?id=CVE-2018-8098
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2018-8098 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1554366 | Issue Tracking | |
| https://github.com/libgit2/libgit2/commit/3207ddb0103543da8ad2139ec6539f590f9900c1 | x_refsource_CONFIRMPatchThird Party Advisory | |
| https://github.com/libgit2/libgit2/commit/3db1af1f370295ad5355b8f64b865a2a357bcac0 | x_refsource_CONFIRMPatchThird Party Advisory | |
| https://libgit2.github.com/security/ | x_refsource_CONFIRMPatchThird Party Advisory | |
| https://lists.debian.org/debian-lts-announce/2022/03/msg00031.html | mailing-listx_refsource_MLISTMailing ListThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2018-8098 | ||
| https://www.cve.org/CVERecord?id=CVE-2018-8098 |
Change history (0)
No recorded changes yet.