github.com/go-git/go-git/v5
Affected
- introduced
5.0.0, fixed5.17.1(semver)
Fixed versions
5.17.1
Fix
- Fixed version
5.17.1go get github.com/go-git/go-git/[email protected]
Advisory
Also known as: CVE-2026-34165, GO-2026-4910
go-git: Maliciously crafted idx file can cause asymmetric memory consumption
Impact
A vulnerability has been identified in which a maliciously crafted .idx file can cause asymmetric memory consumption, potentially exhausting available memory and resulting in a Denial of Service (DoS) condition.
Exploitation requires write access to the local repository's .git directory, it order to create or alter existing .idx files.
Patches
Users should upgrade to v5.17.1, or the latest v6 pseudo-version, in order to mitigate this vulnerability.
Credit
The go-git maintainers thank @kq5y for finding and reporting this issue privately to the go-git project.
Medium Basis: The source's own band: MODERATE
5.0.0, fixed 5.17.1 (semver)5.17.1
5.17.1go get github.com/go-git/go-git/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0