{"id":"CVE-2026-42328","published":"2026-05-27T16:31:38Z","modified":"2026-05-28T14:14:09Z","title":"go-ipld-prime: DAG-CBOR and DAG-JSON decoders unbounded recursion depth","vendor":"ipld","product":"go-ipld-prime","tier":"tail","description":{"text":"go-ipld-prime is an implementation of the InterPlanetary Linked Data (IPLD) spec interfaces, a batteries-included codec implementations of IPLD for CBOR and JSON, and tooling for basic operations on IPLD objects. Prior to 0.23.0, the DAG-CBOR and DAG-JSON decoders recurse on each nested map or list without a depth limit. A payload containing deeply nested collections causes the decoder to recurse once per level, growing the goroutine stack until the Go runtime terminates the process with a fatal stack overflow (distinct from a recoverable panic). This vulnerability is fixed in 0.23.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.2,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0012,"percentile":0.01885,"provenance":"source"},"cwes":[{"id":"CWE-674","name":"Uncontrolled Recursion"}],"references":[{"url":"https://github.com/ipld/go-ipld-prime/security/advisories/GHSA-w239-58x2-q8p5","tags":["x_refsource_CONFIRM"]}],"priority":{"score":4.7,"factors":[{"name":"EPSS percentile","points":0.38},{"name":"CVSS severity","points":4.34}]},"vendorSlug":"ipld","affectedVersions":[{"vendor":"ipld","product":"go-ipld-prime","versions":["< 0.23.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-28T14:14:03.306469Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/ipld/go-ipld-prime","vulnerableRanges":["<0.23.0"],"patched":["0.23.0"],"from":["GHSA-w239-58x2-q8p5","GO-2026-5684"],"provenance":"source"}],"summary":{"text":"go-ipld-prime, an IPLD codec library for Go, has DAG-CBOR and DAG-JSON decoders that recurse once per nested map or list without any depth limit, in versions prior to 0.23.0. An attacker who can get a deeply nested payload to a process that decodes it locally, with no authentication or user interaction required, can exhaust the goroutine stack and crash the process with a fatal stack overflow that cannot be recovered.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:20:22Z"},"euvd":{"id":"EUVD-2026-32581","exploited":false,"provenance":"source"}}