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.
References (3)
Core 3
Core References
Patch, Third Party Advisory x_refsource_confirm
https://libgit2.github.com/security/
Patch, Third Party Advisory x_refsource_confirm
https://github.com/libgit2/libgit2/commit/58a6fe94cb851f71214dbefac3f9bffee437d6fe
Mailing List, Third Party Advisory mailing-list
x_refsource_mlist
https://lists.debian.org/debian-lts-announce/2022/03/msg00031.html
Scores
CVSS v3
6.5
EPSS
0.0118
EPSS Percentile
78.8%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Details
CWE
CWE-415
Status
published
Products (2)
debian/debian_linux
9.0
libgit2/libgit2
< 0.26.2
Published
Mar 14, 2018
Tracked Since
Feb 18, 2026