Home

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.

PUBLISHED Reserved 2026-03-25 | Published 2026-03-31 | Updated 2026-04-02 | Assigner GitHub_M




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

Problem types

CWE-191: Integer Underflow (Wrap or Wraparound)

CWE-770: Allocation of Resources Without Limits or Throttling

Product status

>= 5.0.0, < 5.17.1
affected

References

github.com/...go-git/security/advisories/GHSA-jhf3-xxhw-2wpp

github.com/go-git/go-git/releases/tag/v5.17.1

cve.org (CVE-2026-34165)

nvd.nist.gov (CVE-2026-34165)

Download JSON