CVE-2026-39821
No exploitation reported by the sources we read.
- Published2026-05-22
- Fixed in0.55.0
- WeaknessCWE-1289
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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".
Timeline
dates in UTC- 2026-05-2216:16CVE publishedNVD
Observed activity
isMalicious corpus · updated 2026-10-23 18:48 UTCBlock these indicators
- Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2026-39821?format=txt
- CSV export: https://api.ismalicious.com/edl/cve/CVE-2026-39821?format=csv
- TAXII collection of exploited CVEs
- The EDL and CSV take an API key on the Pro plan.
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 0.55 | < 0.55.0 | 0.55.0 | NVD · OSV |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 1.25 | < 1.25.13 | 1.25.13 | OSV |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- delveAlmaLinux:8all versions · fixed in 1.26.1-1.module_el8.10.0+4223+bd807c2e
- git-lfsAlmaLinux:10all versions · fixed in 3.7.1-5.el10_2.5
- git-lfsAlmaLinux:9all versions · fixed in 3.7.1-4.el9_8.1
- git-lfsAlmaLinux:8all versions · fixed in 3.4.1-11.el8_10
- go-fdo-serverAlmaLinux:10all versions · fixed in 1.0.1-2.el10_2.3and 3 other packages
- golangAlmaLinux:10all versions · fixed in 1.26.5-1.el10_2.alma.1and 7 other packages
- golangAlmaLinux:9all versions · fixed in 1.26.5-1.el9_8and 7 other packages
- golangAlmaLinux:8all versions · fixed in 1.26.5-1.module_el8.10.0+4223+bd807c2eand 7 other packages
12 more package ranges on OSV.dev
Vendor advisories
golang.org/x/net/idna: golang: net/http: golang.org/x/net/idna: Privilege escalation via incorrect Punycode label processing
rhai/assisted-installer-rhel9 as a component of Assisted Installer for Red Hat OpenShift Container Platform 2 · cert-manager/cert-manager-operator-rhel9 as a component of cert-manager Operator for Red Hat OpenShift · compliance/openshift-compliance-operator-bundle as a component of Compliance Operator · +146 more
Red Hat Security Advisory: RHOAI 2.25.12 - Red Hat OpenShift AI
Red Hat Security Advisory: OpenShift Container Platform 4.22.18 packages and security update
Red Hat Security Advisory: RHOAI 3.4.5 - Red Hat OpenShift AI
Red Hat Security Advisory: OpenShift Container Platform 4.16.73 packages and security update
Red Hat Security Advisory: OpenShift Container Platform 4.18.57 bug fix and security update
175 more advisories
Fix
- Update Golang net to 0.55.0
- Vendor fix Red Hat Product Security RHSA-2026:87410 · 3 productsFor Red Hat OpenShift AI 2.25.12 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this errata update: https://docs.redhat.com/en/documentation/red_hat_openshift_ai/
- Vendor fix Red Hat Product Security RHSA-2026:79150 · 10 productsFor OpenShift Container Platform 4.22 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.redhat.com/en/documentation/openshift_container_platform/4.…
- Vendor fix Red Hat Product Security RHSA-2026:84734 · 19 productsFor Red Hat OpenShift AI 3.4.5 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this errata update: https://docs.redhat.com/en/documentation/red_hat_openshift_ai/
- Vendor fix Red Hat Product Security RHSA-2026:77611 · 10 productsFor OpenShift Container Platform 4.16 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.redhat.com/en/documentation/openshift_container_platform/4.…
- Vendor fix Red Hat Product Security RHSA-2026:79039 · 4 productsFor OpenShift Container Platform 4.18 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.redhat.com/en/documentation/openshift_container_platform/4.…
- Vendor fix Red Hat Product Security RHSA-2026:77552 · 4 productsFor OpenShift Container Platform 4.17 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.redhat.com/en/documentation/openshift_container_platform/4.…
Advisories and patches
- pkg.go.devVendor Advisory
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof-of-concept repositories
- none listed PoC-in-GitHub
Sources
- NVDCVE recordread 2026-10-23
- CISA-ADPSSVC decisionnone2026-05-23
- OpenCVESSVC decisionnone—
- CISA-ADPCVSS 3.19.62026-05-22
- CNACVSS 3.18.2read 2026-10-23
- CISA-ADPweakness (CWE)CWE-12892026-05-22
- CNAweakness (CWE)CWE-1289read 2026-10-23
- FIRST EPSSEPSS score0.7 %2026-10-22
- OSVaffected packages—
- Microsoft MSRCadvisory—
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N
- Published
- 2026-05-22
- Last Modified
- 2026-09-17
- NVD status
- Modified
- MSRC Title
- Invoking failure to reject ASCII-only Punycode-encoded labels in golang.org/x/net/idna
Frequently asked questions
What is CVE-2026-39821?
Is CVE-2026-39821 actively exploited?
What is the CVSS score for CVE-2026-39821?
Running golang.org/x/net/idna? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.