CVE-2020-28851

published 2 Jan 2021 · updated 18 Feb 2026

In x/text in Go 1.15.4 an "index out of range" panic occurs in language.ParseAcceptLanguage while parsing the -u- extension. (x/text/language is supposed to be able to parse an HTTP Accept-Language header.)

7.5HighCVSS 7.5EPSS 2%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 2%. No fixed version is recorded.

In x/text in Go 1.15.4, an "index out of range" panic occurs in language.ParseAcceptLanguage while parsing the -u- extension. (x/text/language is supposed to be able to parse an HTTP Accept-Language header.)

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2020-28851 severity on Zeptric[![CVE-2020-28851](https://zeptric.io/badge/cve/CVE-2020-28851.svg)](https://zeptric.io/cve/CVE-2020-28851)