← CVE Intelligence

CVE-2026-56859

Add recursion depth guard during decode in encoding/xml PUBLISHED

Description (CNA)

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

Affected (CNA)

Vendor / productVersions
Go standard library / encoding/xmlaffected 0 before 1.25.13; affected 1.26.0-0 before 1.26.6; affected 1.27.0-0 before 1.27.0-rc.3

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.