golang.org/x/text vulnerabilities

Registry
Go
Latest
0.44.0

8 known advisories

The latest version, 0.44.0, is not affected by any of them. Projects on older versions may be.

Update to the latest version:go get golang.org/x/text@v0.44.0

Is your project on an affected golang.org/x/text?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Security advisories for golang.org/x/text

  • LowCVE-2026-56851GO-2026-66297 Oct 2026

    Panic parsing crafted input in x/text/secure/precis in golang.org/x/text

    Affected
    <0.41.0
    Fixed in
    0.41.0
  • LowCVE-2026-56852GO-2026-597014 Jul 2026

    Infinite loop on invalid input in golang.org/x/text

    Affected
    <0.39.0
    Fixed in
    0.39.0
  • HighCVE-2021-38561GHSA-ppp9-7jff-5vj226 Dec 2022

    golang.org/x/text/language Out-of-bounds Read vulnerability

    Affected
    <0.3.7
    Fixed in
    0.3.7
  • HighCVE-2022-32149GHSA-69ch-w2m2-3vjp14 Oct 2022

    golang.org/x/text/language Denial of service via crafted Accept-Language header

    Affected
    <0.3.8
    Fixed in
    0.3.8
  • LowCVE-2022-32149GO-2022-105911 Oct 2022

    Denial of service via crafted Accept-Language header in golang.org/x/text/language

    Affected
    <0.3.8
    Fixed in
    0.3.8
  • LowCVE-2021-38561GO-2021-01136 Oct 2021

    Out-of-bounds read in golang.org/x/text/language

    Affected
    <0.3.7
    Fixed in
    0.3.7
  • MediumCVE-2020-14040GHSA-5rcv-m4m3-hfh718 May 2021

    golang.org/x/text Infinite loop

    Affected
    <0.3.3
    Fixed in
    0.3.3
  • LowCVE-2020-14040GO-2020-001514 Apr 2021

    Infinite loop when decoding some inputs in golang.org/x/text

    Affected
    <0.3.3
    Fixed in
    0.3.3

Is your golang.org/x/text version vulnerable?

Which of your client projects still run an old golang.org/x/text?

NPMscan reads the go.mod in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other Go packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the Go registry.