CVE-2026-34165
MEDIUM 5.0CVSS 3.1go-git: Maliciously crafted idx file can cause asymmetric memory consumption
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.
- Published
- 31 Mar 2026
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-191CWE-770
- Also known as
- GHSA-jhf3-xxhw-2wppGO-2026-4910
- Sources
- NVDJSONOSV GHSA-jhf3-xxhw-2wppJSONOSV GO-2026-4910JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.0 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.0 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | go-git_project | go-gitcpe:2.3:a:go-git_project:go-git:*:*:*:*:*:go:*:* |
>= 5.0.0, < 5.17.1 | 5.17.1 |
| OSV | Go | github.com/go-git/go-git/v5 | >= 5.0.0, < 5.17.1 | 5.17.1 |
| OSV | Go | github.com/go-git/go-git | all versions | |
| OSV | Go | github.com/go-git/go-git/v4 | all versions |
References
- https://github.com/go-git/go-git/releases/tag/v5.17.1 · Product, Release Notes, WEB
- https://github.com/go-git/go-git/security/advisories/GHSA-jhf3-xxhw-2wpp · Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-34165 · ADVISORY
- https://github.com/go-git/go-git · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 31 Mar 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 7 Apr 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 30 Mar 2026)