CVE-2026-34165

Medium

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.

SeverityMedium
CVSS5.0
Exploit probability—
ProductGo-git
PublishedMar 31, 2026
First seenMar 31, 2026

How to fix

Update
  • go-git_project go-git5.17.1 or later
  • github.com/go-git/go-git/v55.17.1 or later

Affected products

ProductAffected versionsFixed in
go-git_project go-git5.0.0 ≤ v < 5.17.15.17.1
github.com/go-git/go-git/v5Go5.0.0 ≤ v < 5.17.15.17.1
github.com/go-git/go-gitGoNo range specified—
github.com/go-git/go-git/v4GoNo range specified—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-34165 · Go-git · Dark Radar