CVE-2026-25934
CVSS v3
4.3
MEDIUM
EPSS Score
0.2 %
exploit probability, as of 2026-10-19
CISA KEV
No
known exploited
Exploitation
—
SSVC status
Get an alert for each new CVE published for go-git/go-git.
Affected and fixed versions
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- github.com/go-git/go-gitGoall versions · no fixed version listedand 1 other package
- github.com/go-git/go-git/v5Goall versions · fixed in 5.16.5
Vendor advisories
go-git/go-git: go-git: Data integrity issue due to improper verification of pack and index files
assisted/agent-preinstall-image-builder-rhel9 as a component of Assisted Installer for Red Hat OpenShift Container Platform 2 · openshift-builds/openshift-builds-controller-rhel9 as a component of Builds for Red Hat OpenShift · openshift-builds/openshift-builds-git-cloner-rhel9 as a component of Builds for Red Hat OpenShift
Red Hat Security Advisory: Red Hat OpenShift Data Foundation 4.22.0 security, enhancement & bug fix update
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.
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
- Published
- 2026-02-09
- Last Modified
- 2026-02-20
Frequently asked questions
What is CVE-2026-25934?
Is CVE-2026-25934 actively exploited?
What is the CVSS score for CVE-2026-25934?
Running go-git/go-git? Hear about its next vulnerability
CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.
Already have an account? Open CVE WatchNo credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? CVE Watch alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.