Double Free in Libgit2
CVE-2018-8099
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.
Vulnerability class: Double Free
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, 72.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Libgit2
- Debian Linux — versions 9.0
Weakness classification (CWE)
References
- libgit2.github.com/security/ (Patch, Third Party Advisory)
- github.com/libgit2/libgit2/commit/58a6fe94cb851f71214dbefac3f9bffee437d6fe (Patch, Third Party Advisory)
- [debian-lts-announce] 20220321 [SECURITY] [DLA 2936-1] libgit2 security update (mailing-list, Mailing List, Third Party Advisory)