What’s Vulnerable › Vulnerabilities
CVE-2026-56852: Infinite loop on invalid input in golang.org/x/text
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-07-21 · updated 2026-10-24
- Weakness: CWE-835
Description
A norm.Iter can enter an infinite loop when handling input containing invalid UTF-8 bytes.
Affected products
- Golang.Org/X/Text: before 0.39.0 — fixed in 0.39.0
- golang.org/x/text/unicode/norm: before 0.39.0 — fixed in 0.39.0
How to fix
Upgrade to a fixed version: Golang.Org/X/Text 0.39.0; golang.org/x/text/unicode/norm 0.39.0. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2026-56852 or the next vulnerability affects your stack