{"id":"CVE-2026-42328","summary":"go-ipld-prime: DAG-CBOR and DAG-JSON decoders unbounded recursion depth","details":"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.","aliases":["GHSA-w239-58x2-q8p5","GO-2026-5684"],"modified":"2026-08-27T18:26:03.904615302Z","published":"2026-05-27T16:31:38.090Z","related":["CGA-mfqr-h7vv-52gq","SUSE-SU-2026:23216-1","SUSE-SU-2026:23227-1","openSUSE-SU-2026:21551-1"],"database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-674"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42328.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42328.json"},{"type":"ADVISORY","url":"https://github.com/ipld/go-ipld-prime/security/advisories/GHSA-w239-58x2-q8p5"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42328"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/ipld/go-ipld-prime","events":[{"introduced":"0"},{"fixed":"bfde41887909ba55bce085800d7b7cbdf16caa62"}],"database_specific":{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"0"},{"fixed":"0.23.0"}]}}],"versions":["v0.22.0","v0.21.0","v0.20.0","v0.19.0","v0.18.0","v0.17.0","v0.16.0","v0.14.4","v0.14.3","v0.14.2","v0.14.1","v0.14.0","v0.12.3","v0.12.2","v0.12.1","v0.12.0","v0.11.0","v0.10.0","v0.9.0","v0.7.0","v0.6.0","v0.5.0","v0.5","v0.4.0","v0.4","v0.0.3","v0.0.2","v0.0.1-filecoin","v0.0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-42328.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}