Skip to main content
← All vulnerabilities
CVE-2026-34165GO-2026-4910GHSA-JHF3-XXHW-2WPP

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.17.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • go-git go-git

    From 5.0.0 · fixed in 5.17.1

  • github.com/go-git/go-gitGo

    All versions

  • github.com/go-git/go-git/v4Go

    All versions

  • github.com/go-git/go-git/v5Go

    From 5.0.0 · fixed in 5.17.1

References 2

GitHub · go-git/go-git