Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1310 CNY

100%

CVE-2026-39821— Invoking failure to reject ASCII-only Punycode-encoded labels in golang.org/x/net/idna

AI Predicted 5.3 Difficulty: Moderate EPSS 0.05% · P16

Possible ATT&CK Techniques 1AI

T1078 · Valid Accounts

Affected Version Matrix 1

VendorProductVersion RangeStatus
golang.org/x/netgolang.org/x/net/idna< 0.55.0affected
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-39821

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Invoking failure to reject ASCII-only Punycode-encoded labels in golang.org/x/net/idna
Source: NVD (National Vulnerability Database)
Vulnerability 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".
Source: NVD (National Vulnerability Database)
CVSS Information
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Type
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Title
Google Go 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Google Go是美国谷歌(Google)公司的一种静态强类型、编译型、并发型,并具有垃圾回收功能的编程语言。 Google Go存在安全漏洞,该漏洞源于ToASCII和ToUnicode函数错误接受解码为纯ASCII标签的Punycode编码标签,可能导致权限提升。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
golang.org/x/netgolang.org/x/net/idna 0 ~ 0.55.0 -

II. Public POCs for CVE-2026-39821

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-39821

登录查看更多情报信息。

Patches & Fixes for CVE-2026-39821 (1)

Vendor Advisories for CVE-2026-39821 (3)

Same Patch Batch · golang.org/x/net · 2026-05-22 · 6 CVEs total

CVE-2026-25680Invoking denial of service when parsing arbitrary HTML in golang.org/x/net/html
CVE-2026-25681Invoking incorrect handling of character references in DOCTYPE nodes in golang.org/x/net/
CVE-2026-42502Invoking incorrect handling of HTML elements in foreign content in golang.org/x/net/html
CVE-2026-42506Invoking incorrect handling of namespaced elements in foreign content in golang.org/x/net
CVE-2026-27136Invoking duplicate attributes can cause XSS in golang.org/x/net/html

IV. Related Vulnerabilities

V. Comments for CVE-2026-39821

No comments yet


Leave a comment