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

CVE-2026-39821

Invoking failure to reject ASCII-only Punycode-encoded labels in golang.org/x/net/idna

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

Moyen 58/100

Résumé

The ToASCII and ToUnicode functions incorrectly accept Punycode-encoded labels that decode to an ASCII-only label. For example, ToUnicode("xn--example-.com") incorrectly returns the name "example.com" rather than an error. This behavior can lead to privilege escalation in programs using the idna package. For example, a program which performs privilege checks on the ASCII hostname may reject "example.com" but permit "xn--example-.com". If that program subsequently converts the ASCII hostname to Unicode, it will inadvertently permits access to the Unicode name "example.com".

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

Produits et versions affectés

Go standard library (6 ligne(s))
Go standard library
ProduitVersionsCorrigé dansSource
net/http avant 1.25.13 (exclu) — CNA (éditeur ou attributeur)
net/http de 1.26.0-0 (inclus) à 1.26.6 (exclu) — CNA (éditeur ou attributeur)
net/http de 1.27.0-0 (inclus) à 1.27.0-rc.3 (exclu) — CNA (éditeur ou attributeur)
net/http/internal/http2 avant 1.25.13 (exclu) — CNA (éditeur ou attributeur)
net/http/internal/http2 de 1.26.0-0 (inclus) à 1.26.6 (exclu) — CNA (éditeur ou attributeur)
net/http/internal/http2 de 1.27.0-0 (inclus) à 1.27.0-rc.3 (exclu) — CNA (éditeur ou attributeur)
golang.org/x/net (1 ligne(s))
golang.org/x/net
ProduitVersionsCorrigé dansSource
golang.org/x/net/idna avant 0.57.0 (exclu) — CNA (éditeur ou attributeur)
Go (4 ligne(s))
Go
ProduitVersionsCorrigé dansSource
golang.org/x/net avant 0.57.0 (exclu) 0.57.0 OSV
stdlib avant 1.25.13 (exclu) 1.25.13 OSV
stdlib de 1.26.0-0 (inclus) à 1.26.6 (exclu) 1.26.6 OSV
stdlib de 1.27.0-0 (inclus) à 1.27.0-rc.3 (exclu) 1.27.0-rc.3 OSV
Golang (1 ligne(s))
Golang
ProduitVersionsCorrigé dansSource
Net avant 0.55.0 (exclu) — NVD

Correctif

Mise à jour — Go/stdlib 1.25.13; Go/stdlib 1.26.6; Go/stdlib 1.27.0-rc.3; Go/golang.org/x/net 0.57.0source officielle

Source : OSV

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-1281)
  3. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1286)
  4. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1333)
  5. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1366)
  6. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1376)
  7. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1385)
  8. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1486)
  9. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1625)
  10. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1663)

Avis CERT-FR

Références

Liste tronquée à 150 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:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N (CVSS 3.1, CNA:134c704f-9b21-4f2e-91b3-4a467353bcc0)
Faiblesse
CWE-1289 · Autre (CWE-1289)

Comment sont obtenues et calculées ces données