CVE-2026-33762

CVE-2026-33762 is a low-severity vulnerability in Go-git Project Go-git with a CVSS 3.x base score of 2.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-129.

Key facts

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.

Frequently asked questions

What is CVE-2026-33762?
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.
How severe is CVE-2026-33762?
CVE-2026-33762 has a CVSS 3.x base score of 2.8, rated low severity. It is exploitable over local access with low attack complexity, requires low privileges and user interaction. Impact on confidentiality is none, integrity none, and availability low.
Is CVE-2026-33762 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (5th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2026-33762?
CVE-2026-33762 affects Go-git Project Go-git. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2026-33762?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
Does CVE-2026-33762 have an EU (EUVD) identifier?
Yes. CVE-2026-33762 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-17443.
When was CVE-2026-33762 published?
CVE-2026-33762 was published on 2026-03-31 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Go-git Project Go-git

All CVEs affecting Go-git Project Go-git →

Other CWE-129 (Improper Validation of Array Index) vulnerabilities

Browse all CWE-129 (Improper Validation of Array Index) vulnerabilities →