golang.org/x/text Known Vulnerabilities & Fixes
golang.org/x/text has 5 known security vulnerabilities in Go Modules. Upgrade to version 0.41.0 or later to resolve all known issues. Data sourced from OSV, enriched with EPSS exploit probability and CISA KEV.
Low Immediate Risk
No actively exploited vulnerabilities detected. Monitor and update in your next maintenance window.
Recommended safe version: 0.41.0
Upgrading to 0.41.0 or later resolves all 5 known vulnerabilities in golang.org/x/text. Run: go get golang.org/x/text@v0.41.0
Is golang.org/x/text in your project?
Check if you're affected and upgrade to 0.41.0 to stay secure.
Security Summary
- 5 affected version ranges have been identified across these 5 advisories.
- 100% of known issues have a published fixed version.
- Highest exploit-probability (EPSS) score for golang.org/x/text: 1.9%.
- Remediation: go get -u golang.org/x/text
Vulnerabilities
5 unique vulnerabilities — sorted by exploitation risk (KEV → EPSS → CVSS). Click a CVE/GHSA ID for full details. First disclosed May 18, 2021, most recently Oct 7, 2026 (1968 days apart).
| CVE / GHSA | Severity |
|---|---|
| CVE-2020-14040 golang.org/x/text Infinite loop
| MEDIUM |
| CVE-2022-32149 golang.org/x/text/language Denial of service via crafted Accept-Language header
| HIGH |
| CVE-2021-38561 golang.org/x/text/language Out-of-bounds Read vulnerability
| HIGH |
| CVE-2026-56852 Infinite loop on invalid input in golang.org/x/text
| UNKNOWN |
| CVE-2026-56851 Panic parsing crafted input in x/text/secure/precis in golang.org/x/text
| UNKNOWN |
About This Data
Vulnerability data for golang.org/x/text is sourced from the Open Source Vulnerability (OSV) database, aggregating reports from GitHub Advisory Database, NIST NVD, and ecosystem-specific sources.
CVSS (Common Vulnerability Scoring System) scores reflect exploitability and impact. EPSS (Exploit Prediction Scoring System) scores indicate the probability of exploitation within the next 30 days. Vulnerabilities marked with are listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
Related Go Modules Packages
Other packages in this ecosystem, ranked by shared vulnerabilities where available.
Check Your Dependencies
Scan your project to check if you're using a vulnerable version of golang.org/x/text.