LowGO-2026-4910CVE-2026-34165GHSA-jhf3-xxhw-2wpp
Maliciously crafted idx file can cause asymmetric memory consumption in github.com/go-git/go-git
Published 7 Apr 2026 · Updated 8 Apr 2026
Is your project on an affected github.com/go-git/go-git?
Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected packages
- Affected
- All versions
- Fixed in
- No fix released
- Affected
- All versions
- Fixed in
- No fix released
- Affected
- >=5.0.0 <5.17.1
- Fixed in
- 5.17.1
Update to the fixed version for your release line, for example:
go get github.com/go-git/go-git/v5@v5.17.1Details
Maliciously crafted idx file can cause asymmetric memory consumption in github.com/go-git/go-git
Is GO-2026-4910 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected github.com/go-git/go-git, and gives you the command that fixes it.
More advisories for github.com/go-git/go-git
- LowCVE-2026-45570Improper single-quote escaping in go-git SSH transport in github.com/go-git/go-git · 7 Jul 2026
- MediumCVE-2026-45571go-git: Crafted repositories may modify main and submodule .git directories · 19 May 2026
- LowCVE-2026-45570go-git: Improper single-quote escaping in go-git SSH transport · 19 May 2026
- LowCVE-2026-33762Missing validation decoding Index v4 files leads to panic in github.com/go-git/go-git · 7 Apr 2026
- LowCVE-2026-25934Improper verification of data integrity values for .idx and .pack files in github.com/go-git/go-git · 19 Feb 2026
- HighCVE-2025-21614go-git clients vulnerable to DoS via maliciously crafted Git server replies · 6 Jan 2025
References
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.