CVE-2026-56851 (GCVE-0-2026-56851)
Vulnerability from cvelistv5 – Published: 2026-10-07 17:46 – Updated: 2026-10-07 17:46
VLAI
EPSS
VEX
Title
Panic parsing crafted input in x/text/secure/precis in golang.org/x/text
Summary
The Nickname profile can panic with an out-of-bounds slice error when transforming crafted input into a short destination buffer.
Severity
No CVSS data available.
CWE
- CWE-787 - Out-of-bounds Write
Assigner
References
3 references
Impacted products
1 product
| Vendor | Product | Version | CPE status | |
|---|---|---|---|---|
| golang.org/x/text | golang.org/x/text/secure/precis |
Affected:
0 , < 0.41.0
(semver)
|
guessed |
{
"containers": {
"cna": {
"affected": [
{
"collectionURL": "https://pkg.go.dev",
"defaultStatus": "unaffected",
"packageName": "golang.org/x/text/secure/precis",
"product": "golang.org/x/text/secure/precis",
"programRoutines": [
{
"name": "nickAdditionalMapping.Transform"
},
{
"name": "Profile.Append"
},
{
"name": "Profile.AppendCompareKey"
},
{
"name": "Profile.Bytes"
},
{
"name": "Profile.Compare"
},
{
"name": "Profile.CompareKey"
},
{
"name": "Profile.NewTransformer"
},
{
"name": "Profile.String"
},
{
"name": "Transformer.Bytes"
},
{
"name": "Transformer.String"
},
{
"name": "Transformer.Transform"
}
],
"vendor": "golang.org/x/text",
"versions": [
{
"lessThan": "0.41.0",
"status": "affected",
"version": "0",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"value": "Omkhar Arasaratnam (GitHub: omkhar)"
}
],
"descriptions": [
{
"lang": "en",
"value": "The Nickname profile can panic with an out-of-bounds slice error when transforming crafted input into a short destination buffer."
}
],
"problemTypes": [
{
"descriptions": [
{
"description": "CWE-787: Out-of-bounds Write",
"lang": "en"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-10-07T17:46:35.620Z",
"orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
"shortName": "Go"
},
"references": [
{
"url": "https://go.dev/cl/793360"
},
{
"url": "https://go.dev/issue/80112"
},
{
"url": "https://pkg.go.dev/vuln/GO-2026-6629"
}
],
"title": "Panic parsing crafted input in x/text/secure/precis in golang.org/x/text"
}
},
"cveMetadata": {
"assignerOrgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
"assignerShortName": "Go",
"cveId": "CVE-2026-56851",
"datePublished": "2026-10-07T17:46:35.620Z",
"dateReserved": "2026-06-23T15:10:49.352Z",
"dateUpdated": "2026-10-07T17:46:35.620Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"nvd": {
"cve": {
"affected": [
{
"affectedData": [
{
"collectionURL": "https://pkg.go.dev",
"defaultStatus": "unaffected",
"packageName": "golang.org/x/text/secure/precis",
"product": "golang.org/x/text/secure/precis",
"programRoutines": [
{
"name": "nickAdditionalMapping.Transform"
},
{
"name": "Profile.Append"
},
{
"name": "Profile.AppendCompareKey"
},
{
"name": "Profile.Bytes"
},
{
"name": "Profile.Compare"
},
{
"name": "Profile.CompareKey"
},
{
"name": "Profile.NewTransformer"
},
{
"name": "Profile.String"
},
{
"name": "Transformer.Bytes"
},
{
"name": "Transformer.String"
},
{
"name": "Transformer.Transform"
}
],
"vendor": "golang.org/x/text",
"versions": [
{
"lessThan": "0.41.0",
"status": "affected",
"version": "0",
"versionType": "semver"
}
]
}
],
"source": "security@golang.org"
}
],
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "The Nickname profile can panic with an out-of-bounds slice error when transforming crafted input into a short destination buffer."
}
],
"id": "CVE-2026-56851",
"lastModified": "2026-10-07T18:17:20.903",
"metrics": {},
"published": "2026-10-07T18:17:20.903",
"references": [
{
"source": "security@golang.org",
"url": "https://go.dev/cl/793360"
},
{
"source": "security@golang.org",
"url": "https://go.dev/issue/80112"
},
{
"source": "security@golang.org",
"url": "https://pkg.go.dev/vuln/GO-2026-6629"
}
],
"sourceIdentifier": "security@golang.org",
"vulnStatus": "Received"
}
}
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Loading…
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.
Loading…