CVE-2026-34165CWE-191CWE-770

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

Medium · published March 31, 2026

CVSS v3.1
5.0
EPSS
0%
Percentile
3.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.0 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00148 · 3.7th percentile
Weaknesses
CWE-191 · Integer Underflow (Wrap or Wraparound); CWE-770 · Allocation of Resources Without Limits or Throttling
Published
2026-03-31T13:46Z
EPSS history
Timeline
  • 31 MAR 13:46Z
    go-git: Maliciously crafted idx file can cause asymmetric memory consumption
    cvelistv5