Vulnerability · Published Oct 7, 2026 · Assigned by Go

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

High 7.5

In plain English

A high-severity out-of-bounds write in golang.org/x/text/secure/precis from golang.org/x/text. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 40% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.5%top 59.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12golang-golang-x-textno fix listedDEBIAN-CVE-2026-56851
Debian:13golang-golang-x-textno fix listedDEBIAN-CVE-2026-56851
Debian:14golang-golang-x-text0.41.0-1DEBIAN-CVE-2026-56851
Gogolang.org/x/text0.41.0GO-2026-6629
Ubuntu:22.04:LTSgolang-golang-x-textno fix listedUBUNTU-CVE-2026-56851
Ubuntu:24.04:LTSgolang-golang-x-textno fix listedUBUNTU-CVE-2026-56851
Ubuntu:26.04:LTSgolang-golang-x-textno fix listedUBUNTU-CVE-2026-56851
Ubuntu:26.10golang-golang-x-textno fix listedUBUNTU-CVE-2026-56851

Affected products (as reported)

VendorProductVersions
golang.org/x/text golang.org/x/text/secure/precis 0 – before 0.41.0

Weakness: CWE-787 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References