CVE-2020-28852
NixOS vulnerability analysis and mitigation

Overview

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. The vulnerability, identified as CVE-2020-28852, was discovered in late 2020 and affects the x/text/language component which is supposed to be able to parse an HTTP Accept-Language header (NVD, Ubuntu).

Technical details

The vulnerability has been assigned a CVSS v3.1 Base Score of 7.5 (HIGH) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. The issue specifically occurs in the language.ParseAcceptLanguage function when processing BCP 47 language tags, resulting in a panic with the error message "slice bounds out of range [9:8]" (Github Issue, NetApp Advisory).

Impact

The vulnerability can lead to a Denial of Service (DoS) condition when processing malformed BCP 47 language tags. Since the vulnerability affects the language parsing functionality, any application using the affected x/text package for processing Accept-Language headers could be impacted (NetApp Advisory).

Exploitability

The vulnerability is remotely exploitable without requiring any authentication or user interaction. The attack complexity is considered low, making it relatively straightforward to exploit. The vulnerability has been publicly discussed, though there are no known reports of exploitation in the wild (NVD).

Mitigation and workarounds

The vulnerability was fixed in Go x/text version 0.3.5. Users are advised to upgrade to this version or later to address the issue. Various Linux distributions have also released patches for their respective packages, including Ubuntu which has provided fixes for affected versions in their repositories (Ubuntu Security Notice).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-75874CRITICAL10
  • NixOS logoNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesAug 18, 2026
CVE-2026-74990CRITICAL9.8
  • NixOS logoNixOS
  • thunderbird
NoYesAug 18, 2026
CVE-2026-74989CRITICAL9.8
  • NixOS logoNixOS
  • thunderbird
NoYesAug 18, 2026
CVE-2026-74988CRITICAL9.8
  • NixOS logoNixOS
  • thunderbird
NoYesAug 18, 2026
CVE-2026-74987CRITICAL9.8
  • NixOS logoNixOS
  • MozillaFirefox
NoYesAug 18, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management