libgit2: denial of service (DoS) via crafted repository index files
Published Mar 14, 2018
6.5
MEDIUMCVSS 3.1
EPSS 1.38%
Description
Incorrect returning of an error code in the index.c:read_entry() function leads to a double free in libgit2 before v0.26.2, which allows an attacker to cause a denial of service 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 (10 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 1.38% (0.01383) | 71.17th | v5 (v2026.06.15) |
| Sep 20, 2026 | 1.38% (0.01383) | 70.94th | v5 (v2026.06.15) |
| Jul 20, 2024 | 0.27% (0.00269) | 68.13th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.27% (0.00269) | 66.87th | v3 (v2023.03.01) |
| Sep 3, 2023 | 0.27% (0.00269) | 63.66th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.32% (0.00315) | 65.58th | v3 (v2023.03.01) |
| Mar 6, 2023 | 0.95% (0.00954) | 36.37th | v2 (v2022.01.01) |
| Feb 4, 2022 | 0.89% (0.00885) | 10.50th | v2 (v2022.01.01) |
| Feb 3, 2022 | 0.78% (0.00777) | 21.50th | v5 (v2026.06.15) |
| Apr 14, 2021 | 0.78% (0.00777) | 0.00th | v1 |
References (7)
- https://access.redhat.com/security/cve/CVE-2018-8099 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1554366 Issue Tracking
- https://github.com/libgit2/libgit2/commit/58a6fe94cb851f71214dbefac3f9bffee437d6fe 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-8099
- https://www.cve.org/CVERecord?id=CVE-2018-8099
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2018-8099 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1554366 | Issue Tracking | |
| https://github.com/libgit2/libgit2/commit/58a6fe94cb851f71214dbefac3f9bffee437d6fe | 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-8099 | ||
| https://www.cve.org/CVERecord?id=CVE-2018-8099 |
Change history (0)
No recorded changes yet.