# golang.org/x/text (Go) vulnerabilities

5 known vulnerabilities (4 high), with the versions each affects and the releases that fix them.

## At a glance

- Latest release: not known (cve.now hasn't read this package's releases)
- Newest unaffected release: not known without release data
- Registry: https://pkg.go.dev/golang.org/x/text

## Advisories (5)

### [CVE-2026-56851](https://cve.now/CVE-2026-56851): Panic parsing crafted input in x/text/secure/precis in golang.org/x/text

- Severity: High 7.5
- Published: Oct 7, 2026
- Affected: fixed in 0.41.0.

### [CVE-2026-56852](https://cve.now/CVE-2026-56852): Infinite loop on invalid input in golang.org/x/text

- Severity: High 7.5
- Published: Jul 21, 2026
- Affected: fixed in 0.39.0.

### [CVE-2021-38561](https://cve.now/CVE-2021-38561): 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.

- Severity: High 7.5
- Published: Dec 26, 2022
- Affected: fixed in 0.3.7.

### [CVE-2022-32149](https://cve.now/CVE-2022-32149): Denial of service via crafted Accept-Language header in golang.org/x/text/language

- Severity: High 7.5
- Published: Oct 14, 2022
- Affected: fixed in 0.3.8.

### [CVE-2020-14040](https://cve.now/CVE-2020-14040): 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…

- Severity: Unrated
- Published: Jun 17, 2020
- Affected: fixed in 0.3.3.

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/packages/go/golang.org/x/text
Site guide for agents: https://cve.now/llms.txt
Uses NVD data; not endorsed by NVD.
