Security mailing lists by PureSourceCode

CVE-2026-34165

MEDIUM 5.0CVSS 3.1

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

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
31 Mar 2026
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-191CWE-770
Also known as
GHSA-jhf3-xxhw-2wppGO-2026-4910
Sources
NVDJSONOSV GHSA-jhf3-xxhw-2wppJSONOSV GO-2026-4910JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 5.0 CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 MEDIUM 5.0 CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD go-git_project go-git
cpe:2.3:a:go-git_project:go-git:*:*:*:*:*:go:*:*
>= 5.0.0, < 5.17.1 5.17.1
OSV Go github.com/go-git/go-git/v5 >= 5.0.0, < 5.17.1 5.17.1
OSV Go github.com/go-git/go-git all versions
OSV Go github.com/go-git/go-git/v4 all versions

References

History

  • 25 Nov 2026 21:02 UTC · NVD: first stored (published 31 Mar 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 7 Apr 2026)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 30 Mar 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.