Skip to main content

Go encoding/xml CVE-2026-56859

| EUVDEUVD-2026-58509 HIGH
Allocation of Resources Without Limits or Throttling (CWE-770)
7.5
CVSS 3.1 · Vendor
Share

Severity by source

Vendor (CNA) PRIMARY
7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI
7.5 HIGH

Network-reachable, unauthenticated DoS via crafted XML; no confidentiality or integrity impact; scope unchanged as crash is contained to the vulnerable process.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE
HIGH
qualitative
Red Hat
7.5 HIGH
qualitative

Primary rating from Vendor (CNA).

CVSS VectorVendor

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

6
Analysis Updated
Aug 14, 2026 - 16:35 vuln.today
v2 (cvss_changed)
Re-analysis Queued
Aug 14, 2026 - 16:22 vuln.today
cvss_changed
CVSS changed
Aug 14, 2026 - 16:22 NVD
7.5 (HIGH)
Patch available
Aug 13, 2026 - 23:04 EUVD
Analysis Generated
Aug 13, 2026 - 22:16 vuln.today
CVE Published
Aug 13, 2026 - 20:40 oss-security
CRITICAL

Description PRE-NVD

Disclosed via oss-security. NVD scoring and full description are pending.

AnalysisAI

Stack exhaustion in Go's standard library encoding/xml package exposes any Go application parsing untrusted XML to remote denial of service. The DecodeElement function incorrectly resets an internal recursion depth counter on each invocation, neutralizing the depth-limit guard that exists to prevent unbounded stack growth from deeply nested XML documents. Unauthenticated remote attackers can trigger goroutine stack exhaustion and crash the affected process with no authentication required. No public exploit code has been identified and the vulnerability is not listed in CISA KEV; EPSS is 0.18% (8th percentile), reflecting low near-term exploitation probability despite the straightforward attack primitive.

Technical ContextAI

The affected component is the encoding/xml package within the Go standard library, used pervasively for XML parsing across the Go ecosystem. The root cause is CWE-770 (Allocation of Resources Without Limits or Throttling): the DecodeElement method was designed to enforce a maximum recursion depth to prevent stack exhaustion when walking deeply nested XML element trees, but a logic defect causes it to reset the depth counter on each invocation rather than accumulating it. This means the depth limit guard never actually fires regardless of XML nesting depth, allowing the call stack to grow without bound until the goroutine's stack limit is exceeded. The vulnerability is tracked as GO-2026-6088 in the Go vulnerability database and spans multiple supported Go release branches as identified by CPE-equivalent version ranges in EUVD-2026-58509.

RemediationAI

Upgrade the Go toolchain to version 1.25.13, 1.26.6, or 1.27.0-rc.3 or later, depending on the release branch in use; the fix is confirmed available per the vendor advisory at https://pkg.go.dev/vuln/GO-2026-6088 and the change is tracked at https://go.dev/cl/803320. Applications must be recompiled against the patched Go toolchain - simply updating the toolchain without rebuilding binaries does not remediate deployed services. Where immediate patching is not feasible, a concrete compensating control is to validate and reject XML input that exceeds a safe nesting depth before passing it to DecodeElement; this adds latency to the parsing path but removes the exploit vector without requiring a toolchain upgrade. Alternatively, refactoring affected code to use xml.NewDecoder with Token-level iteration rather than DecodeElement avoids the vulnerable code path entirely, though this requires application-level changes. Restricting access to XML-consuming endpoints via network controls or authentication reduces exposure for internal services.

Vendor StatusVendor

SUSE

Severity: Important
Product Status
openSUSE Tumbleweed Fixed
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS Affected
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS Affected
SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS Affected
SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS Affected

Share

CVE-2026-56859 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy