Description
The 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 golang.org/x/text/transform.String.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | golang-golang-x-text | 0.3.3-1 | — |
| Debian 13 | golang-golang-x-text | 0.3.3-1 | — |
| Debian 12 | golang-golang-x-text | 0.3.3-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | golang-golang-x-text | 0.3.7-1ubuntu0.20.04.1 | USN-5873-1 |
| Ubuntu 20.04 LTS | golang-golang-x-text | 0.3.2-4ubuntu0.1 | USN-5873-1 |
| Ubuntu 20.04 LTS | golang-x-text | No fix yet | — |
| Ubuntu 18.04 LTS | golang-x-text | 0.0~git20170627.0.6353ef0-1ubuntu2.1 | USN-5873-1 |
| Ubuntu 16.04 LTS | golang-x-text | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8 | buildah +1 | 1.15.1-2.module+el8.3.0+8221+97165c3f | RHSA-2020:4694 |
| RHEL 8 | cockpit-podman | 18.1-2.module+el8.3.0+8221+97165c3f | RHSA-2020:4694 |
| RHEL 8 | conmon | 2:2.0.20-2.module+el8.3.0+8221+97165c3f | RHSA-2020:4694 |
| RHEL 8 | container-selinux | 2:2.144.0-1.module+el8.3.0+8221+97165c3f | RHSA-2020:4694 |
| RHEL 8 | containernetworking-plugins | 0.8.6-2.module+el8.3.0+8221+97165c3f | RHSA-2020:4694 |
| RHEL 8 | crit +2 | 3.14-2.module+el8.3.0+8221+97165c3f | RHSA-2020:4694 |
| RHEL 8 | crun | 0.14.1-2.module+el8.3.0+8221+97165c3f | RHSA-2020:4694 |
| RHEL 8 | delve | 1.3.2-3.module+el8.2.0+5581+896cb53e | RHSA-2020:3665 |
| RHEL 8 | fuse-overlayfs +1 | 1.1.2-3.module+el8.3.0+8221+97165c3f | RHSA-2020:4694 |
| RHEL 8 | golang +7 | 1.13.15-1.module+el8.2.0+7662+fa98b974 | RHSA-2020:3665 |
| RHEL 8 | libslirp +1 | 4.3.1-1.module+el8.3.0+8221+97165c3f | RHSA-2020:4694 |
| RHEL 8 | podman +4 | 2.0.5-5.module+el8.3.0+8221+97165c3f | RHSA-2020:4694 |
| RHEL 8 | python-podman-api | 1.2.0-0.2.gitd0a45fe.module+el8.3.0+8221+97165c3f | RHSA-2020:4694 |
| RHEL 8 | runc | 1.0.0-68.rc92.module+el8.3.0+8221+97165c3f | RHSA-2020:4694 |
| RHEL 8 | skopeo +2 | 1:1.1.1-3.module+el8.3.0+8221+97165c3f | RHSA-2020:4694 |
| RHEL 8 | slirp4netns | 1.1.4-2.module+el8.3.0+8221+97165c3f | RHSA-2020:4694 |
| RHEL 8 | toolbox | 0.0.8-1.module+el8.3.0+8221+97165c3f | RHSA-2020:4694 |
| RHEL 8 | udica | 0.2.2-1.module+el8.3.0+8221+97165c3f | RHSA-2020:4694 |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Service Mesh 1 | ior +10 | 1.1.6-1.el8 | RHSA-2020:3369 |
| Red Hat Service Mesh 1 | kiali | v1.12.10.redhat2-1.el7 | RHSA-2020:3369 |
| Red Hat Service Mesh 1 | servicemesh-grafana +1 | 6.4.3-13.el8 | RHSA-2020:3369 |
| Red Hat Service Mesh 1 | servicemesh-operator | 1.1.6-2.el8 | RHSA-2020:3369 |
| Red Hat Service Mesh 1 | servicemesh-prometheus | 2.14.0-14.el8 | RHSA-2020:3369 |
| Red Hat Rhel Extras Other 7 | buildah | 1.11.6-12.el7_9 | RHSA-2020:5055 |
| Red Hat Rhel Extras Other 7 | podman +1 | 1.6.4-26.el7_9 | RHSA-2020:5056 |
| Red Hat Rhel Extras Other 7 | skopeo +1 | 1:0.1.40-12.el7_9 | RHSA-2020:5054 |
| Red Hat Openshift Container Storage 4 | mcg | 5.6.0-39.2279a46.5.6.el8 | RHSA-2020:5606 |
| Red Hat OpenShift 4 | jenkins-2-plugins | 4.6.1601368321-1.el8 | RHSA-2020:4297 |
| Red Hat OpenShift 4 | openshift-clients +1 | 4.6.0-202010081244.p0.git.3794.4743d24.el7 | RHSA-2020:4297 |
| Red Hat OpenShift 4 | podman +3 | 1.9.3-3.rhaos4.6.el8 | RHSA-2020:4297 |
| Red Hat OpenShift 4 | runc | 1.0.0-81.rhaos4.6.git5b757d4.el7 | RHSA-2020:4297 |
| Red Hat OpenShift 4 | skopeo +2 | 1:1.1.1-2.rhaos4.6.el8 | RHSA-2020:4297 |
| Red Hat Devtools 2020 | go-toolset-1.13 +2 | 1.13.15-1.el7 | RHSA-2020:4214 |
| Red Hat Devtools 2020 | go-toolset-1.13-golang +6 | 1.13.15-3.el7 | RHSA-2020:4214 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 8 | libslirp +1 | 4.3.1-1.module_el8.6.0+2876+9ed4eae2 | ALSA-2020:4694 |
| AlmaLinux 8 | python-podman-api | 1.2.0-0.2.gitd0a45fe.module_el8.5.0+108+00865455 | ALSA-2020:4694 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 8 | libslirp | 4.3.1-1.module+el8.4.0+556+40122d08 | RLSA-2020:4694 |
| Rocky Linux 8 | python-podman-api | 1.2.0-0.2.gitd0a45fe.module+el8.4.0+559+c02fa3b2 | RLSA-2020:4694 |
| Rocky Linux 8 | toolbox | 0.0.8-1.module+el8.4.0+556+40122d08 | RLSA-2020:4694 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | golang +6 | 1.13.15-1.amzn2.0.1 | ALAS2-2020-1494 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | buildah | 1.41.4-2 | — |
| Azure Linux 3 | podman | 5.6.1-2 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 8 | buildah +1 | 1.15.1-2.0.1.module+el8.3.0+7866+f387f528 | ELSA-2020-4694 |
| Oracle Linux 8 | cockpit-podman | 18.1-2.module+el8.3.0+7866+f387f528 | ELSA-2020-4694 |
| Oracle Linux 8 | conmon | 2:2.0.20-2.module+el8.3.0+7866+f387f528 | ELSA-2020-4694 |
| Oracle Linux 8 | container-selinux | 2:2.144.0-1.module+el8.3.0+7866+f387f528 | ELSA-2020-4694 |
| Oracle Linux 8 | containernetworking-plugins | 0.8.6-2.module+el8.3.0+7866+f387f528 | ELSA-2020-4694 |
| Oracle Linux 8 | crit +2 | 3.14-2.module+el8.3.0+7866+f387f528 | ELSA-2020-4694 |
| Oracle Linux 8 | crun | 0.14.1-2.module+el8.3.0+7866+f387f528 | ELSA-2020-4694 |
| Oracle Linux 8 | delve | 1.3.2-3.0.1.module+el8.2.0+5587+55f012d0 | ELSA-2020-3665 |
| Oracle Linux 8 | fuse-overlayfs +1 | 1.1.2-3.module+el8.3.0+7866+f387f528 | ELSA-2020-4694 |
| Oracle Linux 8 | golang +7 | 1.13.15-1.module+el8.2.0+7788+3ff8dc7f | ELSA-2020-3665 |
| Oracle Linux 8 | libslirp +1 | 4.3.1-1.module+el8.3.0+7866+f387f528 | ELSA-2020-4694 |
| Oracle Linux 8 | podman +4 | 2.0.5-5.0.1.module+el8.3.0+7866+f387f528 | ELSA-2020-4694 |
| Oracle Linux 8 | python-podman-api | 1.2.0-0.2.gitd0a45fe.module+el8.3.0+7866+f387f528 | ELSA-2020-4694 |
| Oracle Linux 8 | runc | 1.0.0-68.rc92.module+el8.3.0+7866+f387f528 | ELSA-2020-4694 |
| Oracle Linux 8 | skopeo +2 | 1:1.1.1-3.0.1.module+el8.3.0+7866+f387f528 | ELSA-2020-4694 |
| Oracle Linux 8 | slirp4netns | 1.1.4-2.module+el8.3.0+7866+f387f528 | ELSA-2020-4694 |
| Oracle Linux 8 | udica | 0.2.2-1.module+el8.3.0+7866+f387f528 | ELSA-2020-4694 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | k3d +2 | 5.6.0-r11 | — |
| Wolfi rolling | vt-cli | 1.0.0-r3 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | golang.org/x/text | < 0.3.3 | 0.3.3 | GHSA-5rcv-m4m3-hfh7 |
Advisories 18
- ALSA-2020:4694 Moderate: container-tools:rhel8 security, bug fix, and enhancement update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2020:3369 Red Hat Security Advisory: Red Hat OpenShift Service Mesh security update Red Hat Security Advisories (RHSA) · Oct 19, 2026
- WID-SEC-2026-4026 Red Hat OpenShift: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 18, 2026
- RHSA-2020:5606 Red Hat Security Advisory: Red Hat OpenShift Container Storage 4.6 bug fix and enhancement update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- RHSA-2020:5056 Red Hat Security Advisory: podman security and bug fix update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- RHSA-2020:5054 Red Hat Security Advisory: skopeo security update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- RHSA-2020:5055 Red Hat Security Advisory: buildah security update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- RHSA-2020:4694 Red Hat Security Advisory: container-tools:rhel8 security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- RHSA-2020:4297 Red Hat Security Advisory: OpenShift Container Platform 4.6.1 package security update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- RHSA-2020:4214 Red Hat Security Advisory: go-toolset-1.13-golang security and bug fix update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- RHSA-2020:3665 Red Hat Security Advisory: go-toolset:rhel8 security update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- WID-SEC-2022-0510 IBM DB2: Mehrere Schwachstellen BSI CERT-Bund (WID) · May 18, 2026
- USN-5873-1 golang-golang-x-text, golang-x-text vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- RLSA-2020:4694 Moderate: container-tools:rhel8 security, bug fix, and enhancement update Rocky Linux Security Advisories · Feb 4, 2026
- WID-SEC-2023-2981 Red Hat OpenShift: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 21, 2023
- ELSA-2020-4694 Moderate: container-tools:ol8 security, bug fix, and enhancement update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Nov 10, 2020
- ALAS2-2020-1494 Moderate: golang security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Sep 30, 2020
- ELSA-2020-3665 Moderate: go-toolset:ol8 security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Sep 11, 2020