CVE-2026-33762
published low CVSS 3.1 · 2.8go-git: Missing validation decoding Index v4 files leads to panic
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| go-git | — | go-git< 5.17.1 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2 | Release evaluation | No Fix Planned | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | No Fix Planned | Not stated | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 2.8 / 10
- Severity
- low
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| go-git | go-git | < 5.17.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-129 CWE-129: Improper Validation of Array Index
References
3Provider assertions
2GitHub_M · cna
go-git: Missing validation decoding Index v4 files leads to panic
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 14efda90a282e56ffeb5259bf588ea2da766a47fe149df4e2153bd293e4ed048
- Ingested
- 02 Nov 2026, 22:59:46 UTC
- Source record
- Official CVE record