CVE-2026-39821
Critical 9.6No known exploitationFix availableInvoking failure to reject ASCII-only Punycode-encoded labels in golang.org/x/net/idna
Record last updated
CVSS score
Critical on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
No EPSS score available
CISA remediation deadline
Not in the KEV catalog
Description
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".
Weakness: CWE-1289
Patching and mitigation
- Patch status
- Fix available (source: CVE record (Go))
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- access.redhat.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| Go standard library | net/http | from 1.26.0-0 before 1.26.6 | 1.26.6 | CVE Program |
| Go standard library | net/http | from 1.27.0-0 before 1.27.0-rc.3 | 1.27.0-rc.3 | CVE Program |
| Go standard library | net/http | all versions before 1.25.13 | 1.25.13 | CVE Program |
| Go standard library | net/http/internal/http2 | from 1.26.0-0 before 1.26.6 | 1.26.6 | CVE Program |
| Go standard library | net/http/internal/http2 | from 1.27.0-0 before 1.27.0-rc.3 | 1.27.0-rc.3 | CVE Program |
| Go standard library | net/http/internal/http2 | all versions before 1.25.13 | 1.25.13 | CVE Program |
| golang | net | all versions before 0.55.0 | 0.55.0 | NIST NVD |
| golang.org/x/net | golang.org/x/net/idna | all versions before 0.57.0 | 0.57.0 | CVE Program |
Timeline
Disclosure
CVE record published by Go
Source: CVE Program (opens in a new tab)
Patch
Fix documented by CVE record (Go)
Vendor guidance and references
- https://access.redhat.com/errata/RHSA-2026:30853 (opens in a new tab)vendor-advisory, x_refsource_redhat
- https://access.redhat.com/errata/RHSA-2026:30855 (opens in a new tab)vendor-advisory, x_refsource_redhat
- https://access.redhat.com/errata/RHSA-2026:34357 (opens in a new tab)vendor-advisory, x_refsource_redhat
- https://access.redhat.com/errata/RHSA-2026:34789 (opens in a new tab)vendor-advisory, x_refsource_redhat
- https://access.redhat.com/errata/RHSA-2026:35826 (opens in a new tab)vendor-advisory, x_refsource_redhat
- https://access.redhat.com/errata/RHSA-2026:35827 (opens in a new tab)vendor-advisory, x_refsource_redhat
- https://access.redhat.com/errata/RHSA-2026:35830 (opens in a new tab)vendor-advisory, x_refsource_redhat
- https://access.redhat.com/errata/RHSA-2026:35831 (opens in a new tab)vendor-advisory, x_refsource_redhat
- https://access.redhat.com/errata/RHSA-2026:36796 (opens in a new tab)vendor-advisory, x_refsource_redhat
- https://access.redhat.com/errata/RHSA-2026:37436 (opens in a new tab)vendor-advisory, x_refsource_redhat
- https://access.redhat.com/errata/RHSA-2026:38995 (opens in a new tab)vendor-advisory, x_refsource_redhat
- https://access.redhat.com/errata/RHSA-2026:39005 (opens in a new tab)vendor-advisory, x_refsource_redhat
- https://access.redhat.com/errata/RHSA-2026:39573 (opens in a new tab)vendor-advisory, x_refsource_redhat
- https://access.redhat.com/errata/RHSA-2026:41019 (opens in a new tab)vendor-advisory, x_refsource_redhat
- https://access.redhat.com/errata/RHSA-2026:41930 (opens in a new tab)vendor-advisory, x_refsource_redhat
- https://access.redhat.com/errata/RHSA-2026:42078 (opens in a new tab)vendor-advisory, x_refsource_redhat
- https://access.redhat.com/errata/RHSA-2026:42079 (opens in a new tab)vendor-advisory, x_refsource_redhat
- https://access.redhat.com/errata/RHSA-2026:42080 (opens in a new tab)vendor-advisory, x_refsource_redhat
- https://access.redhat.com/errata/RHSA-2026:42082 (opens in a new tab)vendor-advisory, x_refsource_redhat
- https://access.redhat.com/errata/RHSA-2026:42150 (opens in a new tab)vendor-advisory, x_refsource_redhat
- https://access.redhat.com/errata/RHSA-2026:42151 (opens in a new tab)vendor-advisory, x_refsource_redhat
- https://access.redhat.com/errata/RHSA-2026:42240 (opens in a new tab)vendor-advisory, x_refsource_redhat
- https://access.redhat.com/errata/RHSA-2026:46395 (opens in a new tab)vendor-advisory, x_refsource_redhat
- https://access.redhat.com/errata/RHSA-2026:49702 (opens in a new tab)vendor-advisory, x_refsource_redhat
- https://access.redhat.com/errata/RHSA-2026:51187 (opens in a new tab)vendor-advisory, x_refsource_redhat
- https://access.redhat.com/errata/RHSA-2026:53374 (opens in a new tab)vendor-advisory, x_refsource_redhat
- https://access.redhat.com/errata/RHSA-2026:53413 (opens in a new tab)vendor-advisory, x_refsource_redhat
- https://access.redhat.com/errata/RHSA-2026:54191 (opens in a new tab)vendor-advisory, x_refsource_redhat
- https://access.redhat.com/errata/RHSA-2026:54580 (opens in a new tab)vendor-advisory, x_refsource_redhat
- https://access.redhat.com/errata/RHSA-2026:54757 (opens in a new tab)vendor-advisory, x_refsource_redhat