Description
golang.org/x/text/language in golang.org/x/text before 0.3.7 can panic with an out-of-bounds read during BCP 47 language tag parsing. Index calculation is mishandled. If parsing untrusted user input, this can be used as a vector for a denial-of-service attack.
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.7-1 | — |
| Debian 13 | golang-golang-x-text | 0.3.7-1 | — |
| Debian 12 | golang-golang-x-text | 0.3.7-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | golang-golang-x-text | 0.3.7-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 |
|---|---|---|---|
| Red Hat OpenShift 4 | cri-o | 1.24.5-2.rhaos4.11.gitb007cb6.el8 | RHBA-2023:1649 |
| Red Hat OpenShift 4 | haproxy +1 | 2.2.24-3.rhaos4.11.el8 | RHBA-2023:1649 |
| Red Hat OpenShift 4 | kernel-rt +15 | 4.18.0-372.51.1.rt7.208.el8_6 | RHBA-2023:1649 |
| Red Hat OpenShift 4 | openshift +1 | 4.11.0-202304042055.p0.g8f6c8a6.assembly.stream.el8 | RHBA-2023:1649 |
| Red Hat Container Native Virtualization 4 | kubevirt +2 | 4.12.0-1057.el7 | RHSA-2023:0407 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | cni | 1.1.2-2.1 | openSUSE-SU-2024:12599-1 |
| openSUSE Tumbleweed | gitleaks | 8.18.3-1.1 | openSUSE-SU-2024:14015-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | git-lfs | 3.1.2-r3 | — |
| Alpine v3.23 | git-lfs | 3.1.2-r3 | — |
| Alpine v3.22 | git-lfs | 3.1.2-r3 | — |
| Alpine v3.21 | git-lfs | 3.1.2-r3 | — |
| Alpine v3.20 | git-lfs | 3.1.2-r3 | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | git-lfs | 3.1.2-r3 | — |
| Alpine v3.18 | git-lfs | 3.1.2-r3 | — |
| Alpine v3.17 | git-lfs | 3.1.2-r3 | — |
| Alpine v3.16 | git-lfs | 3.1.2-r3 | — |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | buildah | 1.41.4-2 | — |
| Azure Linux 3 | cni | 1.1.2-2 | — |
| Azure Linux 3 | containernetworking-plugins | 1.6.1-4 | — |
| Azure Linux 3 | multus | 4.0.2-1 | — |
| Azure Linux 3 | podman | 5.6.1-2 | — |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | dynamic-localpv-provisioner | 3.4.1-r3 | — |
| Wolfi rolling | gitleaks | 8.18.2-r1 | — |
| Wolfi rolling | hey | 0.1.4-r3 | — |
| Wolfi rolling | k3d +2 | 5.6.0-r11 | — |
| Wolfi rolling | terraform-provider-sendgrid | 1.0.1-r1 | — |
| Wolfi rolling | vt-cli | 1.0.0-r3 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | golang.org/x/text | < 0.3.7 | 0.3.7 | GHSA-ppp9-7jff-5vj2 |
Advisories 10
- RHSA-2023:0407 Red Hat Security Advisory: OpenShift Virtualization 4.12.0 RPMs security update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- RHBA-2023:1649 Red Hat Bug Fix Advisory: OpenShift Container Platform 4.11.35 packages and security update Red Hat Security Advisories (RHSA) · Oct 16, 2026
- USN-5873-1 golang-golang-x-text, golang-x-text vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- openSUSE-SU-2024:14015-1 gitleaks-8.18.3-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:12599-1 cni-1.1.2-2.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2023-2229 Splunk Splunk Enterprise: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 18, 2025
- WID-SEC-2022-1375 JFrog Artifactory: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 12, 2025
- WID-SEC-2023-0204 Red Hat OpenShift: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 28, 2024
- WID-SEC-2022-0707 Red Hat OpenShift (Logging Subsystem): Schwachstelle ermöglicht Denial of Service BSI CERT-Bund (WID) · Aug 1, 2023
- WID-SEC-2022-0515 IBM Spectrum Protect: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jun 8, 2023