Integer underflow in go-git - CVE-2026-34165
Published: April 17, 2026
Vulnerability identifier: #VU126455
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2026-34165
CWE-ID: CWE-191
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vendor: go-git
Affected software:
go-git
go-git
Detailed vulnerability description
The vulnerability allows a local user to cause a denial of service.
The vulnerability exists due to integer underflow in .idx file processing when parsing a crafted .idx file. A local user can create or alter an .idx file in the local repository's .git directory to cause a denial of service.
User interaction is required.
How to mitigate CVE-2026-34165
Install security update from vendor's website.