CVE-2021-38561
Go packages · CVE-2021-38561
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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 1.484% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:28:52.703Z. Public exploit availability is not used to set this status.
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T17:28:52.703Z | CISA KEV |
| cvss | unknown | unknown | unknown |
| epss | verified | 2026-11-19T16:04:31.549Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:37.001Z | OSV |
| affected | verified | 2026-11-19T12:56:08.478Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:56:08.478Z | CVE Program |
Affected versions and configuration
n/a n/a; default status: unknown: n/a [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "n/a",
"product": "n/a",
"versions": [
{
"status": "affected",
"version": "n/a"
}
]
}
],
"additionalContainers": [
{
"title": "CVE Program Container",
"references": [
{
"url": "https://groups.google.com/g/golang-announce",
"tags": [
"x_transferred"
]
},
{
"url": "https://go.googlesource.com/text/+/383b2e75a7a4198c42f8f87833eefb772868a56f",
"tags": [
"x_transferred"
]
},
{
"url": "https://deps.dev/advisory/OSV/GO-2021-0113",
"tags": [
"x_transferred"
]
},
{
"url": "https://pkg.go.dev/golang.org/x/text/language",
"tags": [
"x_transferred"
]
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-04T01:44:23.541Z"
}
},
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"cvssV3_1": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 7.5,
"attackVector": "NETWORK",
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"integrityImpact": "NONE",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"availabilityImpact": "HIGH",
"privilegesRequired": "NONE",
"confidentialityImpact": "NONE"
}
},
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2021-38561",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2025-04-14T16:13:55.516416Z"
}
}
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"type": "CWE",
"cweId": "CWE-125",
"description": "CWE-125 Out-of-bounds Read"
}
]
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2025-04-14T16:15:14.817Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-ppp9-7jff-5vj2",
"aliases": [
"CVE-2021-38561",
"GO-2021-0113"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.3.7"
}
]
}
],
"package": {
"name": "golang.org/x/text",
"purl": "pkg:golang/golang.org/x/text",
"ecosystem": "Go"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/12/GHSA-ppp9-7jff-5vj2/GHSA-ppp9-7jff-5vj2.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-38561",
"type": "ADVISORY"
},
{
"url": "https://deps.dev/advisory/OSV/GO-2021-0113",
"type": "WEB"
},
{
"url": "https://go.dev/cl/340830",
"type": "WEB"
},
{
"url": "https://go.googlesource.com/text/+/383b2e75a7a4198c42f8f87833eefb772868a56f",
"type": "WEB"
},
{
"url": "https://groups.google.com/g/golang-announce",
"type": "WEB"
},
{
"url": "https://pkg.go.dev/golang.org/x/text/language",
"type": "WEB"
},
{
"url": "https://pkg.go.dev/vuln/GO-2021-0113",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-125"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": "2022-12-26T06:15:00Z",
"github_reviewed_at": "2023-01-09T20:02:12Z"
}
}Archived source JSONOSV · osv · full conditions
{
"id": "GO-2021-0113",
"aliases": [
"CVE-2021-38561",
"GHSA-ppp9-7jff-5vj2"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.3.7"
}
]
}
],
"package": {
"name": "golang.org/x/text",
"purl": "pkg:golang/golang.org/x/text",
"ecosystem": "Go"
},
"versions": [],
"database_specific": {
"source": "https://vuln.go.dev/ID/GO-2021-0113.json"
},
"ecosystem_specific": {
"imports": [
{
"path": "golang.org/x/text/language",
"symbols": [
"MatchStrings",
"MustParse",
"Parse",
"ParseAcceptLanguage"
]
}
]
}
}
],
"severity": [],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://go.dev/cl/340830",
"type": "FIX"
},
{
"url": "https://go.googlesource.com/text/+/383b2e75a7a4198c42f8f87833eefb772868a56f",
"type": "FIX"
}
],
"relatedGitRanges": [],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2021-0113",
"review_status": "REVIEWED"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | Go / package | golang.org/x/text | Not a distribution channel | 0.3.7 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:37.001ZArchived source JSON
Source publication: 2022-12-26T06:30:22.000Z
Source modification: 2026-09-10T03:49:50.331ZDocument fingerprint
f908a6b2ec00d38fc908b0e5d8ddc230533dd12bc2a411f09351f07d04322d99 - OSVConsulted: 2026-11-19T12:52:37.001ZArchived source JSON
Source publication: 2021-10-06T17:51:21.000Z
Source modification: 2026-02-04T02:31:07.297ZDocument fingerprint
f908a6b2ec00d38fc908b0e5d8ddc230533dd12bc2a411f09351f07d04322d99 - CISA KEVConsulted: 2026-11-19T17:28:52.703ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - CVE ProgramConsulted: 2026-11-19T12:56:08.478ZArchived source JSON
Source publication: 2022-12-26T00:00:00.000Z
Source modification: 2025-04-14T16:15:14.817ZDocument fingerprint
9d3631e56570786f6b6f801ead119a8c9df4c60bb17de87dbde184b71cc5cf92 - FIRST EPSSConsulted: 2026-11-19T16:04:31.549ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
3868b84f1e1acd503d18b7d8039c9c0af96978ffa639a1d9a6683f7f07e072a5
Official status history
- UNKNOWN → PUBLISHED · · evidence