CVE-2026-39821: Schwachstelle in Golang Net

Kritisch. 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...

CWE-1289

Ausnutzung
Nicht bestätigt
Schweregrad
9,6 von 10
Angriffsrisiko
Unbekannt
Korrektur
Korrigierte Version bekannt
Update-Frist
Keine Frist gesetzt

Details

Hinweis-ID
GHSA-w2q5-6q6x-x959
Vektor
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
Fehlerklasse
CWE-1289
Veröffentlicht
22. Mai 2026
Letzte Änderung
23. Nov. 2026

Betroffene Produkte

Betroffene Versionen und erste korrigierte Version

  • Golang Net Vor 0.55.0. Behoben in 0.55.0
  • Go standard library net/http Vor 1.25.13; Ab 1.26.0-0 bis vor 1.26.6; Ab 1.27.0-0 bis vor 1.27.0-rc.3. Behoben in 1.25.13, 1.26.6, 1.27.0-rc.3
  • Go standard library net/http/internal/http2 Vor 1.25.13; Ab 1.26.0-0 bis vor 1.26.6; Ab 1.27.0-0 bis vor 1.27.0-rc.3. Behoben in 1.25.13, 1.26.6, 1.27.0-rc.3
  • golang.org/x/net/idna Vor 0.57.0. Behoben in 0.57.0

Sicherheitshinweise

Hinweise von Herstellern und Sicherheitsstellen

Weiter