Improper Validation of Array Index in go-git - CVE-2026-33762
Published: April 17, 2026
go-git
Detailed vulnerability description
The vulnerability allows a local user to cause a denial of service.
The vulnerability exists due to improper validation of array index in the index decoder for format version 4 when parsing a crafted .git/index file. A local user can supply a specially crafted .git/index file to cause a denial of service.
User interaction is required during normal index parsing, and the issue can result in process termination if the application does not recover from panics.