CVE-2026-56859

Add recursion depth guard during decode in encoding/xml

Published Aug 13, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
Previously, DecodeElement would reset the depth counter causing it to never fire; this could lead to stack exhaustion.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8935-1 Go vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-674
Type Values Removed Values Added
Weaknesses CWE-770
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Go Standard Library
Go Standard Library encoding/xml
Vendors & Products Go Standard Library
Go Standard Library encoding/xml
Type Values Removed Values Added
Weaknesses CWE-674
Type Values Removed Values Added
Description Previously, DecodeElement would reset the depth counter causing it to never fire; this could lead to stack exhaustion.
Title Add recursion depth guard during decode in encoding/xml
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Go
Published
Updated
Aug 14, 2026, 3:21 PM
Reserved
Jun 23, 2026, 3:10 PM
Status
Awaiting Analysis
Published
Aug 13, 2026, 10:17 PM
Modified
Sep 3, 2026, 4:37 PM
Severity
Important
Public date
Aug 13, 2026, 9:58 PM