CVE-2026-56859

Summary

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

Affected Software

VendorProductVersion RangeStatus
Go standard libraryencoding/xml0 < 1.25.13affected
Go standard libraryencoding/xml1.26.0-0 < 1.26.6affected
Go standard libraryencoding/xml1.27.0-0 < 1.27.0-rc.3affected

Weaknesses

  • CWE-770: Allocation of Resources Without Limits or Throttling

References