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

Status: published. Published: 2026-08-13. Updated: 2026-11-01.

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

## Remediation

No remediation reported in collected sources

## Affected products and versions

- Go standard library / encoding/asn1 (encoding/asn1): ≥ 0; < 1.25.13 (affected, semver); ≥ 1.26.0-0; < 1.26.6 (affected, semver); ≥ 1.27.0-0; < 1.27.0-rc.3 (affected, semver). Source: CNA: Go

## Severity and prioritization

- CVSS 3.1: 7.5 (high); CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H; source: ADP: CISA-ADP

- CISA KEV: No listing in collected sources

- EPSS: 0.57% as of 2026-11-01; percentile 47.08%

- SSVC: exploitation none; automatable yes; technical impact partial; source ADP: CISA-ADP

- Weaknesses: CWE-400

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://go.dev/issue/80405 (CNA: Go)

- https://groups.google.com/g/golang-announce/c/94pEornpRlI (CNA: Go)

- https://go.dev/cl/814980 (CNA: Go)

- https://pkg.go.dev/vuln/GO-2026-5972 (CNA: Go)

## Provenance

- CNA: Go: https://www.cve.org/CVERecord?id=CVE-2026-33818; retrieved 2026-11-02; source updated 2026-11-01

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2026-33818; retrieved 2026-11-02; source updated Not reported

Revision: 0c1cb69b88155a87d07fd8041ec2153d8f6b9ec1e392e2f7e7c3e333c20ec699

Canonical: https://y2.dev/cve/CVE-2026-33818