7.5

CVE-2021-38561: golang text Out-of-bounds Read

Modified
AliasesUBUNTU-CVE-2021-38561DEBIAN-CVE-2021-38561CGA-2626-3wmq-9vqg
Published 26-12-2022Last modified 14-04-2025

Vulnerability summary

CVE-2021-38561 is a high (CVSS 7.5) Out-of-bounds Read vulnerability in golang text. EPSS estimates a 1.48% chance of exploitation in the next 30 days, higher than 74% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 03-11-2026)

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
1.48%
0%100%
Low · +0.12 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 4 · Related 14

Timeline

  1. 26-12-2022
    PublishedVulnerability first disclosed.
  2. 14-04-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

8 scores · 8 sources · 1 version

EPSS trend

Probability

1.48%

Chance of exploitation in the next 30 days

Percentile

74%

Versus all other CVEs

30-day change

Increase +0.12 pp

From 1.37% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard12 products
  • dex-k8s-authenticatorAll versions (No fix recorded)
  • dynamic-localpv-provisioner< 3.4.1-r3
  • dynamic-localpv-provisioner-fips< 3.5.0-r0
  • gitleaks< 8.18.2-r1
  • hey< 0.1.4-r3
Wolfi8 products
  • dynamic-localpv-provisioner< 3.4.1-r3
  • gitleaks< 8.18.2-r1
  • hey< 0.1.4-r3
  • k3d< 5.6.0-r11
  • k3d-proxy< 5.6.0-r11
Ubuntu2 products
  • golang-golang-x-text< 0.3.2-4ubuntu0.1 | < 0.3.7-1
  • golang-x-textAll versions (No fix recorded) | < 0.0~git20170627.0.6353ef0-1ubuntu2.1
Alpine1 product
  • git-lfs< 3.1.2-r3
Debian1 product
  • golang-golang-x-text< 0.3.7-1
Golang1 product
Golang.org/x1 product
  • text< 0.3.7
Opensuse1 product
  • cni&distro=openSUSE Tumbleweed< 1.1.2-2.1

8 vendors · 27 products

References

13 links
Show all 13 references