GO-2026-6629

Source
https://pkg.go.dev/vuln/GO-2026-6629
Import Source
https://vuln.go.dev/ID/GO-2026-6629.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2026-6629
Aliases
  • CVE-2026-56851
Published
2026-10-07T14:09:43Z
Modified
2026-10-07T17:45:13Z
Summary
Panic parsing crafted input in x/text/secure/precis in golang.org/x/text
Details

The Nickname profile can panic with an out-of-bounds slice error when transforming crafted input into a short destination buffer.

Database specific
{
    "review_status": "REVIEWED",
    "url": "https://pkg.go.dev/vuln/GO-2026-6629"
}
References
Credits
    • Omkhar Arasaratnam (GitHub: omkhar)

Affected packages

Go / golang.org/x/text

Package

Name
golang.org/x/text
View open source insights on deps.dev
Purl
pkg:golang/golang.org/x/text

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.41.0

Ecosystem specific

{
    "imports": [
        {
            "path": "golang.org/x/text/secure/precis",
            "symbols": [
                "Profile.Append",
                "Profile.AppendCompareKey",
                "Profile.Bytes",
                "Profile.Compare",
                "Profile.CompareKey",
                "Profile.NewTransformer",
                "Profile.String",
                "Transformer.Bytes",
                "Transformer.String",
                "Transformer.Transform",
                "nickAdditionalMapping.Transform"
            ]
        }
    ]
}

Database specific

source
"https://vuln.go.dev/ID/GO-2026-6629.json"