CVE-2021-38561

golang-golang-x-text-dev: golang.org/x/text/language in golang.org/x/text before 0.3.7 can panic withan out-of-bounds read during BCP 47 langua...

CVE-2021-38561 is fixed in 3 products on 1 platform, first by golang-golang-x-text-dev 0.0~git20170627.0.6353ef0-1ubuntu2.1, released December 25, 2022. It is not reported as exploited. Patch Radar priority: High.

High
CVSS
7.5
Medium
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0148
74th percentile

golang.org/x/text/language in golang.org/x/text before 0.3.7 can panic withan out-of-bounds read during BCP 47 language tag parsing. Index calculationis mishandled. If parsing untrusted user input, this can be used as avector for a denial-of-service attack.

Where it's fixed

ProductFixed inFixReleased
Linux
golang-golang-x-text · Debian 12.15 (bookworm) 0.3.7-1 DEBIAN-CVE-2021-38561 Dec 26, 2022
golang-golang-x-text · Debian 13.5 (trixie) 0.3.7-1 DEBIAN-CVE-2021-38561 Dec 26, 2022
golang-golang-x-text · Debian 14 0.3.7-1 DEBIAN-CVE-2021-38561 Dec 26, 2022
golang-golang-x-text-dev · Ubuntu 18.04.6 LTS (bionic) 0.0~git20170627.0.6353ef0-1ubuntu2.1 golang-golang-x-text-dev 0.0~git20170627.0.6353ef0-1ubuntu2.1 Dec 25, 2022
golang-golang-x-text-dev · Ubuntu 20.04 LTS (focal) 0.3.2-4ubuntu0.1 golang-golang-x-text-dev 0.3.2-4ubuntu0.1 Dec 25, 2022
golang-golang-x-text-dev · Ubuntu 22.04.1 LTS (jammy) 0.3.7-1 golang-golang-x-text-dev 0.3.7-1 Dec 25, 2022
golang-golang-x-text-dev · Ubuntu 24.10 (oracular) 0.3.7-1 golang-golang-x-text-dev 0.3.7-1 Jan 16, 2026
golang-golang-x-text-dev · Ubuntu 25.04 (plucky) 0.3.7-1 golang-golang-x-text-dev 0.3.7-1 Jan 16, 2026
golang-x-text-dev · Ubuntu 18.04.6 LTS (bionic) 0.0~git20170627.0.6353ef0-1ubuntu2.1 golang-x-text-dev 0.0~git20170627.0.6353ef0-1ubuntu2.1 Dec 25, 2022

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.