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.Referenceshttps://libgit2.github.com/security/https://github.com/libgit2/libgit2/commit/58a6fe94cb851f71214dbefac3f9bffee437d6fehttps://lists.debian.org/debian-lts-announce/2022/03/msg00031.html