What’s Vulnerable › Vulnerabilities

CVE-2026-33818: Enforce maximum recursion depth in encoding/asn1

Description

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

Affected products

How to fix

Upgrade to a fixed version: Go Stdlib 1.25.13, 1.26.6, 1.27.0-rc.3; Go standard library encoding/asn1 1.25.13, 1.26.6, 1.27.0-rc.3. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-33818 or the next vulnerability affects your stack