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.
Users should upgrade to v5.17.1, or the latest v6 pseudo-version, in order to mitigate this vulnerability.
The go-git maintainers thank @kq5y for finding and reporting this issue privately to the go-git project.
{
"nvd_published_at": "2026-03-31T15:16:17Z",
"cwe_ids": [
"CWE-191",
"CWE-770"
],
"github_reviewed_at": "2026-03-30T17:17:54Z",
"severity": "MODERATE",
"github_reviewed": true
}