golang.org/x/text
Activity
- Latest release
- 5d ago
- Total releases
- 50
- Cadence
- ~31 days
- Last 12 months
- 13
Details
- First release
- Sep 14, 2017
| Version | Released | |
|---|---|---|
v0.42.0
minor
|
v0.42.0
minor
Dependencies (1)
|
|
v0.41.0
minor
|
v0.41.0
minor
Dependencies (1)
|
|
v0.40.0
minor
|
v0.40.0
minor
Dependencies (1)
|
|
v0.39.0
minor
|
v0.39.0
minor
Dependencies (1)
|
|
v0.38.0
minor
1 CVE
CVE-2026-56852
GO-2026-5970
Jul 14, 2026
Infinite loop on invalid input in golang.org/x/text A norm.Iter can enter an infinite loop when handling input containing invalid UTF-8 bytes. Fixed in
0.39.0
Updated Aug 14, 2026 · Source: OSV.dev |
v0.38.0
minor
Dependencies (1)
|
|
v0.37.0
minor
1 CVE
CVE-2026-56852
GO-2026-5970
Jul 14, 2026
Infinite loop on invalid input in golang.org/x/text A norm.Iter can enter an infinite loop when handling input containing invalid UTF-8 bytes. Fixed in
0.39.0
Updated Aug 14, 2026 · Source: OSV.dev |
v0.37.0
minor
Dependencies (1)
|
|
v0.36.0
minor
1 CVE
CVE-2026-56852
GO-2026-5970
Jul 14, 2026
Infinite loop on invalid input in golang.org/x/text A norm.Iter can enter an infinite loop when handling input containing invalid UTF-8 bytes. Fixed in
0.39.0
Updated Aug 14, 2026 · Source: OSV.dev |
v0.36.0
minor
Dependencies (1)
|
|
v0.35.0
minor
1 CVE
CVE-2026-56852
GO-2026-5970
Jul 14, 2026
Infinite loop on invalid input in golang.org/x/text A norm.Iter can enter an infinite loop when handling input containing invalid UTF-8 bytes. Fixed in
0.39.0
Updated Aug 14, 2026 · Source: OSV.dev |
v0.35.0
minor
Dependencies (1)
|
|
v0.34.0
minor
1 CVE
CVE-2026-56852
GO-2026-5970
Jul 14, 2026
Infinite loop on invalid input in golang.org/x/text A norm.Iter can enter an infinite loop when handling input containing invalid UTF-8 bytes. Fixed in
0.39.0
Updated Aug 14, 2026 · Source: OSV.dev |
v0.34.0
minor
Dependencies (1)
|
|
v0.33.0
minor
1 CVE
CVE-2026-56852
GO-2026-5970
Jul 14, 2026
Infinite loop on invalid input in golang.org/x/text A norm.Iter can enter an infinite loop when handling input containing invalid UTF-8 bytes. Fixed in
0.39.0
Updated Aug 14, 2026 · Source: OSV.dev |
v0.33.0
minor
Dependencies (1)
|
|
v0.32.0
minor
1 CVE
CVE-2026-56852
GO-2026-5970
Jul 14, 2026
Infinite loop on invalid input in golang.org/x/text A norm.Iter can enter an infinite loop when handling input containing invalid UTF-8 bytes. Fixed in
0.39.0
Updated Aug 14, 2026 · Source: OSV.dev |
v0.32.0
minor
Dependencies (1)
|
|
v0.31.0
minor
1 CVE
CVE-2026-56852
GO-2026-5970
Jul 14, 2026
Infinite loop on invalid input in golang.org/x/text A norm.Iter can enter an infinite loop when handling input containing invalid UTF-8 bytes. Fixed in
0.39.0
Updated Aug 14, 2026 · Source: OSV.dev |
v0.31.0
minor
Dependencies (1)
|
|
v0.30.0
minor
1 CVE
CVE-2026-56852
GO-2026-5970
Jul 14, 2026
Infinite loop on invalid input in golang.org/x/text A norm.Iter can enter an infinite loop when handling input containing invalid UTF-8 bytes. Fixed in
0.39.0
Updated Aug 14, 2026 · Source: OSV.dev |
v0.30.0
minor
Dependencies (1)
|
|
v0.29.0
minor
1 CVE
CVE-2026-56852
GO-2026-5970
Jul 14, 2026
Infinite loop on invalid input in golang.org/x/text A norm.Iter can enter an infinite loop when handling input containing invalid UTF-8 bytes. Fixed in
0.39.0
Updated Aug 14, 2026 · Source: OSV.dev |
v0.29.0
minor
Dependencies (1)
|
|
v0.28.0
minor
1 CVE
CVE-2026-56852
GO-2026-5970
Jul 14, 2026
Infinite loop on invalid input in golang.org/x/text A norm.Iter can enter an infinite loop when handling input containing invalid UTF-8 bytes. Fixed in
0.39.0
Updated Aug 14, 2026 · Source: OSV.dev |
v0.28.0
minor
Dependencies (1)
|
|
v0.27.0
minor
1 CVE
CVE-2026-56852
GO-2026-5970
Jul 14, 2026
Infinite loop on invalid input in golang.org/x/text A norm.Iter can enter an infinite loop when handling input containing invalid UTF-8 bytes. Fixed in
0.39.0
Updated Aug 14, 2026 · Source: OSV.dev |
v0.27.0
minor
Dependencies (1)
|
|
v0.26.0
minor
1 CVE
CVE-2026-56852
GO-2026-5970
Jul 14, 2026
Infinite loop on invalid input in golang.org/x/text A norm.Iter can enter an infinite loop when handling input containing invalid UTF-8 bytes. Fixed in
0.39.0
Updated Aug 14, 2026 · Source: OSV.dev |
v0.26.0
minor
Dependencies (1)
|
|
v0.25.0
minor
1 CVE
CVE-2026-56852
GO-2026-5970
Jul 14, 2026
Infinite loop on invalid input in golang.org/x/text A norm.Iter can enter an infinite loop when handling input containing invalid UTF-8 bytes. Fixed in
0.39.0
Updated Aug 14, 2026 · Source: OSV.dev |
v0.25.0
minor
Dependencies (1)
|
|
v0.24.0
minor
1 CVE
CVE-2026-56852
GO-2026-5970
Jul 14, 2026
Infinite loop on invalid input in golang.org/x/text A norm.Iter can enter an infinite loop when handling input containing invalid UTF-8 bytes. Fixed in
0.39.0
Updated Aug 14, 2026 · Source: OSV.dev |
v0.24.0
minor
Dependencies (1)
|
|
v0.23.0
minor
1 CVE
CVE-2026-56852
GO-2026-5970
Jul 14, 2026
Infinite loop on invalid input in golang.org/x/text A norm.Iter can enter an infinite loop when handling input containing invalid UTF-8 bytes. Fixed in
0.39.0
Updated Aug 14, 2026 · Source: OSV.dev |
v0.23.0
minor
Dependencies (1)
|
|
v0.22.0
minor
1 CVE
CVE-2026-56852
GO-2026-5970
Jul 14, 2026
Infinite loop on invalid input in golang.org/x/text A norm.Iter can enter an infinite loop when handling input containing invalid UTF-8 bytes. Fixed in
0.39.0
Updated Aug 14, 2026 · Source: OSV.dev |
v0.22.0
minor
Dependencies (1)
|
|
v0.21.0
minor
1 CVE
CVE-2026-56852
GO-2026-5970
Jul 14, 2026
Infinite loop on invalid input in golang.org/x/text A norm.Iter can enter an infinite loop when handling input containing invalid UTF-8 bytes. Fixed in
0.39.0
Updated Aug 14, 2026 · Source: OSV.dev |
v0.21.0
minor
Dependencies (1)
|
|
v0.20.0
minor
1 CVE
CVE-2026-56852
GO-2026-5970
Jul 14, 2026
Infinite loop on invalid input in golang.org/x/text A norm.Iter can enter an infinite loop when handling input containing invalid UTF-8 bytes. Fixed in
0.39.0
Updated Aug 14, 2026 · Source: OSV.dev |
v0.20.0
minor
Dependencies (1)
|
|
v0.19.0
minor
1 CVE
CVE-2026-56852
GO-2026-5970
Jul 14, 2026
Infinite loop on invalid input in golang.org/x/text A norm.Iter can enter an infinite loop when handling input containing invalid UTF-8 bytes. Fixed in
0.39.0
Updated Aug 14, 2026 · Source: OSV.dev |
v0.19.0
minor
Dependencies (1)
|
|
v0.18.0
minor
1 CVE
CVE-2026-56852
GO-2026-5970
Jul 14, 2026
Infinite loop on invalid input in golang.org/x/text A norm.Iter can enter an infinite loop when handling input containing invalid UTF-8 bytes. Fixed in
0.39.0
Updated Aug 14, 2026 · Source: OSV.dev |
v0.18.0
minor
Dependencies (1)
|
|
v0.17.0
minor
1 CVE
CVE-2026-56852
GO-2026-5970
Jul 14, 2026
Infinite loop on invalid input in golang.org/x/text A norm.Iter can enter an infinite loop when handling input containing invalid UTF-8 bytes. Fixed in
0.39.0
Updated Aug 14, 2026 · Source: OSV.dev |
v0.17.0
minor
Dependencies (1)
|
|
v0.16.0
minor
1 CVE
CVE-2026-56852
GO-2026-5970
Jul 14, 2026
Infinite loop on invalid input in golang.org/x/text A norm.Iter can enter an infinite loop when handling input containing invalid UTF-8 bytes. Fixed in
0.39.0
Updated Aug 14, 2026 · Source: OSV.dev |
v0.16.0
minor
Dependencies (1)
|
|
v0.15.0
minor
1 CVE
CVE-2026-56852
GO-2026-5970
Jul 14, 2026
Infinite loop on invalid input in golang.org/x/text A norm.Iter can enter an infinite loop when handling input containing invalid UTF-8 bytes. Fixed in
0.39.0
Updated Aug 14, 2026 · Source: OSV.dev |
v0.15.0
minor
Dependencies (1)
|
|
v0.14.0
minor
1 CVE
CVE-2026-56852
GO-2026-5970
Jul 14, 2026
Infinite loop on invalid input in golang.org/x/text A norm.Iter can enter an infinite loop when handling input containing invalid UTF-8 bytes. Fixed in
0.39.0
Updated Aug 14, 2026 · Source: OSV.dev |
v0.14.0
minor
Dependencies (1)
|
|
v0.13.0
minor
1 CVE
CVE-2026-56852
GO-2026-5970
Jul 14, 2026
Infinite loop on invalid input in golang.org/x/text A norm.Iter can enter an infinite loop when handling input containing invalid UTF-8 bytes. Fixed in
0.39.0
Updated Aug 14, 2026 · Source: OSV.dev |
v0.13.0
minor
Dependencies (1)
|
|
v0.12.0
minor
1 CVE
CVE-2026-56852
GO-2026-5970
Jul 14, 2026
Infinite loop on invalid input in golang.org/x/text A norm.Iter can enter an infinite loop when handling input containing invalid UTF-8 bytes. Fixed in
0.39.0
Updated Aug 14, 2026 · Source: OSV.dev |
v0.12.0
minor
Dependencies (1)
|
|
v0.11.0
minor
1 CVE
CVE-2026-56852
GO-2026-5970
Jul 14, 2026
Infinite loop on invalid input in golang.org/x/text A norm.Iter can enter an infinite loop when handling input containing invalid UTF-8 bytes. Fixed in
0.39.0
Updated Aug 14, 2026 · Source: OSV.dev |
v0.11.0
minor
Dependencies (1)
|
|
v0.10.0
minor
1 CVE
CVE-2026-56852
GO-2026-5970
Jul 14, 2026
Infinite loop on invalid input in golang.org/x/text A norm.Iter can enter an infinite loop when handling input containing invalid UTF-8 bytes. Fixed in
0.39.0
Updated Aug 14, 2026 · Source: OSV.dev |
v0.10.0
minor
Dependencies (1)
|
|
v0.9.0
minor
1 CVE
CVE-2026-56852
GO-2026-5970
Jul 14, 2026
Infinite loop on invalid input in golang.org/x/text A norm.Iter can enter an infinite loop when handling input containing invalid UTF-8 bytes. Fixed in
0.39.0
Updated Aug 14, 2026 · Source: OSV.dev |
v0.9.0
minor
Dependencies (1)
|
|
v0.8.0
minor
1 CVE
CVE-2026-56852
GO-2026-5970
Jul 14, 2026
Infinite loop on invalid input in golang.org/x/text A norm.Iter can enter an infinite loop when handling input containing invalid UTF-8 bytes. Fixed in
0.39.0
Updated Aug 14, 2026 · Source: OSV.dev |
v0.8.0
minor
Dependencies (1)
|
|
v0.7.0
minor
1 CVE
CVE-2026-56852
GO-2026-5970
Jul 14, 2026
Infinite loop on invalid input in golang.org/x/text A norm.Iter can enter an infinite loop when handling input containing invalid UTF-8 bytes. Fixed in
0.39.0
Updated Aug 14, 2026 · Source: OSV.dev |
v0.7.0
minor
Dependencies (1)
|
|
v0.6.0
minor
1 CVE
CVE-2026-56852
GO-2026-5970
Jul 14, 2026
Infinite loop on invalid input in golang.org/x/text A norm.Iter can enter an infinite loop when handling input containing invalid UTF-8 bytes. Fixed in
0.39.0
Updated Aug 14, 2026 · Source: OSV.dev |
v0.6.0
minor
Dependencies (1)
|
|
v0.5.0
minor
1 CVE
CVE-2026-56852
GO-2026-5970
Jul 14, 2026
Infinite loop on invalid input in golang.org/x/text A norm.Iter can enter an infinite loop when handling input containing invalid UTF-8 bytes. Fixed in
0.39.0
Updated Aug 14, 2026 · Source: OSV.dev |
v0.5.0
minor
Dependencies (1)
|
|
v0.4.0
minor
1 CVE
CVE-2026-56852
GO-2026-5970
Jul 14, 2026
Infinite loop on invalid input in golang.org/x/text A norm.Iter can enter an infinite loop when handling input containing invalid UTF-8 bytes. Fixed in
0.39.0
Updated Aug 14, 2026 · Source: OSV.dev |
v0.4.0
minor
Dependencies (1)
|
|
v0.3.8
patch
1 CVE
CVE-2026-56852
GO-2026-5970
Jul 14, 2026
Infinite loop on invalid input in golang.org/x/text A norm.Iter can enter an infinite loop when handling input containing invalid UTF-8 bytes. Fixed in
0.39.0
Updated Aug 14, 2026 · Source: OSV.dev |
v0.3.8
patch
Dependencies (1)
|
|
v0.3.7
patch
2 CVEs
CVE-2026-56852
GO-2026-5970
Jul 14, 2026
Infinite loop on invalid input in golang.org/x/text A norm.Iter can enter an infinite loop when handling input containing invalid UTF-8 bytes. Fixed in
0.39.0
Updated Aug 14, 2026 · Source: OSV.dev
CVE-2022-32149
GHSA-69ch-w2m2-3vjp
GO-2022-1059
Oct 14, 2022
golang.org/x/text/language Denial of service via crafted Accept-Language header
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
The BCP 47 tag parser has quadratic time complexity due to inherent aspects of its design. Since the parser is, by design, exposed to untrusted user input, this can be leveraged to force a program to consume significant time parsing Accept-Language headers. The parser cannot be easily rewritten to fix this behavior for various reasons. Instead the solution implemented in this CL is to limit the total complexity of tags passed into ParseAcceptLanguage by limiting the number of dashes in the string to 1000. This should be more than enough for the majority of real world use cases, where the number of tags being sent is likely to be in the single digits. Specific Go Packages Affectedgolang.org/x/text/language Fixed in
0.3.8
References Updated Sep 10, 2026 · Source: OSV.dev |
v0.3.7
patch
Dependencies (1)
|
|
v0.3.6
patch
3 CVEs
CVE-2026-56852
GO-2026-5970
Jul 14, 2026
Infinite loop on invalid input in golang.org/x/text A norm.Iter can enter an infinite loop when handling input containing invalid UTF-8 bytes. Fixed in
0.39.0
Updated Aug 14, 2026 · Source: OSV.dev
CVE-2021-38561
GHSA-ppp9-7jff-5vj2
GO-2021-0113
Dec 26, 2022
golang.org/x/text/language Out-of-bounds Read vulnerability
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
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. Fixed in
0.3.7
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2022-32149
GHSA-69ch-w2m2-3vjp
GO-2022-1059
Oct 14, 2022
golang.org/x/text/language Denial of service via crafted Accept-Language header
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
The BCP 47 tag parser has quadratic time complexity due to inherent aspects of its design. Since the parser is, by design, exposed to untrusted user input, this can be leveraged to force a program to consume significant time parsing Accept-Language headers. The parser cannot be easily rewritten to fix this behavior for various reasons. Instead the solution implemented in this CL is to limit the total complexity of tags passed into ParseAcceptLanguage by limiting the number of dashes in the string to 1000. This should be more than enough for the majority of real world use cases, where the number of tags being sent is likely to be in the single digits. Specific Go Packages Affectedgolang.org/x/text/language Fixed in
0.3.8
References Updated Sep 10, 2026 · Source: OSV.dev |
v0.3.6
patch
Dependencies (1)
|
|
v0.3.5
patch
3 CVEs
CVE-2026-56852
GO-2026-5970
Jul 14, 2026
Infinite loop on invalid input in golang.org/x/text A norm.Iter can enter an infinite loop when handling input containing invalid UTF-8 bytes. Fixed in
0.39.0
Updated Aug 14, 2026 · Source: OSV.dev
CVE-2021-38561
GHSA-ppp9-7jff-5vj2
GO-2021-0113
Dec 26, 2022
golang.org/x/text/language Out-of-bounds Read vulnerability
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
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. Fixed in
0.3.7
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2022-32149
GHSA-69ch-w2m2-3vjp
GO-2022-1059
Oct 14, 2022
golang.org/x/text/language Denial of service via crafted Accept-Language header
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
The BCP 47 tag parser has quadratic time complexity due to inherent aspects of its design. Since the parser is, by design, exposed to untrusted user input, this can be leveraged to force a program to consume significant time parsing Accept-Language headers. The parser cannot be easily rewritten to fix this behavior for various reasons. Instead the solution implemented in this CL is to limit the total complexity of tags passed into ParseAcceptLanguage by limiting the number of dashes in the string to 1000. This should be more than enough for the majority of real world use cases, where the number of tags being sent is likely to be in the single digits. Specific Go Packages Affectedgolang.org/x/text/language Fixed in
0.3.8
References Updated Sep 10, 2026 · Source: OSV.dev |
v0.3.5
patch
Dependencies (1)
|
|
v0.3.4
patch
3 CVEs
CVE-2026-56852
GO-2026-5970
Jul 14, 2026
Infinite loop on invalid input in golang.org/x/text A norm.Iter can enter an infinite loop when handling input containing invalid UTF-8 bytes. Fixed in
0.39.0
Updated Aug 14, 2026 · Source: OSV.dev
CVE-2021-38561
GHSA-ppp9-7jff-5vj2
GO-2021-0113
Dec 26, 2022
golang.org/x/text/language Out-of-bounds Read vulnerability
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
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. Fixed in
0.3.7
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2022-32149
GHSA-69ch-w2m2-3vjp
GO-2022-1059
Oct 14, 2022
golang.org/x/text/language Denial of service via crafted Accept-Language header
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
The BCP 47 tag parser has quadratic time complexity due to inherent aspects of its design. Since the parser is, by design, exposed to untrusted user input, this can be leveraged to force a program to consume significant time parsing Accept-Language headers. The parser cannot be easily rewritten to fix this behavior for various reasons. Instead the solution implemented in this CL is to limit the total complexity of tags passed into ParseAcceptLanguage by limiting the number of dashes in the string to 1000. This should be more than enough for the majority of real world use cases, where the number of tags being sent is likely to be in the single digits. Specific Go Packages Affectedgolang.org/x/text/language Fixed in
0.3.8
References Updated Sep 10, 2026 · Source: OSV.dev |
v0.3.4
patch
Dependencies (1)
|
|
v0.3.3
patch
3 CVEs
CVE-2026-56852
GO-2026-5970
Jul 14, 2026
Infinite loop on invalid input in golang.org/x/text A norm.Iter can enter an infinite loop when handling input containing invalid UTF-8 bytes. Fixed in
0.39.0
Updated Aug 14, 2026 · Source: OSV.dev
CVE-2021-38561
GHSA-ppp9-7jff-5vj2
GO-2021-0113
Dec 26, 2022
golang.org/x/text/language Out-of-bounds Read vulnerability
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
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. Fixed in
0.3.7
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2022-32149
GHSA-69ch-w2m2-3vjp
GO-2022-1059
Oct 14, 2022
golang.org/x/text/language Denial of service via crafted Accept-Language header
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
The BCP 47 tag parser has quadratic time complexity due to inherent aspects of its design. Since the parser is, by design, exposed to untrusted user input, this can be leveraged to force a program to consume significant time parsing Accept-Language headers. The parser cannot be easily rewritten to fix this behavior for various reasons. Instead the solution implemented in this CL is to limit the total complexity of tags passed into ParseAcceptLanguage by limiting the number of dashes in the string to 1000. This should be more than enough for the majority of real world use cases, where the number of tags being sent is likely to be in the single digits. Specific Go Packages Affectedgolang.org/x/text/language Fixed in
0.3.8
References Updated Sep 10, 2026 · Source: OSV.dev |
v0.3.3
patch
Dependencies (1)
|
|
v0.3.2
patch
4 CVEs
CVE-2026-56852
GO-2026-5970
Jul 14, 2026
Infinite loop on invalid input in golang.org/x/text A norm.Iter can enter an infinite loop when handling input containing invalid UTF-8 bytes. Fixed in
0.39.0
Updated Aug 14, 2026 · Source: OSV.dev
CVE-2021-38561
GHSA-ppp9-7jff-5vj2
GO-2021-0113
Dec 26, 2022
golang.org/x/text/language Out-of-bounds Read vulnerability
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
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. Fixed in
0.3.7
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2022-32149
GHSA-69ch-w2m2-3vjp
GO-2022-1059
Oct 14, 2022
golang.org/x/text/language Denial of service via crafted Accept-Language header
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
The BCP 47 tag parser has quadratic time complexity due to inherent aspects of its design. Since the parser is, by design, exposed to untrusted user input, this can be leveraged to force a program to consume significant time parsing Accept-Language headers. The parser cannot be easily rewritten to fix this behavior for various reasons. Instead the solution implemented in this CL is to limit the total complexity of tags passed into ParseAcceptLanguage by limiting the number of dashes in the string to 1000. This should be more than enough for the majority of real world use cases, where the number of tags being sent is likely to be in the single digits. Specific Go Packages Affectedgolang.org/x/text/language Fixed in
0.3.8
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2020-14040
GHSA-5rcv-m4m3-hfh7
GO-2020-0015
May 18, 2021
golang.org/x/text Infinite loop
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
Go version v0.3.3 of the x/text package fixes a vulnerability in encoding/unicode that could lead to the UTF-16 decoder entering an infinite loop, causing the program to crash or run out of memory. An attacker could provide a single byte to a UTF16 decoder instantiated with UseBOM or ExpectBOM to trigger an infinite loop if the String function on the Decoder is called, or the Decoder is passed to golang.org/x/text/transform.String. Specific Go Packages Affectedgolang.org/x/text/encoding/unicode golang.org/x/text/transform Fixed in
0.3.3
References Updated Sep 10, 2026 · Source: OSV.dev |
v0.3.2
patch
Dependencies (1)
|
|
v0.3.1
patch
4 CVEs
CVE-2026-56852
GO-2026-5970
Jul 14, 2026
Infinite loop on invalid input in golang.org/x/text A norm.Iter can enter an infinite loop when handling input containing invalid UTF-8 bytes. Fixed in
0.39.0
Updated Aug 14, 2026 · Source: OSV.dev
CVE-2021-38561
GHSA-ppp9-7jff-5vj2
GO-2021-0113
Dec 26, 2022
golang.org/x/text/language Out-of-bounds Read vulnerability
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
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. Fixed in
0.3.7
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2022-32149
GHSA-69ch-w2m2-3vjp
GO-2022-1059
Oct 14, 2022
golang.org/x/text/language Denial of service via crafted Accept-Language header
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
The BCP 47 tag parser has quadratic time complexity due to inherent aspects of its design. Since the parser is, by design, exposed to untrusted user input, this can be leveraged to force a program to consume significant time parsing Accept-Language headers. The parser cannot be easily rewritten to fix this behavior for various reasons. Instead the solution implemented in this CL is to limit the total complexity of tags passed into ParseAcceptLanguage by limiting the number of dashes in the string to 1000. This should be more than enough for the majority of real world use cases, where the number of tags being sent is likely to be in the single digits. Specific Go Packages Affectedgolang.org/x/text/language Fixed in
0.3.8
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2020-14040
GHSA-5rcv-m4m3-hfh7
GO-2020-0015
May 18, 2021
golang.org/x/text Infinite loop
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
Go version v0.3.3 of the x/text package fixes a vulnerability in encoding/unicode that could lead to the UTF-16 decoder entering an infinite loop, causing the program to crash or run out of memory. An attacker could provide a single byte to a UTF16 decoder instantiated with UseBOM or ExpectBOM to trigger an infinite loop if the String function on the Decoder is called, or the Decoder is passed to golang.org/x/text/transform.String. Specific Go Packages Affectedgolang.org/x/text/encoding/unicode golang.org/x/text/transform Fixed in
0.3.3
References Updated Sep 10, 2026 · Source: OSV.dev |
v0.3.1
patch
Dependencies (1)
|
|
v0.3.0
minor
4 CVEs
CVE-2026-56852
GO-2026-5970
Jul 14, 2026
Infinite loop on invalid input in golang.org/x/text A norm.Iter can enter an infinite loop when handling input containing invalid UTF-8 bytes. Fixed in
0.39.0
Updated Aug 14, 2026 · Source: OSV.dev
CVE-2021-38561
GHSA-ppp9-7jff-5vj2
GO-2021-0113
Dec 26, 2022
golang.org/x/text/language Out-of-bounds Read vulnerability
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
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. Fixed in
0.3.7
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2022-32149
GHSA-69ch-w2m2-3vjp
GO-2022-1059
Oct 14, 2022
golang.org/x/text/language Denial of service via crafted Accept-Language header
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
The BCP 47 tag parser has quadratic time complexity due to inherent aspects of its design. Since the parser is, by design, exposed to untrusted user input, this can be leveraged to force a program to consume significant time parsing Accept-Language headers. The parser cannot be easily rewritten to fix this behavior for various reasons. Instead the solution implemented in this CL is to limit the total complexity of tags passed into ParseAcceptLanguage by limiting the number of dashes in the string to 1000. This should be more than enough for the majority of real world use cases, where the number of tags being sent is likely to be in the single digits. Specific Go Packages Affectedgolang.org/x/text/language Fixed in
0.3.8
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2020-14040
GHSA-5rcv-m4m3-hfh7
GO-2020-0015
May 18, 2021
golang.org/x/text Infinite loop
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
Go version v0.3.3 of the x/text package fixes a vulnerability in encoding/unicode that could lead to the UTF-16 decoder entering an infinite loop, causing the program to crash or run out of memory. An attacker could provide a single byte to a UTF16 decoder instantiated with UseBOM or ExpectBOM to trigger an infinite loop if the String function on the Decoder is called, or the Decoder is passed to golang.org/x/text/transform.String. Specific Go Packages Affectedgolang.org/x/text/encoding/unicode golang.org/x/text/transform Fixed in
0.3.3
References Updated Sep 10, 2026 · Source: OSV.dev |
v0.3.0
minor
|
|
v0.2.0
minor
4 CVEs
CVE-2026-56852
GO-2026-5970
Jul 14, 2026
Infinite loop on invalid input in golang.org/x/text A norm.Iter can enter an infinite loop when handling input containing invalid UTF-8 bytes. Fixed in
0.39.0
Updated Aug 14, 2026 · Source: OSV.dev
CVE-2021-38561
GHSA-ppp9-7jff-5vj2
GO-2021-0113
Dec 26, 2022
golang.org/x/text/language Out-of-bounds Read vulnerability
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
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. Fixed in
0.3.7
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2022-32149
GHSA-69ch-w2m2-3vjp
GO-2022-1059
Oct 14, 2022
golang.org/x/text/language Denial of service via crafted Accept-Language header
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
The BCP 47 tag parser has quadratic time complexity due to inherent aspects of its design. Since the parser is, by design, exposed to untrusted user input, this can be leveraged to force a program to consume significant time parsing Accept-Language headers. The parser cannot be easily rewritten to fix this behavior for various reasons. Instead the solution implemented in this CL is to limit the total complexity of tags passed into ParseAcceptLanguage by limiting the number of dashes in the string to 1000. This should be more than enough for the majority of real world use cases, where the number of tags being sent is likely to be in the single digits. Specific Go Packages Affectedgolang.org/x/text/language Fixed in
0.3.8
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2020-14040
GHSA-5rcv-m4m3-hfh7
GO-2020-0015
May 18, 2021
golang.org/x/text Infinite loop
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
Go version v0.3.3 of the x/text package fixes a vulnerability in encoding/unicode that could lead to the UTF-16 decoder entering an infinite loop, causing the program to crash or run out of memory. An attacker could provide a single byte to a UTF16 decoder instantiated with UseBOM or ExpectBOM to trigger an infinite loop if the String function on the Decoder is called, or the Decoder is passed to golang.org/x/text/transform.String. Specific Go Packages Affectedgolang.org/x/text/encoding/unicode golang.org/x/text/transform Fixed in
0.3.3
References Updated Sep 10, 2026 · Source: OSV.dev |
v0.2.0
minor
|
|
v0.1.0
initial
4 CVEs
CVE-2026-56852
GO-2026-5970
Jul 14, 2026
Infinite loop on invalid input in golang.org/x/text A norm.Iter can enter an infinite loop when handling input containing invalid UTF-8 bytes. Fixed in
0.39.0
Updated Aug 14, 2026 · Source: OSV.dev
CVE-2021-38561
GHSA-ppp9-7jff-5vj2
GO-2021-0113
Dec 26, 2022
golang.org/x/text/language Out-of-bounds Read vulnerability
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
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. Fixed in
0.3.7
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2022-32149
GHSA-69ch-w2m2-3vjp
GO-2022-1059
Oct 14, 2022
golang.org/x/text/language Denial of service via crafted Accept-Language header
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
The BCP 47 tag parser has quadratic time complexity due to inherent aspects of its design. Since the parser is, by design, exposed to untrusted user input, this can be leveraged to force a program to consume significant time parsing Accept-Language headers. The parser cannot be easily rewritten to fix this behavior for various reasons. Instead the solution implemented in this CL is to limit the total complexity of tags passed into ParseAcceptLanguage by limiting the number of dashes in the string to 1000. This should be more than enough for the majority of real world use cases, where the number of tags being sent is likely to be in the single digits. Specific Go Packages Affectedgolang.org/x/text/language Fixed in
0.3.8
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2020-14040
GHSA-5rcv-m4m3-hfh7
GO-2020-0015
May 18, 2021
golang.org/x/text Infinite loop
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
Go version v0.3.3 of the x/text package fixes a vulnerability in encoding/unicode that could lead to the UTF-16 decoder entering an infinite loop, causing the program to crash or run out of memory. An attacker could provide a single byte to a UTF16 decoder instantiated with UseBOM or ExpectBOM to trigger an infinite loop if the String function on the Decoder is called, or the Decoder is passed to golang.org/x/text/transform.String. Specific Go Packages Affectedgolang.org/x/text/encoding/unicode golang.org/x/text/transform Fixed in
0.3.3
References Updated Sep 10, 2026 · Source: OSV.dev |
v0.1.0
initial
|