GHSA-w2q5-6q6x-x959 · Severity: critical — The ToASCII and ToUnicode functions incorrectly accept Punycode-encoded labels that decode to an...
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".
Conclusion & alert: CVE-2026-39821 is rated Moderate Risk (44/100): CVSS Critical severity, with low exploitation likelihood (EPSS 0.05%). Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-05-28 | 0.04% | 0.05% | +0.01% |
| 2 | 2026-05-23 | — | 0.04% | — |
Full EPSS history (2 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 9.6 | 3.1 | CRITICAL |
|
3.1 | 5.8 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 |
GHSA-w2q5-6q6x-x959 · Severity: critical — The ToASCII and ToUnicode functions incorrectly accept Punycode-encoded labels that decode to an...
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2026-39821 not yet assigned priority: Debian including 1 source packages (golang-golang-x-net), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): open 3, resolved 2. | https://security-tracker.debian.org/tracker/CVE-2026-39821 |
suse
|
high | — | https://www.suse.com/security/cve/CVE-2026-39821/ |
ubuntu
|
medium | CVE-2026-39821 medium priority: Ubuntu including 1 source packages (golang-golang-x-net-dev), 8 status rows across 8 suites (bionic, focal, jammy, noble, questing, resolute, upstream, xenial): DNE 4, not-affected 2, released 2. | https://ubuntu.com/security/CVE-2026-39821 |
| URL | Tags |
|---|---|
| https://go.dev/cl/767220 | Issue Tracking |
| https://go.dev/issue/78760 | Issue Tracking |
| https://groups.google.com/g/golang-announce/c/iI-mYSI0lu8 | Mailing List |
| https://pkg.go.dev/vuln/GO-2026-5026 | Vendor Advisory |