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.
References (4)
Core 4
Core References
Patch, Third Party Advisory x_refsource_confirm
https://github.com/libgit2/libgit2/commit/3207ddb0103543da8ad2139ec6539f590f9900c1
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/3db1af1f370295ad5355b8f64b865a2a357bcac0
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.0074
EPSS Percentile
73.0%
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-190
Status
published
Products (2)
debian/debian_linux
9.0
libgit2/libgit2
< 0.26.2
Published
Mar 14, 2018
Tracked Since
Feb 18, 2026