{"api_version":"1","generated_at":"2026-05-12T17:45:24+00:00","cve":"CVE-2026-33762","urls":{"html":"https://cve.report/CVE-2026-33762","api":"https://cve.report/api/cve/CVE-2026-33762.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-33762","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-33762"},"summary":{"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.","state":"PUBLISHED","assigner":"GitHub_M","published_at":"2026-03-31 15:16:15","updated_at":"2026-04-02 16:49:29"},"problem_types":["CWE-129","CWE-129 CWE-129: Improper Validation of Array Index"],"metrics":[{"version":"3.1","source":"security-advisories@github.com","type":"Secondary","score":"2.8","severity":"LOW","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L","baseScore":2.8,"baseSeverity":"LOW","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"LOW"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"2.8","severity":"LOW","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L","data":{"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"}}],"references":[{"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","refsource":"security-advisories@github.com","tags":["Product","Release Notes"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"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","refsource":"security-advisories@github.com","tags":["Vendor Advisory"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-33762","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33762","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"go-git","product":"go-git","version":"affected < 5.17.1","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2026","cve_id":"33762","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"go-git_project","cpe5":"go-git","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"go","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"33762","cve":"CVE-2026-33762","epss":"0.000140000","percentile":"0.023560000","score_date":"2026-04-07","updated_at":"2026-04-08 00:03:40"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"metrics":[{"other":{"content":{"id":"CVE-2026-33762","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","timestamp":"2026-03-31T18:50:26.187250Z","version":"2.0.3"},"type":"ssvc"}}],"providerMetadata":{"dateUpdated":"2026-03-31T18:53:08.221Z","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP"},"title":"CISA ADP Vulnrichment"}],"cna":{"affected":[{"product":"go-git","vendor":"go-git","versions":[{"status":"affected","version":"< 5.17.1"}]}],"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."}],"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","description":"CWE-129: Improper Validation of Array Index","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-03-31T13:47:42.378Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M"},"references":[{"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/security/advisories/GHSA-gm2x-2g9h-ccm8"},{"name":"https://github.com/go-git/go-git/releases/tag/v5.17.1","tags":["x_refsource_MISC"],"url":"https://github.com/go-git/go-git/releases/tag/v5.17.1"}],"source":{"advisory":"GHSA-gm2x-2g9h-ccm8","discovery":"UNKNOWN"},"title":"go-git: Missing validation decoding Index v4 files leads to panic"}},"cveMetadata":{"assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","assignerShortName":"GitHub_M","cveId":"CVE-2026-33762","datePublished":"2026-03-31T13:47:42.378Z","dateReserved":"2026-03-23T18:30:14.126Z","dateUpdated":"2026-03-31T18:53:08.221Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-03-31 15:16:15","lastModifiedDate":"2026-04-02 16:49:29","problem_types":["CWE-129","CWE-129 CWE-129: Improper Validation of Array Index"],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L","baseScore":2.8,"baseSeverity":"LOW","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"LOW"},"exploitabilityScore":1.3,"impactScore":1.4}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:go-git_project:go-git:*:*:*:*:*:go:*:*","versionEndExcluding":"5.17.1","matchCriteriaId":"B23FA8A3-7368-4B78-B80A-9BCC2F012738"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"33762","Ordinal":"1","Title":"go-git: Missing validation decoding Index v4 files leads to pani","CVE":"CVE-2026-33762","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"33762","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"go-git: Missing validation decoding Index v4 files leads to pani"}]}}}