Y2
Public vulnerability disclosure

CVE-2026-33818

Enforce maximum recursion depth in encoding/asn1

publishedCWE-400

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

Technical severity7.5 highCVSS 3.1 · ADP: CISA-ADP
Published2026-08-13Source updated 2026-11-01
Collected2026-11-022 attributed sources

Fixes and workarounds

No remediation reported in collected sources.

Missing remediation information is not evidence that no patch exists.

Affected products and versions

Affected products, source version ranges and reporting authorities
ProductVersionsAuthority
encoding/asn1
Go standard library
encoding/asn1
https://pkg.go.dev
≥ 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)
Other versions: unaffected
CNA: Go

Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.

CVSS assessments

CVSS scores, vectors and reporting authorities
Version / scoreVectorAuthority
3.1 / 7.5
high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HADP: CISA-ADP

Exploit evidence

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

References