GO-2026-5972

Enforce maximum recursion depth in encoding/asn1

At a glance

Published
Updated
CVE
CVE-2026-33818
Aliases
BIT-golang-2026-33818

Description

Enforce a recursion limit in Unmarshal to prevent stack exhaustion when parsing deeply-nested, recursive structures.

Affected packages

PackageVersions
Go · stdlibintroduced 0, fixed 1.25.13, introduced 1.26.0-0, fixed 1.26.6, introduced 1.27.0-0, fixed 1.27.0-rc.3

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — Go Vulnerability Database