CVE-2026-34165

go-git: Maliciously crafted idx file can cause asymmetric memory consumption

MEDIUM
5
CVSS Score
Published: March 31, 2026 at 01:46 PM UTC
Updated: July 24, 2026 at 09:20 PM UTC
2 products affected across 2 vendorsGo GitGit Project Go Git

Using go-git by go-git?

Get instant alerts when new vulnerabilities affect go-git - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5
Exploit prediction
EPSS 0.1%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.0.0 ≤ v < 5.17.1
Affected range stops below 5.17.1, so it looks safe — our inference, not a vendor statement
v < 5.17.1
Affected range stops below 5.17.1, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (2)

x_refsource_CONFIRMVendor Advisory
Source: cverecord
https://github.com/go-git/go-git/security/advisories/GHSA-jhf3-xxhw-2wpp
x_refsource_MISCProductRelease Notes
Source: cverecord
https://github.com/go-git/go-git/releases/tag/v5.17.1

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5MEDIUMGitHub_M
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-191CWE-770

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card