CVE-2022-32149High· 7.5▾ Twilightgolang.org/x/text/language Denial of service via crafted Accept-Language header
▾ Twilight zone — High severity, or a signal on a lesser flaw
impact 41.3 · likelihood 0.4 · exploitation 0
Need a working PoC? Pro members can cast a request and our team develops one — it lands right here.
Exploit-prediction probability, daily snapshots since Sep 12.
Disclosure to exploitation, from the record and what we observed since indexing it.
Disclosed via OSV
Last analysed / modified upstream
1.6%
1.6% → 1.8%
The BCP 47 tag parser has quadratic time complexity due to inherent aspects of its design. Since the parser is, by design, exposed to untrusted user input, this can be leveraged to force a program to consume significant time parsing Accept-Language headers. The parser cannot be easily rewritten to fix this behavior for various reasons. Instead the solution implemented in this CL is to limit the total complexity of tags passed into ParseAcceptLanguage by limiting the number of dashes in the string to 1000. This should be more than enough for the majority of real world use cases, where the number of tags being sent is likely to be in the single digits.
golang.org/x/text/language
golang.org/x/text < 0.3.8Upgrade to a patched release:
golang.org/x/text 0.3.8Connected by shared product, vendor, weakness, or advisory.
CVE-2026-56852High· 7.5Infinite loop on invalid input in golang.org/x/text
CVE-2026-97045NoneCheck all ancestor namespace transitions when rendering raw text in html in golang.org/x/net
CVE-2026-42500NonePanic when reading out of bound palette index in golang.org/x/image/bmp
CVE-2026-33812NoneExcessive memory allocation when decoding malicious SFNT in golang.org/x/image
CVE-2025-22868High· 7.5golang.org/x/oauth2 Improper Validation of Syntactic Correctness of Input vulnerability
CVE-2022-27664High· 7.5golang.org/x/net/http2 Denial of Service vulnerability