{"id":"CVE-2026-25934","published":"2026-02-09T22:13:41Z","modified":"2026-02-11T21:23:14Z","title":"go-git improperly verifies data integrity values for .idx and .pack files","vendor":"go-git","product":"go-git","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00156,"percentile":0.04807,"provenance":"source"},"cwes":[{"id":"CWE-354","name":"Improper Validation of Integrity Check Value"}],"references":[{"url":"https://github.com/go-git/go-git/security/advisories/GHSA-37cx-329c-33x3","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/go-git/go-git/releases/tag/v5.16.5","tags":["x_refsource_MISC"]}],"priority":{"score":4.0,"factors":[{"name":"EPSS percentile","points":0.96},{"name":"CVSS severity","points":3.01}]},"vendorSlug":"go-git","affectedVersions":[{"vendor":"go-git","product":"go-git","versions":["< 5.16.5"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-02-11T21:23:04.617787Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/go-git/go-git/v5","vulnerableRanges":["<5.16.5"],"patched":["5.16.5"],"from":["GHSA-37cx-329c-33x3","GO-2026-4473"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/go-git/go-git","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2026-4473"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/go-git/go-git/v4","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2026-4473"],"provenance":"source"}],"summary":{"text":"go-git, the pure Go git implementation library, fails to properly verify the integrity checks for the .pack and .idx files it consumes, so corrupted files can be processed. An attacker with network access who can get a user to interact with a crafted or corrupted repository fetch, requiring no authentication, could cause go-git to consume corrupted files, typically surfacing as unexpected errors such as object not found.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:22:11Z"},"euvd":{"id":"EUVD-2026-6247","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-49569","published":"2024-01-12","fixed":"5.11.0","kev":false},{"cve":"CVE-2025-21613","published":"2025-01-06","fixed":"5.13.0","kev":false},{"cve":"CVE-2025-21614","published":"2025-01-06","fixed":"5.13.0","kev":false,"link":{"from":"CVE-2025-21614","to":"CVE-2026-25934","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/go-git/go-git/v5","fromFixed":"5.13.0","toFixed":"5.16.5","daysApart":399}]}},{"cve":"CVE-2026-25934","published":"2026-02-09","fixed":"5.16.5","kev":false},{"cve":"CVE-2026-33762","published":"2026-03-31","fixed":"5.17.1","kev":false,"link":{"from":"CVE-2026-25934","to":"CVE-2026-33762","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/go-git/go-git/v5","fromFixed":"5.16.5","toFixed":"5.17.1","daysApart":50}]}},{"cve":"CVE-2026-34165","published":"2026-03-31","fixed":"5.17.1","kev":false,"link":{"from":"CVE-2026-25934","to":"CVE-2026-34165","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/go-git/go-git/v5","fromFixed":"5.16.5","toFixed":"5.17.1","daysApart":50}]}},{"cve":"CVE-2026-41506","published":"2026-05-08","fixed":"5.18.0","kev":false}],"package":"Go:github.com/go-git/go-git/v5"}}