{"cve":"CVE-2026-33762","nvd":{"published":"2026-03-31T15:16:15.597","modified":"2026-07-24T21:10:00.143","status":"Analyzed","description":"go-git is an extensible git implementation library written in pure Go. Prior to version 5.17.1, go-git’s index decoder for format version 4 fails to validate the path name prefix length before applying it to the previously decoded path name. A maliciously crafted index file can trigger an out-of-bounds slice operation, resulting in a runtime panic during normal index parsing. This issue only affects Git index format version 4. Earlier formats (go-git supports only v2 and v3) are not vulnerable to this issue. This issue has been patched in version 5.17.1.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L","score":2.8},"cwes":["CWE-129"],"references":["https://github.com/go-git/go-git/releases/tag/v5.17.1","https://github.com/go-git/go-git/security/advisories/GHSA-gm2x-2g9h-ccm8"],"products":["go-git_project:go-git"],"source":"nvd","synced_at":"2026-10-19T22:28:18.033120106+00:00"},"epss":{"cve":"CVE-2026-33762","score":0.00159,"percentile":0.05038,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-gm2x-2g9h-ccm8","url":"https://osv.dev/vulnerability/GHSA-gm2x-2g9h-ccm8","summary":"go-git missing validation decoding Index v4 files leads to panic","modified":"2026-09-10T03:50:39.255226732Z","packages":[{"ecosystem":"Go","name":"github.com/go-git/go-git/v5","purl":"pkg:golang/github.com/go-git/go-git/v5","ranges":["<5.17.1"],"fixed":["5.17.1"]}]},{"id":"GO-2026-4909","url":"https://osv.dev/vulnerability/GO-2026-4909","summary":"Missing validation decoding Index v4 files leads to panic in github.com/go-git/go-git","modified":"2026-04-08T15:44:15.876156773Z","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.17.1"],"fixed":["5.17.1"]}]}],"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."]}