golang.org/x/text/language in golang.org/x/text before 0.3.7 can panic with an out-of-bounds read during BCP…
Historical advisory recorded 24 Oct 2026 19:17:25 UTC. Read the latest advisory.
nvd · CVE-2021-38561
Publishedgolang.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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2021-38561 · CVE overview and exploitation status
nvd · CVE-2021-38561
This historical advisory does not include today's related changes. Open the latest advisory to find current connections.