1. Accueil
  2. Vulnérabilités
  3. CVE-2026-33762

CVE-2026-33762

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

Publiée le 31 mars 2026 · modifiée le 2 nov. 2026 · Sources : NVD, CNA (éditeur ou attributeur), CERT-FR, EPSS (FIRST)

Faible 14/100

Résumé

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.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

go-git (1 ligne(s))
go-git
ProduitVersionsCorrigé dansSource
go-git Versions non précisées — CNA (éditeur ou attributeur)
Go (1 ligne(s))
Go
ProduitVersionsCorrigé dansSource
github.com/go-git/go-git/v5 avant 5.17.1 (exclu) 5.17.1 GitHub Advisory
Go-git project (1 ligne(s))
Go-git project
ProduitVersionsCorrigé dansSource
Go-git avant 5.17.1 (exclu) — NVD

Correctif

Mise à jour — Go/github.com/go-git/go-git/v5 5.17.1source officielle

Source : GitHub Advisory

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)
  2. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1385)
  3. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1486)

Avis CERT-FR

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)
Score CVSS
CNA (éditeur ou attributeur)
Faiblesse (CWE)
CNA (éditeur ou attributeur)
Vecteur CVSS
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L (CVSS 3.1, CNA:security-advisories@github.com)
Faiblesse
CWE-129 · Autre (CWE-129)

Comment sont obtenues et calculées ces données