ADVISORIES

Vulnerability

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. Index calculation is mishandled. If parsing untrusted user input, this can be used as a vector for a denial-of-service attack.

41 advisories report this vulnerability, across 9 ecosystems.

Advisories in Ubuntu

  • UBUNTU-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. Index calculation is mishandled. If parsing untrusted user input, this can be used as…

    CVE-2021-38561 Ubuntu Updated 24 November 2026
  • USN-5873-1

    golang-golang-x-text, golang-x-text vulnerabilities

    CVE-2020-14040CVE-2020-28851CVE-2020-28852CVE-2021-38561 Ubuntu Updated 24 November 2026

References