Allocation of Resources Without Limits or Throttling Affecting github.com/go-git/go-git/v4/plumbing/format/index package, versions <5.17.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.15% (5th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMGOGITGOGITV4PLUMBINGFORMATINDEX-15855221
  • published1 Apr 2026
  • disclosed30 Mar 2026
  • creditkq5y

Introduced: 30 Mar 2026

CVE-2026-34165  (opens in a new tab)
CWE-191  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade github.com/go-git/go-git/v4/plumbing/format/index to version 5.17.1 or higher.

Overview

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling through the handling of .idx files. An attacker with write access to the local repository's .git directory can exhaust system memory by introducing a maliciously crafted .idx file into the .git directory.

CVSS Base Scores

version 4.0
version 3.1