Back to CVE records
Low 2.8Published Mar 31, 2026

CVE-2026-33762go-git: Missing validation decoding Index v4 files leads to panic

Updated under an hour ago ()

This data is behind schedule: last updated Oct 27, 2026, 5:20 PM ET. We are working on it.Behind: CVE records (cvelistV5).

Does this affect you?

It affects go-git and 1 other product. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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.

CVSS
2.8 LOW (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L
Weakness (CWE)
CWE-129
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
GitHub_M
NVD analysis
Analyzed
Record last updated
Mar 31, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
go-git go-git
go_git:go_git (from the name)
before 5.17.1
CNA record
go-git_project go-git
go-git_project:go-git
before 5.17.1
NVD

References

References

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.