CVE-2026-56852

NameCVE-2026-56852
DescriptionA norm.Iter can enter an infinite loop when handling input containing invalid UTF-8 bytes.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1142674

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
golang-golang-x-text (PTS)bullseye0.3.6-1vulnerable
bookworm0.7.0-1vulnerable
trixie0.22.0-1vulnerable
forky, sid0.40.0-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
golang-golang-x-textsource(unstable)0.40.0-11142674

Notes

[bookworm] - golang-golang-x-text <postponed> (Limited support, minor issue; DoS only, reachable via norm.Iter with NFC/NFKC on unvalidated UTF-8)
[bullseye] - golang-golang-x-text <postponed> (Limited support, minor issue; DoS only, reachable via norm.Iter with NFC/NFKC on unvalidated UTF-8)
https://github.com/golang/go/issues/80142
Fixed by: https://github.com/golang/text/commit/5ae8e578e495731553eddba11b2d0e86c91a00ce (v0.39.0)

Search for package or bug name: Reporting problems