{"id":"CVE-2022-30635","published":"2022-08-09T20:16:05Z","modified":"2026-03-06T17:44:24Z","title":"Stack exhaustion when decoding certain messages in encoding/gob","vendor":"Go standard library","product":"encoding/gob","tier":"tail","description":{"text":"Uncontrolled recursion in Decoder.Decode in encoding/gob before Go 1.17.12 and Go 1.18.4 allows an attacker to cause a panic due to stack exhaustion via a message which contains deeply nested structures.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.01915,"percentile":0.80358,"provenance":"source"},"cwes":[{"id":"CWE-674","name":"Uncontrolled Recursion"}],"references":[{"url":"https://go.dev/cl/417064","tags":[]},{"url":"https://go.googlesource.com/go/+/6fa37e98ea4382bf881428ee0c150ce591500eb7","tags":[]},{"url":"https://go.dev/issue/53615","tags":[]},{"url":"https://groups.google.com/g/golang-announce/c/nqrv9fbR0zE","tags":[]},{"url":"https://pkg.go.dev/vuln/GO-2022-0526","tags":[]}],"priority":{"score":21.3,"factors":[{"name":"EPSS percentile","points":16.07},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"go-standard-library","affectedVersions":[{"vendor":"Go standard library","product":"encoding/gob","versions":["< 1.17.12",">= 1.18.0-0, < 1.18.4"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-03-06T17:44:14.218881Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"stdlib","vulnerableRanges":["<1.17.12",">=1.18.0-0, <1.18.4"],"patched":["1.17.12","1.18.4"],"from":["GO-2022-0526"],"provenance":"source"}],"summary":{"text":"The flaw is uncontrolled recursion in Decoder.Decode in the encoding/gob component of the Go standard library. An attacker can trigger a panic through stack exhaustion by sending a message containing deeply nested structures, requiring only network access to a service that decodes such input, with no authentication or user interaction needed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:11:19Z"},"euvd":{"id":"EUVD-2022-52466","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-go-standard-library-encoding-gob-cve-2022-30635","children":[{"from":"CVE-2022-30635","to":"CVE-2024-34156","relation":"related","confidence":"high","kind":"lineage","evidence":[{"kind":"osv-related","provenance":"source","id":"GO-2024-3106","via":"related"},{"kind":"similar","provenance":"machine","score":0.68,"basis":"same product + description similarity"}]}]}}