CVE-2026-33762

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

LOW
2.8
CVSS Score
Published: March 31, 2026 at 01:47 PM UTC
Updated: July 24, 2026 at 09:20 PM UTC
2 products affected across 2 vendorsGo GitGit Project Go Git

Using go-git by go-git?

Get instant alerts when new vulnerabilities affect go-git - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
LOW2.8
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 5.17.1
Affected range stops below 5.17.1, so it looks safe — our inference, not a vendor statement
v < 5.17.1
Affected range stops below 5.17.1, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (2)

x_refsource_CONFIRMVendor Advisory
Source: cverecord
https://github.com/go-git/go-git/security/advisories/GHSA-gm2x-2g9h-ccm8
x_refsource_MISCProductRelease Notes
Source: cverecord
https://github.com/go-git/go-git/releases/tag/v5.17.1

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

2.8LOWGitHub_M
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
LOW
Vector?

Quick Info

StatusANALYZED
CWE
CWE-129

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card