Unrated
Panic parsing crafted input in x/text/secure/precis in golang.org/x/text
The Nickname profile can panic with an out-of-bounds slice error when transforming crafted input into a short destination buffer.
Announced Source revision 1
Original source ↗CVE-2026-56851
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-56851
golang.org/x/text/secure/precis
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"vendor": "golang.org/x/text",
"product": "golang.org/x/text/secure/precis",
"versions": [
{
"status": "affected",
"version": "0",
"lessThan": "0.41.0",
"versionType": "semver"
}
],
"packageName": "golang.org/x/text/secure/precis",
"collectionURL": "https://pkg.go.dev",
"defaultStatus": "unaffected",
"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"
}
]
}
]- Related CVEs
- CVE-2026-56851
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #12486 · Revision 1
- Added to Heist Feed
- Publisher date