What’s Vulnerable › Vulnerabilities

CVE-2026-56851: Panic parsing crafted input in x/text/secure/precis in golang.org/x/text

Description

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

Affected products

How to fix

Upgrade to a fixed version: Golang.Org/X/Text 0.41.0; golang.org/x/text/secure/precis 0.41.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-56851 or the next vulnerability affects your stack