{"id":"CVE-2024-34156","published":"2024-09-06T20:42:42Z","modified":"2024-09-26T15:03:08Z","title":"Stack exhaustion in Decoder.Decode in encoding/gob","vendor":"Go standard library","product":"encoding/gob","tier":"tail","description":{"text":"Calling Decoder.Decode on a message which contains deeply nested structures can cause a panic due to stack exhaustion. This is a follow-up to CVE-2022-30635.","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.01127,"percentile":0.67126,"provenance":"source"},"cwes":[],"references":[{"url":"https://go.dev/cl/611239","tags":[]},{"url":"https://go.dev/issue/69139","tags":[]},{"url":"https://groups.google.com/g/golang-dev/c/S9POB9NCTdk","tags":[]},{"url":"https://pkg.go.dev/vuln/GO-2024-3106","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20240926-0004/","tags":[]}],"priority":{"score":18.7,"factors":[{"name":"EPSS percentile","points":13.43},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"go-standard-library","affectedVersions":[{"vendor":"Go standard library","product":"encoding/gob","versions":["< 1.22.7",">= 1.23.0-0, < 1.23.1"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2024-09-09T14:04:16.338747Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"stdlib","vulnerableRanges":["<1.22.7",">=1.23.0-0, <1.23.1"],"patched":["1.22.7","1.23.1"],"from":["GO-2024-3106"],"provenance":"source"}],"summary":{"text":"The flaw is a stack exhaustion condition in the Decoder.Decode method of the encoding/gob package in the Go standard library. An attacker who can supply a message containing deeply nested structures to Decoder.Decode can trigger a panic, with no authentication or user interaction required and only network access needed to deliver the message.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:34:15Z"},"euvd":{"id":"EUVD-2024-34665","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-go-standard-library-encoding-gob-cve-2022-30635","parents":[{"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"}]}],"packageHistory":[{"cve":"CVE-2024-24790","published":"2024-06-05","fixed":"1.22.4","kev":false},{"cve":"CVE-2024-24791","published":"2024-07-02","fixed":"1.22.5","kev":false,"link":{"from":"CVE-2024-24791","to":"CVE-2024-34156","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:stdlib","fromFixed":"1.22.5","toFixed":"1.22.7","daysApart":66}]}},{"cve":"CVE-2024-34155","published":"2024-09-06","fixed":"1.23.1","kev":false},{"cve":"CVE-2024-34156","published":"2024-09-06","fixed":"1.23.1","kev":false},{"cve":"CVE-2024-34158","published":"2024-09-06","fixed":"1.23.1","kev":false},{"cve":"CVE-2024-45336","published":"2025-01-28","fixed":"1.24.0-rc.2","kev":false},{"cve":"CVE-2024-45341","published":"2025-01-28","fixed":"1.24.0-rc.2","kev":false}],"package":"Go:stdlib"}}