# CVE-2026-25934: go-git improperly verifies data integrity values for .idx and .pack files

- Severity: Medium 4.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 4% of CVEs (2026-12-01)
- Published: 2026-02-09T22:13:41.974Z
- Modified: 2026-09-10T03:50:59.405Z
- Also known as: GHSA-37cx-329c-33x3, GO-2026-4473
- Related: CGA-v36v-c63w-r62j
- Weaknesses: CWE-354
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- go-git go-git: < 5.16.5
- github.com/go-git/go-git/v5 (Go): before 5.16.5
- github.com/go-git/go-git (Go): all versions
- github.com/go-git/go-git/v4 (Go): all versions
- go-git_project go-git: before 5.16.5

## Every score

- GitHub_M: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N`
- GitHub: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N`
- NVD: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N`

## References

- <https://github.com/go-git/go-git/security/advisories/GHSA-37cx-329c-33x3> (advisory, patch, vendor-advisory, web)
- <https://github.com/go-git/go-git/releases/tag/v5.16.5> (product, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-25934> (advisory)
- <https://github.com/go-git/go-git> (package)

## Sources

- CVE List: [CVE-2026-25934](https://www.cve.org/CVERecord?id=CVE-2026-25934), CVE Terms of Use, modified 2026-02-11
- GitHub Advisory Database: [GHSA-37cx-329c-33x3](https://github.com/advisories/GHSA-37cx-329c-33x3), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2026-4473](https://pkg.go.dev/vuln/GO-2026-4473), CC-BY-4.0, modified 2026-02-20
- NVD: [CVE-2026-25934](https://nvd.nist.gov/vuln/detail/CVE-2026-25934), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-25934 · Whole record: https://cve.day/CVE-2026-25934.json · Rebuilt by cve.day 2026-11-25T22:59:13.686Z
