Vulnerability · Published Jul 21, 2026 · Assigned by Go

CVE-2026-56852Infinite loop on invalid input in golang.org/x/text

High 7.5

In plain English

A high-severity infinite loop in golang.org/x/text/unicode/norm from golang.org/x/text. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 41% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.5%top 58.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Public PoC

Official description

A norm.Iter can enter an infinite loop when handling input containing invalid UTF-8 bytes.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:10podman7:5.8.2-9.el10_2.alma.1ALSA-2026:70201
AlmaLinux:10podman-docker7:5.8.2-9.el10_2.alma.1ALSA-2026:70201
AlmaLinux:10podman-remote7:5.8.2-9.el10_2.alma.1ALSA-2026:70201
AlmaLinux:10podman-tests7:5.8.2-9.el10_2.alma.1ALSA-2026:70201
Debian:12golang-golang-x-textno fix listedDEBIAN-CVE-2026-56852
Debian:13golang-golang-x-textno fix listedDEBIAN-CVE-2026-56852
Debian:14golang-golang-x-text0.40.0-1DEBIAN-CVE-2026-56852
Gogolang.org/x/text0.39.0GO-2026-5970
Rocky Linux:10podman7:5.8.2-9.el10_2RLSA-2026:70201
Ubuntu:22.04:LTSgolang-golang-x-textno fix listedUBUNTU-CVE-2026-56852
Ubuntu:24.04:LTSgolang-golang-x-textno fix listedUBUNTU-CVE-2026-56852
Ubuntu:26.04:LTSgolang-golang-x-textno fix listedUBUNTU-CVE-2026-56852
Ubuntu:26.10golang-golang-x-textno fix listedUBUNTU-CVE-2026-56852

Affected products (as reported)

VendorProductVersions
golang.org/x/text golang.org/x/text/unicode/norm 0 – before 0.39.0

Weakness: CWE-835 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References