CVE-2026-39821: The ToASCII and ToUnicode functions incorrectly accept Punycode-encoded labels that decode to an ASCII-only la
CVE-2026-39821 is a critical-severity flaw (CVSS 9.6) affecting net. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 pro
Why this priority
- Critical severity
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.6 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 1.8% (top 21%) |
| CISA exploited list | No |
| Weakness | CWE-1289 |
| Published | 2026-05-22 |
| Last modified | 2026-09-17 |
Last updated 2026-09-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Advisories and coverage
Official advisories
- AlmaLinux Errata: [ALSA-2026:37435] Important: golang security, bug fix, and enhancement update 2026-08-07
- AlmaLinux Errata: [ALSA-2026:35829] Important: grafana-pcp security update 2026-07-08
- AlmaLinux Errata: [ALSA-2026:34359] Important: opentelemetry-collector security update 2026-07-07
- AlmaLinux Errata: [ALSA-2026:30854] Important: git-lfs security update 2026-06-30
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-39821?
net: upgrade to 0.55.0. Exact commands for each OS are on this page.
Is CVE-2026-39821 being exploited?
CVE-2026-39821 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-39821 affect?
CVE-2026-39821 affects net. Severity is critical (CVSS 9.6). 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
How urgent is CVE-2026-39821?
Priority 53/100. Critical severity
Software pages
Related CVEs
- CVE-2026-25680 MEDIUM 6.5 UPGRADE Parsing arbitrary HTML can consume excessive CPU time, possibly leading to denial of service.
- CVE-2026-25681 MEDIUM 6.1 UPGRADE Parsing arbitrary HTML which is then rendered using Render can result in an unexpected HTML tree
- CVE-2026-27136 MEDIUM 6.1 UPGRADE Parsing arbitrary HTML which is then rendered using Render can result in an unexpected HTML tree
- CVE-2026-42502 MEDIUM 6.1 UPGRADE Parsing arbitrary HTML which is then rendered using Render can result in an unexpected HTML tree
- CVE-2026-42506 MEDIUM 6.1 UPGRADE Parsing arbitrary HTML which is then rendered using Render can result in an unexpected HTML tree