CVE-2026-34165

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:go-git_project:go-git:*:*:*:*:*:go:*:*

History

24 Jul 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) go-git es una biblioteca de implementación de git extensible escrita en Go puro. Desde la versión 5.0.0 hasta antes de la versión 5.17.1, se ha identificado una vulnerabilidad en la que un archivo .idx creado maliciosamente puede causar un consumo asimétrico de memoria, agotando potencialmente la memoria disponible y resultando en una condición de denegación de servicio (DoS). La explotación requiere acceso de escritura al directorio .git del repositorio local, para crear o alterar archivos .idx existentes. Este problema ha sido parcheado en la versión 5.17.1.

02 Apr 2026, 16:49

Type Values Removed Values Added
CPE cpe:2.3:a:go-git_project:go-git:*:*:*:*:*:go:*:*
References () https://github.com/go-git/go-git/releases/tag/v5.17.1 - () https://github.com/go-git/go-git/releases/tag/v5.17.1 - Product, Release Notes
References () https://github.com/go-git/go-git/security/advisories/GHSA-jhf3-xxhw-2wpp - () https://github.com/go-git/go-git/security/advisories/GHSA-jhf3-xxhw-2wpp - Vendor Advisory
First Time Go-git Project
Go-git Project go-git

31 Mar 2026, 15:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-03-31 15:16

Updated : 2026-07-24 21:10


NVD link : CVE-2026-34165

Mitre link : CVE-2026-34165

CVE.ORG link : CVE-2026-34165


JSON object : View

Products Affected

go-git_project

  • go-git
CWE
CWE-191

Integer Underflow (Wrap or Wraparound)

CWE-770

Allocation of Resources Without Limits or Throttling