What’s Vulnerable › Vulnerabilities
CVE-2026-56851: Panic parsing crafted input in x/text/secure/precis in golang.org/x/text
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-10-07 · updated 2026-10-08
- Weakness: CWE-787
Description
The Nickname profile can panic with an out-of-bounds slice error when transforming crafted input into a short destination buffer.
Affected products
- Golang.Org/X/Text: before 0.41.0 — fixed in 0.41.0
- golang.org/x/text/secure/precis: before 0.41.0 — fixed in 0.41.0
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