Refine your search

1 vulnerability found for golang.org/x/text/secure/precis by golang.org/x/text

CVE-2026-56851 (GCVE-0-2026-56851)
Vulnerability from cvelistv5
Published
2026-10-07 17:46
Modified
2026-10-08 13:49
Summary
The Nickname profile can panic with an out-of-bounds slice error when transforming crafted input into a short destination buffer.
Impacted products
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "cvssV3_1": {
              "attackComplexity": "LOW",
              "attackVector": "NETWORK",
              "availabilityImpact": "HIGH",
              "baseScore": 7.5,
              "baseSeverity": "HIGH",
              "confidentialityImpact": "NONE",
              "integrityImpact": "NONE",
              "privilegesRequired": "NONE",
              "scope": "UNCHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
              "version": "3.1"
            }
          },
          {
            "other": {
              "content": {
                "id": "CVE-2026-56851",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "yes"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-10-08T13:48:57.351617Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "problemTypes": [
          {
            "descriptions": [
              {
                "cweId": "CWE-787",
                "description": "CWE-787 Out-of-bounds Write",
                "lang": "en",
                "type": "CWE"
              }
            ]
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-10-08T13:49:06.348Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "collectionURL": "https://pkg.go.dev",
          "defaultStatus": "unaffected",
          "packageName": "golang.org/x/text/secure/precis",
          "product": "golang.org/x/text/secure/precis",
          "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"
            }
          ],
          "vendor": "golang.org/x/text",
          "versions": [
            {
              "lessThan": "0.41.0",
              "status": "affected",
              "version": "0",
              "versionType": "semver"
            }
          ]
        }
      ],
      "credits": [
        {
          "lang": "en",
          "value": "Omkhar Arasaratnam (GitHub: omkhar)"
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "The Nickname profile can panic with an out-of-bounds slice error when transforming crafted input into a short destination buffer."
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "description": "CWE-787: Out-of-bounds Write",
              "lang": "en"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-07T17:46:35.620Z",
        "orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
        "shortName": "Go"
      },
      "references": [
        {
          "url": "https://go.dev/cl/793360"
        },
        {
          "url": "https://go.dev/issue/80112"
        },
        {
          "url": "https://pkg.go.dev/vuln/GO-2026-6629"
        }
      ],
      "title": "Panic parsing crafted input in x/text/secure/precis in golang.org/x/text"
    }
  },
  "cveMetadata": {
    "assignerOrgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
    "assignerShortName": "Go",
    "cveId": "CVE-2026-56851",
    "datePublished": "2026-10-07T17:46:35.620Z",
    "dateReserved": "2026-06-23T15:10:49.352Z",
    "dateUpdated": "2026-10-08T13:49:06.348Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}