CVE-2018-8099 json
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…
published 8y ago modified 4mo ago also EUVD-2018-19775
- cvss
- 6.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.4%
- EPSS 1.4% chance of exploitation in 30 days, percentile 72%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- libgit2 libgit2 0.26.2
- libgit2 Debian 14, Debian 13, Debian 12 0.27.0+dfsg.1-0.6
debian advisories DEBIAN-CVE-2018-8099
- libgit2 Ubuntu Pro 14.04 LTS 0.19.0-2ubuntu0.4+esm2
- libgit2 Ubuntu Pro 16.04 LTS 0.24.1-2ubuntu0.2+esm3
- libgit2 Ubuntu Pro 18.04 LTS 0.26.0+dfsg.1-1.1ubuntu0.2+esm2
ubuntu advisories UBUNTU-CVE-2018-8099
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- libgit2 SLE Software Development Kit 12 SP3, Manager Server 3.2, Manager Server 3.1 0.24.1-7.6.1
suse advisories SUSE-SU-2018:3440-1
- github.com/libgit2/libgit2@58a6fe9 commit
- libgit2.github.com/security/ advisory
Is CVE-2018-8099 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-8099 updated cvss 4.3
libgit2: denial of service (DoS) via crafted repository index files
-
Red Hat Enterprise Linux 8 libgit2not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.39% chance of exploitation in the next 30 days, higher than 72% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-415 Double Free
References
-
github.com
/libgit2/libgit2/commit/58a6fe94cb851f71214dbefac3f9bffee437d6fe
patch, third-party-advisory
-
libgit2.github.com
/security/
patch, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2022/03/msg00031.html
mailing-list, third-party-advisory
Sources
- CVE List CVE-2018-8099
- NVD CVE-2018-8099
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.