Libgit2 · Libgit2 · CVE-2018-8098
**Name of the Vulnerable Software and Affected Versions**
libgit2 versions prior to 0.26.2
**Description**
The issue is related to an integer overflow in the `read entry()` function of the `index.c` component in libgit2. This overflow occurs while decompressing a compressed prefix length. The exploitation of this issue allows a remote attacker to cause a denial of service, specifically an out-of-bounds read, by using a crafted repository index file.
**Recommendations**
For versions prior to 0.26.2, update to version 0.26.2 or later to resolve the issue. As a temporary workaround, consider restricting access to crafted repository index files to minimize the risk of exploitation.