{"id":"CVE-2026-33818","revision":"34259687117742798a4654cfb4b78d2d","records":[{"revision":"34259687117742798a4654cfb4b78d2d","observedAt":"2026-10-23T16:01:20.601+00:00","statement":{"source":"cve-program","id":"CVE-2026-33818","aliases":[],"title":"Enforce maximum recursion depth in encoding/asn1","description":"Enforce a recursion limit in Unmarshal to prevent stack exhaustion when parsing deeply-nested, recursive structures.","state":0,"publishedAt":"2026-08-13T21:58:52.821+00:00","modifiedAt":"2026-10-23T10:14:00.268+00:00","affected":[{"ecosystem":"https://pkg.go.dev","name":"encoding/asn1","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"Go standard library\",\n                    \"product\": \"encoding/asn1\",\n                    \"collectionURL\": \"https://pkg.go.dev\",\n                    \"packageName\": \"encoding/asn1\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"1.25.13\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"1.26.0-0\",\n                            \"lessThan\": \"1.26.6\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"1.27.0-0\",\n                            \"lessThan\": \"1.27.0-rc.3\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ],\n                    \"programRoutines\": [\n                        {\n                            \"name\": \"parseSequenceOf\"\n                        },\n                        {\n                            \"name\": \"parseField\"\n                        },\n                        {\n                            \"name\": \"UnmarshalWithParams\"\n                        },\n                        {\n                            \"name\": \"Unmarshal\"\n                        }\n                    ],\n                    \"defaultStatus\": \"unaffected\"\n                }"}],"metrics":[],"references":["https://go.dev/issue/80405","https://groups.google.com/g/golang-announce/c/94pEornpRlI","https://go.dev/cl/814980","https://pkg.go.dev/vuln/GO-2026-5972"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-33818","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-33818","identifiers":["CVE-2026-33818"]},"retained":false,"historicalAffected":[]}],"coverage":[]}