High severity · published Aug 13, 2026
CVE-2026-33818
Enforce maximum recursion depth in encoding/asn1
7.5
CVSS
0.6%
EPSS
No
On KEV
Description
Enforce a recursion limit in Unmarshal to prevent stack exhaustion when parsing deeply-nested, recursive structures.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.6% · higher than 47% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
EN
encoding/asn1 · Go standard library
before 1.25.13; 1.26.0-0 before 1.26.6; 1.27.0-0 before 1.27.0-rc.3 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-33818
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-33818
go.dev
https://go.dev/issue/80405
groups.google.com
https://groups.google.com/g/golang-announce/c/94pEornpRlI
go.dev
https://go.dev/cl/814980
pkg.go.dev
https://pkg.go.dev/vuln/GO-2026-5972
More from encoding/asn1
5.3
CVE-2025-58185
Parsing DER payload can cause memory exhaustion in encoding/asn1
