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.
Advisories
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-jhf3-xxhw-2wpp | go-git: Maliciously crafted idx file can cause asymmetric memory consumption |
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Wed, 01 Apr 2026 02:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Go-git
Go-git go-git |
|
| Vendors & Products |
Go-git
Go-git go-git |
Tue, 31 Mar 2026 14:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | |
| Title | go-git: Maliciously crafted idx file can cause asymmetric memory consumption | |
| Weaknesses | CWE-191 CWE-770 |
|
| References |
| |
| Metrics |
cvssV3_1
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: GitHub_M
Published:
Updated: 2026-03-31T13:46:37.688Z
Reserved: 2026-03-25T20:12:04.197Z
Link: CVE-2026-34165
No data.
Status : Undergoing Analysis
Published: 2026-03-31T15:16:17.343
Modified: 2026-04-01T14:24:02.583
Link: CVE-2026-34165
No data.
OpenCVE Enrichment
Updated: 2026-03-31T20:38:34Z
Github GHSA