PHP2Shell: Read our blog on the critical RCE vulnerabilities affecting 70% of the Internet

CVE-2026-56851: 
New Relic Agent vulnerability analysis and mitigation

Overview

CVE-2026-56851 is a denial-of-service vulnerability in the golang.org/x/text/secure/precis Go package, specifically affecting the Nickname profile transformation function. When processing crafted input into a short destination buffer, the Nickname profile can trigger a panic due to an out-of-bounds slice error. All versions of golang.org/x/text/secure/precis prior to 0.41.0 are affected. The vulnerability was published on October 7, 2026, with a patch released in version 0.41.0. It carries a CVSS v3.1 base score of 7.5 (High) (GitHub Advisory).

Technical details

The root cause is classified as CWE-787 (Out-of-bounds Write): the Nickname profile's transformation logic writes or accesses data beyond the bounds of a short destination buffer when processing specially crafted input strings. The attack vector is network-based, requires no authentication or user interaction, and has low attack complexity, making it straightforward to trigger remotely. An attacker simply needs to supply a crafted string to any application endpoint that passes input through the precis Nickname profile transformation. Relevant upstream references include the Go issue tracker and code review (Go Issue, Go CL, Go Vuln DB).

Impact

Successful exploitation causes the affected Go application to panic and crash, resulting in a denial of service. The impact is limited to availability — there is no confidentiality or integrity impact, as the vulnerability does not expose data or allow unauthorized modification. Any application that uses the golang.org/x/text/secure/precis Nickname profile to process untrusted input is at risk of being remotely crashed by an unauthenticated attacker (GitHub Advisory).

Exploitability

There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation at this time (GitHub Advisory). The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The EPSS score is approximately 0.155% (0.00155), indicating a low probability of exploitation in the near term. However, the attack is classified as automatable with no privileges or user interaction required, meaning exploitation could be straightforward once a viable payload is identified.

Exploitation steps

  1. Reconnaissance: Identify applications built with Go that use golang.org/x/text/secure/precis versions prior to 0.41.0, particularly those exposing endpoints that accept user-supplied strings processed through the Nickname profile (e.g., username normalization, XMPP, or similar identity fields).
  2. Craft malicious input: Construct a string payload designed to trigger the out-of-bounds slice condition when the Nickname profile attempts to transform it into a short destination buffer. The exact payload characteristics are not publicly documented, but the trigger involves input that causes the transformation to exceed buffer bounds.
  3. Submit payload: Send the crafted input to the target application via any network-accessible interface (e.g., HTTP API, login form, registration endpoint) that passes the value through the precis.Nickname.Transform() or equivalent function.
  4. Trigger panic: The application's Go runtime encounters the out-of-bounds slice access and panics, crashing the process or goroutine and causing a denial of service (Go Issue, GitHub Advisory).

Indicators of compromise

  • Logs: Application logs showing unexpected Go runtime panic messages such as runtime error: slice bounds out of range or panic: runtime error originating from golang.org/x/text/secure/precis stack frames.
  • Process: Sudden, repeated crashes or restarts of Go application processes, particularly correlated with incoming network requests containing unusual string inputs.
  • Network: Repeated requests to endpoints that handle username or nickname normalization, especially with non-standard Unicode or specially encoded string values.

Mitigation and workarounds

The fix is available in golang.org/x/text version 0.41.0 and later; upgrading to this version is the recommended remediation (GitHub Advisory, Go Vuln DB). For teams unable to patch immediately, implementing input validation or size limits on strings processed through the Nickname profile can reduce exposure by preventing crafted payloads from reaching the vulnerable code path. Developers should audit all usages of precis.Nickname in their codebases and ensure dependencies are updated.

Community reactions

The vulnerability was included in Microsoft's October 2026 Patch Tuesday coverage, which addressed a record 1,411 flaws (BleepingComputer). Tenable published detection plugins for the vulnerability. No significant independent researcher commentary or social media discussion has been identified beyond standard aggregator coverage.

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

golang-golang-x-text

Affected

sid

golang-golang-x-text: 0.41.0-1

Fixed

trixie

golang-golang-x-text

Affected

Ubuntu

Unknown

bionic (esm-apps)

golang-x-text

Unknown

devel

golang-golang-x-text

Unknown

focal (esm-apps)

golang-golang-x-text

Unknown

jammy

golang-golang-x-text

Unknown

jammy (esm-apps)

golang-golang-x-text

Unknown

noble

golang-golang-x-text

Unknown

noble (esm-apps)

golang-golang-x-text

Unknown

resolute

golang-golang-x-text

Unknown

Source: This report was generated using AI

Related New Relic Agent vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-94447HIGH7.8
  • Go logoGo
  • cluster-proportional-autoscaler
NoYesOct 08, 2026
CVE-2026-97032HIGH7.5
  • Go logoGo
  • gitlab-kas-19.2
NoYesOct 08, 2026
CVE-2026-97031HIGH7.5
  • Go logoGo
  • terraform-fips-1.13
NoYesOct 08, 2026
CVE-2026-97030MEDIUM6.1
  • Go logoGo
  • wait-for-port
NoYesOct 08, 2026
CVE-2026-94448MEDIUM6.1
  • Go logoGo
  • buildah-tests
NoYesOct 08, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management