{"id":"CVE-2026-42328","state":"PUBLISHED","title":"go-ipld-prime: DAG-CBOR and DAG-JSON decoders unbounded recursion depth","description":"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.","publishedAt":"2026-05-27T16:31:38.090Z","updatedAt":"2026-05-28T14:14:09.825Z","severity":{"score":6.2,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["ipld go-ipld-prime"],"affected":[{"vendor":"ipld","product":"go-ipld-prime","versions":[{"version":"< 0.23.0","status":"affected"}]}],"references":["https://github.com/ipld/go-ipld-prime/security/advisories/GHSA-w239-58x2-q8p5"],"weaknesses":["CWE-674"],"ingestedAt":"2026-10-29T20:11:57.932Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/42xxx/CVE-2026-42328.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-42328","state":"PUBLISHED","datePublished":"2026-05-27T16:31:38.090Z","dateUpdated":"2026-05-28T14:14:09.825Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-04-26T12:37:18.171Z"},"containers":{"cna":{"title":"go-ipld-prime: DAG-CBOR and DAG-JSON decoders unbounded recursion depth","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"ipld","product":"go-ipld-prime","versions":[{"version":"< 0.23.0","status":"affected"}]}],"references":[{"url":"https://github.com/ipld/go-ipld-prime/security/advisories/GHSA-w239-58x2-q8p5","name":"https://github.com/ipld/go-ipld-prime/security/advisories/GHSA-w239-58x2-q8p5","tags":["x_refsource_CONFIRM"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":6.2,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-674","lang":"en","description":"CWE-674: Uncontrolled Recursion","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-05-27T16:31:38.090Z"},"source":{"advisory":"GHSA-w239-58x2-q8p5","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-05-28T14:14:03.306469Z","id":"CVE-2026-42328","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-05-28T14:14:09.825Z"}}]}}}