CVE-2020-28852: Golang Text
High severity, CVSS 7.5. EPSS: 1.7% probability of exploitation activity in the next 30 days.
In x/text in Go before v0.3.5, a "slice bounds out of range" panic occurs in language.ParseAcceptLanguage while processing a BCP 47 tag. (x/text/language is supposed to be able to parse an HTTP Accept-Language header.)
What to do
The record states a fixed version for the versions it affects. If you run one, update to it.
- Golang Text, before 0.3.5: fixed in 0.3.5
Affected products
Published 2021-01-02. Last modified 2026-06-17.