CVE-2026-25934

go-git improperly verifies data integrity values for .idx and .pack files

MEDIUM
4.3
CVSS Score
Published: February 9, 2026 at 10:13 PM UTC
Updated: June 17, 2026 at 10:25 AM UTC
2 products affected across 2 vendorsGo GitGit Project Go Git

Using go-git by go-git?

Get instant alerts when new vulnerabilities affect go-git - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM4.3
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

go-git is a highly extensible git implementation library written in pure Go. Prior to 5.16.5, a vulnerability was discovered in go-git whereby data integrity values for .pack and .idx files were not properly verified. This resulted in go-git potentially consuming corrupted files, which would likely result in unexpected errors such as object not found. For context, clients fetch packfiles from upstream Git servers. Those files contain a checksum of their contents, so that clients can perform integrity checks before consuming it. The pack indexes (.idx) are generated locally by go-git, or the git cli, when new .pack files are received and processed. The integrity checks for both files were not being verified correctly. This vulnerability is fixed in 5.16.5.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 5.16.5
Affected range stops below 5.16.5, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (2)

x_refsource_CONFIRMPatchVendor Advisory
Source: cverecord
https://github.com/go-git/go-git/security/advisories/GHSA-37cx-329c-33x3
x_refsource_MISCProductRelease Notes
Source: cverecord
https://github.com/go-git/go-git/releases/tag/v5.16.5

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

4.3MEDIUMGitHub_M
Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
NONE
Integrity
LOW
Availability
NONE
Vector?

Quick Info

StatusANALYZED
CWE
CWE-354

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card