VDB
KO

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

Go / golang.org/x/text
Introduced in: 0 Fixed in: 0.39.0
Fix go get golang.org/x/text@v0.39.0

References