Skip to content

encoding/xml: (*Decoder).DecodeElement bypasses recursion-depth guard #80481

Description

@jitsu-net

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

Thanks to Moran Omer (GitHub: moraneus) for reporting this issue.

This is CVE-2026-56859 and Go issue https://go.dev/issue/80481.


This was a PUBLIC track issue, tracked in http://b/523596497.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    FixPendingIssues that have a fix which has not yet been reviewed or submitted.Securityrelease-blocker

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions