{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-33762","id":"CVE-2026-33762","title":"go-git: Missing validation decoding Index v4 files leads to panic","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 affec","descriptionLong":"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.","published":"2026-03-31T13:47:42.378Z","updated":"2026-11-04T02:47:34.697186887Z","reserved":"2026-03-23T18:30:14.126Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":2.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L","rating":"low","source":"GitHub_M"},"metrics":[{"version":"3.1","score":2.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L","rating":"low","source":"GitHub_M"},{"version":"3.1","score":2.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L","rating":"low","source":"github.com"},{"version":"3.1","score":2.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L","rating":"low","source":"OSV"},{"version":"3.1","score":2.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L","rating":"low","source":"GitHub"}],"rating":"low","products":["go-git"],"affectedProducts":[{"vendor":"go-git","product":"go-git","defaultStatus":null,"versions":[{"version":"< 5.17.1","status":"affected"}],"platforms":[]}],"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"],"advisory":"GHSA-gm2x-2g9h-ccm8"},{"ecosystem":"Go","name":"github.com/go-git/go-git","purl":"pkg:golang/github.com/go-git/go-git","ranges":["all versions"],"fixed":[],"advisory":"GO-2026-4909"},{"ecosystem":"Go","name":"github.com/go-git/go-git/v4","purl":"pkg:golang/github.com/go-git/go-git/v4","ranges":["all versions"],"fixed":[],"advisory":"GO-2026-4909"}],"cwes":["CWE-129"],"aliases":["GHSA-gm2x-2g9h-ccm8","GO-2026-4909"],"references":[{"url":"https://github.com/go-git/go-git/security/advisories/GHSA-gm2x-2g9h-ccm8","tags":["x_refsource_CONFIRM","Vendor Advisory","advisory","web"]},{"url":"https://github.com/go-git/go-git/commit/e9b65df44cb97faeba148b47523a362beaecddf9","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/go-git/go-git/releases/tag/v5.17.1","tags":["x_refsource_MISC","Product","Release Notes","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33762.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33762","tags":["advisory"]},{"url":"https://github.com/go-git/go-git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00181,"epssPercentile":0.07809,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-33762","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33762","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-33762","ok":true,"note":"3 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-gm2x-2g9h-ccm8","ok":true,"note":"GHSA-gm2x-2g9h-ccm8"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-33762","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}