{"cve":"CVE-2026-25934","nvd":{"published":"2026-02-09T23:16:05.937","modified":"2026-06-17T10:25:27.243","status":"Analyzed","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","score":4.3},"cwes":["CWE-354"],"references":["https://github.com/go-git/go-git/releases/tag/v5.16.5","https://github.com/go-git/go-git/security/advisories/GHSA-37cx-329c-33x3"],"products":["go-git_project:go-git"],"source":"nvd","synced_at":"2026-10-19T22:22:27.261130201+00:00"},"epss":{"cve":"CVE-2026-25934","score":0.00158,"percentile":0.04929,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-37cx-329c-33x3","url":"https://osv.dev/vulnerability/GHSA-37cx-329c-33x3","summary":"go-git improperly verifies data integrity values for .idx and .pack files","modified":"2026-09-10T03:50:59.405841934Z","packages":[{"ecosystem":"Go","name":"github.com/go-git/go-git/v5","purl":"pkg:golang/github.com/go-git/go-git/v5","ranges":["<5.16.5"],"fixed":["5.16.5"]}]},{"id":"GO-2026-4473","url":"https://osv.dev/vulnerability/GO-2026-4473","summary":"Improper verification of data integrity values for .idx and .pack files in github.com/go-git/go-git","modified":"2026-02-20T20:43:58.744703Z","packages":[{"ecosystem":"Go","name":"github.com/go-git/go-git","purl":"pkg:golang/github.com/go-git/go-git","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/go-git/go-git/v4","purl":"pkg:golang/github.com/go-git/go-git/v4","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/go-git/go-git/v5","purl":"pkg:golang/github.com/go-git/go-git/v5","ranges":["<5.16.5"],"fixed":["5.16.5"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}