DescriptionThe x/text package before 0.3.3 for Go has a vulnerability in encoding/unicode that could lead to the UTF-16 decoder entering an infinite loop, causing the program to crash or run out of memory. An attacker could provide a single byte to a UTF16 decoder instantiated with UseBOM or ExpectBOM to trigger an infinite loop if the String function on the Decoder is called, or the Decoder is passed to
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs964271, 964272

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
golang-golang-x-text (PTS)bullseye0.3.6-1fixed
sid, trixie0.10.0-1fixed
golang-x-text (PTS)buster0.3.0-2vulnerable

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs


[buster] - golang-x-text <postponed> (Limited support, minor issue)
[stretch] - golang-x-text <no-dsa> (Minor issue)!topic/golang-announce/bXVeAmGOqz0

Search for package or bug name: Reporting problems