A flaw was found in libgit2 before version 0.27.3. A missing check in git_delta_apply function in delta.c file, may lead to an out-of-bound read while reading a binary delta file. An attacker may use this flaw to cause a Denial of Service.
https://lists.debian.org/debian-lts-announce/2022/03/msg00031.html
https://lists.debian.org/debian-lts-announce/2018/08/msg00024.html
https://github.com/libgit2/libgit2/releases/tag/v0.27.3
https://github.com/libgit2/libgit2/commit/9844d38bed10e9ff17174434b3421b227ae710f3