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.
Metrics
CVSS 3.1 6.5/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- https://github.com/libgit2/libgit2/commit/58a6fe94cb851f71214dbefac3f9bffee437d6fePatch, Third Party Advisory
- https://libgit2.github.com/security/Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/03/msg00031.htmlMailing List, Third Party Advisory
- https://github.com/libgit2/libgit2/commit/58a6fe94cb851f71214dbefac3f9bffee437d6fePatch, Third Party Advisory
- https://libgit2.github.com/security/Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/03/msg00031.htmlMailing List, Third Party Advisory
Timeline
- Published
- Mar 14, 2018
- Last modified
- Jun 17, 2026
- NVD status
- Modified