CVE-2026-34165 MEDIUM

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

Vendor Go-Git
Product go-git
Weakness CWE-191
Published March 31, 2026
Last update April 2, 2026

CVSS base score

5.0/10
Attack vector Local
Attack complexity Low
Privileges required Low
User interaction Required
Confidentiality None
Integrity None

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

March 31, 2026 CVE published
April 2, 2026 Record updated