CVE-2026-34165Go-git Project Go-git
Medium 5.0
Follow: this CVE · Go-git Project · Go-git Project Go-git We alert you by email or Slack (account required).
- Priority
- 30
- CVSS 3.1
- 5.0
- EPSS
- —
- Auth required
- Yes
- Published
- Mar 31, 2026
- Updated
- Jul 24, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Go-git.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/go-git/go-git |
all |
no fixed version | — |
| Go | github.com/go-git/go-git/v4 |
all |
no fixed version | — |
| Go | github.com/go-git/go-git/v5 |
≥ 5.0.0 < 5.17.1 |
5.17.1 |
go get github.com/go-git/go-git/v5@v5.17.1 |
| Go | github.com/go-git/go-git/v5 |
≥ 5.0.0 < 5.17.1 |
5.17.1 |
go get github.com/go-git/go-git/v5@v5.17.1 |
Per OSV / GitHub Advisories (GO-2026-4910, GHSA-jhf3-xxhw-2wpp). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| go-git_project | go-git | ≥ 5.0.0 < 5.17.1 |
Official advisories
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21483-1 · Jul 30, 2026 Critical
- teleport-17.7.23-1.1 on GA media · SUSE · openSUSE-SU-2026:10684-1 · May 4, 2026 High
- steampipe-2.4.1-1.1 on GA media · SUSE · openSUSE-SU-2026:10509-1 · Apr 8, 2026 Medium
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Product Release Notes
- github.com Vendor Advisory