{"id":"CVE-2022-30635","aliases":["CVE-2022-30635","GO-2022-0526","BIT-GOLANG-2022-30635"],"related":[],"kind":"vulnerability","state":"published","title":"Stack exhaustion when decoding certain messages in encoding/gob","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"Calling Decoder.Decode on a message which contains deeply nested structures can cause a panic due to stack exhaustion.","format":"markdown","source":"go"},{"lang":"es","text":"Una recursión no controlada en el archivo Decoder.Decode en encoding/gob versiones anteriores a Go 1.17.12 y Go 1.18.4, permite a un atacante causar un pánico debido al agotamiento de la pila por medio de un mensaje que contiene estructuras profundamente anidadas","source":"nvd"}],"published":"2022-07-20T20:52:17.000Z","modified":"2026-09-08T08:47:48.983Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-674"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"1.17.12","status":"affected"},{"type":"semver","introduced":"1.18.0-0","fixed":"1.18.4","status":"affected"}],"vendor":"Go standard library","product":"encoding/gob","package":"encoding/gob","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.17.12"},{"type":"semver","introduced":"1.18.0-0","status":"affected","fixed":"1.18.4"}],"ecosystem":"Go","package":"stdlib","purl":"pkg:golang/stdlib","source":"go"},{"ranges":[{"status":"affected","fixed":"1.17.12"},{"status":"affected","introduced":"1.18.0","fixed":"1.18.4"}],"vendor":"golang","product":"go","cpe":"cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.17.12"},{"type":"semver","introduced":"1.18.0","status":"affected","fixed":"1.18.4"}],"ecosystem":"Bitnami","package":"golang","purl":"pkg:bitnami/golang","source":"bitnami"}],"references":[{"url":"https://go.dev/cl/417064","tags":["advisory","fix","patch","vendor-advisory","x-transferred"],"sources":["cvelist","go","nvd","bitnami"]},{"url":"https://go.googlesource.com/go/+/6fa37e98ea4382bf881428ee0c150ce591500eb7","tags":["advisory","fix","mailing-list","patch","vendor-advisory","x-transferred"],"sources":["cvelist","go","nvd","bitnami"]},{"url":"https://go.dev/issue/53615","tags":["advisory","issue-tracking","report","vendor-advisory","x-transferred"],"sources":["cvelist","go","nvd","bitnami"]},{"url":"https://groups.google.com/g/golang-announce/c/nqrv9fbR0zE","tags":["advisory","mailing-list","vendor-advisory","web","x-transferred"],"sources":["cvelist","go","nvd","bitnami"]},{"url":"https://pkg.go.dev/vuln/GO-2022-0526","tags":["advisory","vendor-advisory","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-30635","tags":["web"],"sources":["bitnami"]}],"credits":[],"assigner":"Go","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-03-06T17:44:14.218Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-30635","url":"https://www.cve.org/CVERecord?id=CVE-2022-30635","licence":"CVE Terms of Use","modified":"2026-03-06T17:44:24.600Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2022-0526","url":"https://pkg.go.dev/vuln/GO-2022-0526","licence":"CC-BY-4.0","modified":"2024-05-20T16:03:47.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-30635","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-30635","licence":"Public domain","modified":"2026-06-17T04:43:59.430Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-GOLANG-2022-30635","url":"https://osv.dev/vulnerability/BIT-GOLANG-2022-30635","licence":"Apache-2.0","modified":"2026-09-08T08:47:48.983Z"}],"updatedAt":"2026-11-25T22:58:14.065Z","epss":{"score":0.01915,"percentile":0.80447,"date":"2026-12-01T12:00:22.000Z"}}