CVE-2026-25934
Undergoing Analysis Undergoing Analysis - In Progress
Improper Integrity Verification in go-git Packfile Handling

Publication date: 2026-02-09

Last updated on: 2026-02-20

Assigner: GitHub, Inc.

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-02-09
Last Modified
2026-02-20
Generated
2026-06-16
AI Q&A
2026-02-10
EPSS Evaluated
2026-06-15
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
go-git_project go-git to 5.16.5 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-354 The product does not validate or incorrectly validates the integrity check values or "checksums" of a message. This may prevent it from detecting if the data has been modified or corrupted in transmission.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

The vulnerability in go-git, a Git implementation library written in Go, involves improper verification of data integrity values for .pack and .idx files prior to version 5.16.5. These files are used when clients fetch packfiles from upstream Git servers. Normally, these files contain checksums to ensure their contents are not corrupted. However, due to this vulnerability, go-git could consume corrupted files without detecting the corruption, leading to unexpected errors such as 'object not found'. The issue was fixed in version 5.16.5.

Impact Analysis

This vulnerability can cause go-git to process corrupted .pack and .idx files without detecting the corruption. As a result, users may experience unexpected errors, such as missing objects during Git operations. This can disrupt workflows that rely on go-git for Git functionality, potentially causing failures or inconsistencies in version control operations.

Compliance Impact

I don't know

Detection Guidance

I don't know

Mitigation Strategies

To mitigate this vulnerability, you should upgrade the go-git library to version 5.16.5 or later, where the issue with improper verification of data integrity values for .pack and .idx files has been fixed.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-25934. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart