{"id":"CVE-2026-33762","state":"PUBLISHED","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 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.","publishedAt":"2026-03-31T13:47:42.378Z","updatedAt":"2026-03-31T18:53:08.221Z","severity":{"score":2.8,"label":"Low","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L","source":"GitHub_M"},"assigner":"GitHub_M","products":["go-git go-git"],"affected":[{"vendor":"go-git","product":"go-git","versions":[{"version":"< 5.17.1","status":"affected"}]}],"references":["https://github.com/go-git/go-git/security/advisories/GHSA-gm2x-2g9h-ccm8","https://github.com/go-git/go-git/releases/tag/v5.17.1"],"weaknesses":["CWE-129"],"ingestedAt":"2026-10-29T20:11:40.391Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/33xxx/CVE-2026-33762.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-33762","state":"PUBLISHED","datePublished":"2026-03-31T13:47:42.378Z","dateUpdated":"2026-03-31T18:53:08.221Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-03-23T18:30:14.126Z"},"containers":{"cna":{"title":"go-git: Missing validation decoding Index v4 files leads to panic","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"go-git","product":"go-git","versions":[{"version":"< 5.17.1","status":"affected"}]}],"references":[{"url":"https://github.com/go-git/go-git/security/advisories/GHSA-gm2x-2g9h-ccm8","name":"https://github.com/go-git/go-git/security/advisories/GHSA-gm2x-2g9h-ccm8","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/go-git/go-git/releases/tag/v5.17.1","name":"https://github.com/go-git/go-git/releases/tag/v5.17.1","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"LOW","baseScore":2.8,"baseSeverity":"LOW","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-129","lang":"en","description":"CWE-129: Improper Validation of Array Index","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-03-31T13:47:42.378Z"},"source":{"advisory":"GHSA-gm2x-2g9h-ccm8","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-03-31T18:50:26.187250Z","id":"CVE-2026-33762","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-03-31T18:53:08.221Z"}}]}}}