CVE-2026-33762
lowpriority · track · 0EPSS 0.002 · 4 %ileEUFRRUUSEPSS · scored 2026-10-27
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (31)
Products and version ranges known to be affected.
advisories (3)
Vendor and ecosystem advisories describing this.
- GHSA-gm2x-2g9h-ccm8go-git missing validation decoding Index v4 files leads to panic2026-03-30ghsa · osvUS
### Impact `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. An attacker able to supply a crafted `.git/index` file can cause applications using go-git to panic while reading the index. If the application does not recover from panics, this results in process termination, leading to a denial-of-service (DoS) condition. Exploitation requires the ability to modify or inject a Git index file within the local repository in disk. This typically implies write access to the `.git` directory. ### Patches Users should upgrade to `v5.17.1`, or the latest `v6` [pseudo-version](https://go.dev/ref/mod#pseudo-versions), in order to mitigate this vulnerability. ### Credit go-git maintainers thank @kq5y for finding and reporting this issue privately to the `go-git` project.
- CERTFR-2026-AVI-1385Multiples vulnérabilités dans les produits VMwareFrançais2026-10-26vendor · certfrFR
- GO-2026-4909Missing validation decoding Index v4 files leads to panic in github.com/go-git/go-git2026-04-07vendor · osvUS
Missing validation decoding Index v4 files leads to panic in github.com/go-git/go-git
also known as (5)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (7)
External citations — patches, advisories, analysis.
- https://github.com/go-git/go-git/releasesPatchcnnvd
- https://github.com/go-git/go-git/releases/tag/v5.17.1cnnvd
- https://github.com/go-git/go-git/security/advisories/GHSA-gm2x-2g9h-ccm8cnnvd
- https://github.com/go-git/go-git/releases/tag/v5.17.1enisa_euvd
- https://github.com/go-git/go-git/security/advisories/GHSA-gm2x-2g9h-ccm8enisa_euvd
- https://github.com/go-git/go-git/releases/tag/v5.17.1ProductRelease Notesnvd
- https://github.com/go-git/go-git/security/advisories/GHSA-gm2x-2g9h-ccm8Vendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan