—
GO-2026-5970
Infinite loop on invalid input in golang.org/x/text
Quick fix
GO-2026-5970 — golang.org/x/text: upgrade to the fixed version with the command below.
go get golang.org/x/text@v0.39.0 Details
A norm.Iter can enter an infinite loop when handling input containing invalid UTF-8 bytes.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://go.dev/issue/80142 [REPORT]
- https://go.dev/cl/794100 [FIX]