CVE-2026-56859: Go Standard Library Encoding/xml

High severity, CVSS 7.5. EPSS: 0.6% chance of exploitation in the next 30 days.

Previously, DecodeElement would reset the depth counter causing it to never fire; this could lead to stack exhaustion.

Affected products

  • Go Standard Library Encoding/xml: before 1.25.13 (fixed in 1.25.13); from 1.26.0-0, before 1.26.6 (fixed in 1.26.6); from 1.27.0-0, before 1.27.0-rc.3 (fixed in 1.27.0-rc.3)

Published 2026-08-13. Last modified 2026-09-03.