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-05-27
AI Q&A
2026-02-10
EPSS Evaluated
2026-05-25
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 Powered Q&A
Can you explain this vulnerability to me?

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.


How can this vulnerability impact me? :

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.


How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:

I don't know


How can this vulnerability be detected on my network or system? Can you suggest some commands?

I don't know


What immediate steps should I take to mitigate this vulnerability?

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.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart