{"id":"GHSA-ppp9-7jff-5vj2","revision":"7174f675c6174414b40f132f4a4d95e1","records":[{"revision":"7174f675c6174414b40f132f4a4d95e1","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-ppp9-7jff-5vj2","aliases":["CVE-2021-38561","GO-2021-0113"],"title":"golang.org/x/text/language Out-of-bounds Read vulnerability","description":"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.","state":0,"publishedAt":"2022-12-26T06:30:22+00:00","modifiedAt":"2026-09-10T03:49:50.331765+00:00","affected":[{"ecosystem":"Go","name":"golang.org/x/text","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.3.7"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2021-38561","https://deps.dev/advisory/OSV/GO-2021-0113","https://go.dev/cl/340830","https://go.googlesource.com/text/+/383b2e75a7a4198c42f8f87833eefb772868a56f","https://groups.google.com/g/golang-announce","https://pkg.go.dev/golang.org/x/text/language","https://pkg.go.dev/vuln/GO-2021-0113"],"sourceUrl":"https://github.com/advisories/GHSA-ppp9-7jff-5vj2","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-ppp9-7jff-5vj2","identifiers":["GHSA-ppp9-7jff-5vj2","CVE-2021-38561","GO-2021-0113"]},"retained":false,"historicalAffected":[]}],"coverage":[]}