go-git is an extensible git implementation library written in pure Go. From version 5.0.0 to before version 5.17.1, 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. This issue has been patched in version 5.17.1.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-191",
"CWE-770"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34165.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "5.0.0"
},
{
"fixed": "5.17.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"original_tag": "v5.17.1",
"range": [
{
"fixed": "5e23dfd02db92644dc4a3358ceb297fce875b772"
}
],
"source": "REFERENCES_TAG"
},
{
"cpe": "cpe:2.3:a:go-git_project:go-git:*:*:*:*:*:go:*:*",
"range": [
{
"introduced": "5.0.0"
},
{
"fixed": "5.17.1"
}
],
"source": "CPE_RANGE"
}
]
}