{"id":"GO-2026-5684","revision":null,"records":[{"revision":"0509248834484a0d97776ba6ac6e58ef","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-42328","aliases":[],"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.","state":0,"publishedAt":"2026-05-27T16:31:38.09+00:00","modifiedAt":"2026-05-28T14:14:09.825+00:00","affected":[{"ecosystem":"Vendor product","name":"go-ipld-prime","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"ipld\",\n                    \"product\": \"go-ipld-prime\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 0.23.0\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":6.2,"severity":"MEDIUM"}],"references":["https://github.com/ipld/go-ipld-prime/security/advisories/GHSA-w239-58x2-q8p5"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-42328","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-42328","identifiers":["CVE-2026-42328"]},"retained":false,"historicalAffected":[]},{"revision":"3c5fbbebf8854bc19fc3e07f9bdccea0","observedAt":"2026-11-07T09:33:56.023+00:00","statement":{"source":"euvd","id":"EUVD-2026-32581","aliases":["CVE-2026-42328","GHSA-w239-58x2-q8p5"],"title":"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-CB…","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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":6.2,"severity":null}],"references":["https://github.com/ipld/go-ipld-prime/security/advisories/GHSA-w239-58x2-q8p5"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-32581","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"May 27, 2026, 4:31:38 PM","dateUpdated":"May 28, 2026, 2:14:09 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-32581","identifiers":["EUVD-2026-32581","CVE-2026-42328","GHSA-w239-58x2-q8p5"]},"retained":false,"historicalAffected":[]},{"revision":"f565fcc0cb04436e8348cfd7ac667dbb","observedAt":"2026-10-27T11:12:01.124+00:00","statement":{"source":"nvd","id":"CVE-2026-42328","aliases":[],"title":"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-CB…","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.","state":0,"publishedAt":"2026-05-27T18:16:22.653+00:00","modifiedAt":"2026-10-26T11:10:00.157+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":6.2,"severity":"MEDIUM"}],"references":["https://github.com/ipld/go-ipld-prime/security/advisories/GHSA-w239-58x2-q8p5"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-42328","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Deferred","weaknesses":["CWE-674"],"productCriteria":[],"sourceDates":{"published":"2026-05-27T18:16:22.653","lastModified":"2026-10-26T11:10:00.157"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-42328","identifiers":["CVE-2026-42328"]},"retained":false,"historicalAffected":[]},{"revision":"14770e0a287b4cdf9f01f886c15e7624","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-w239-58x2-q8p5","aliases":["CVE-2026-42328","GO-2026-5684"],"title":"go-ipld-prime's DAG-CBOR and DAG-JSON decoders have unbounded recursion depth","description":"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).\n\nFor DAG-CBOR, a payload of approximately 2 MB, consisting of repeated `0x81` (array-of-1) bytes followed by a terminator, produces around 2 million recursion frames and reliably exhausts Go's default 1 GB goroutine stack. The existing allocation budget does not prevent this: each nested collection header costs only a handful of budget units, so the stack is exhausted before the budget is. DAG-JSON has equivalent exposure via `[[[...]]]`-style payloads; it has no budget system and is therefore unprotected against recursion depth as well.\n\nSchema-free decoding (using `basicnode.Prototype.Any`) allows arbitrary nesting depth. Schema-bound decoding bounds nesting only when the schema itself is non-recursive and contains no fields typed as `Any`; schemas with recursive type references or any `Any`-typed fields permit unconstrained nesting at those points.\n\nThe fix adds a configurable `MaxDepth` option to both decoders, defaulting to 1024 nested levels. The decoder returns `ErrDecodeDepthExceeded` when a payload nests beyond the limit. Well-formed IPLD data rarely approaches this depth in practice; the default is generous for legitimate use while preventing stack exhaustion.","state":0,"publishedAt":"2026-05-07T02:07:21+00:00","modifiedAt":"2026-09-10T03:51:07.1048372+00:00","affected":[{"ecosystem":"Go","name":"github.com/ipld/go-ipld-prime","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.23.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/ipld/go-ipld-prime/security/advisories/GHSA-w239-58x2-q8p5","https://nvd.nist.gov/vuln/detail/CVE-2026-42328","https://github.com/ipld/go-ipld-prime"],"sourceUrl":"https://github.com/advisories/GHSA-w239-58x2-q8p5","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-w239-58x2-q8p5","identifiers":["GHSA-w239-58x2-q8p5","CVE-2026-42328","GO-2026-5684"]},"retained":false,"historicalAffected":[]},{"revision":"ba9169da48054873b8e7fd335f17c048","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2026-5684","aliases":["CVE-2026-42328","GHSA-w239-58x2-q8p5"],"title":"Go-ipld-prime's DAG-CBOR and DAG-JSON decoders have unbounded recursion depth in github.com/ipld/go-ipld-prime","description":"Go-ipld-prime's DAG-CBOR and DAG-JSON decoders have unbounded recursion depth in github.com/ipld/go-ipld-prime","state":0,"publishedAt":"2026-07-24T18:35:55+00:00","modifiedAt":"2026-07-24T19:00:25.4181265+00:00","affected":[{"ecosystem":"Go","name":"github.com/ipld/go-ipld-prime","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.23.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://github.com/ipld/go-ipld-prime/security/advisories/GHSA-w239-58x2-q8p5","https://github.com/ipld/go-ipld-prime/pull/625"],"sourceUrl":"https://osv.dev/vulnerability/GO-2026-5684","license":"OSV · upstream source license applies","key":"osv:GO-2026-5684","identifiers":["GO-2026-5684","CVE-2026-42328","GHSA-w239-58x2-q8p5"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-07T18:07:22.4901130+00:00","complete":true,"records":1769,"lastAttemptAt":"2026-11-07T18:07:22.490113+00:00","lastSuccessAt":"2026-11-07T18:07:22.6844079+00:00","error":null,"lastVerifiedAt":"2026-11-07T18:07:22.6844094+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-bb5c9d5a08063ef076042e33dd72a7d0ffa4c4487efdcf3106e29ba55ec2ad57-345caf33bb1f4776307263ad25eb81e7ed5e705a56a2cd4eb1cf23a9dfb83a94","complete":true,"records":420935,"lastAttemptAt":"2026-11-07T18:07:21.9958253+00:00","lastSuccessAt":"2026-11-07T18:07:21.9319209+00:00","error":null,"lastVerifiedAt":"2026-11-07T18:07:21.9958253+00:00","snapshotPublishedAt":"2026-11-07T17:19:03+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-34a4c3afd7814be5b898afe39bc8de83","complete":true,"records":13633,"lastAttemptAt":"2026-11-07T18:19:20.2464002+00:00","lastSuccessAt":"2026-11-07T18:19:20.241+00:00","error":null,"lastVerifiedAt":"2026-11-07T18:19:20.241+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13685,"expectedIdentifiers":13685,"failedIdentifiers":0},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-07T18:07:22.4901130+00:00","complete":true,"records":1096,"lastAttemptAt":"2026-11-07T18:07:22.490113+00:00","lastSuccessAt":"2026-11-07T18:07:22.6855915+00:00","error":null,"lastVerifiedAt":"2026-11-07T18:07:22.6855918+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-4f3c43bc657c450cb497709a94b99465","complete":true,"records":13645,"lastAttemptAt":"2026-11-07T18:07:48.5826461+00:00","lastSuccessAt":"2026-11-07T18:07:48.579+00:00","error":null,"lastVerifiedAt":"2026-11-07T18:07:48.579+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13685,"expectedIdentifiers":13685,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-0eb4d6dde62dffacd040ad992d4fd5a65cd7d0dc5f5f4cfa8b41967fc6f9ca5f","complete":true,"records":9914,"lastAttemptAt":"2026-11-07T18:07:22.3499852+00:00","lastSuccessAt":"2026-11-06T20:10:36.6450506+00:00","error":null,"lastVerifiedAt":"2026-11-07T18:07:22.3499852+00:00","snapshotPublishedAt":"2026-11-06T20:02:57+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-fde804134ecdda0ddd5ff5c26ee1fff5a6fa659311f7ef2e51c6ad54964db0e2","complete":true,"records":1971,"lastAttemptAt":"2026-11-07T18:07:22.144189+00:00","lastSuccessAt":"2026-11-06T19:03:17.0399903+00:00","error":null,"lastVerifiedAt":"2026-11-07T18:07:22.144189+00:00","snapshotPublishedAt":"2026-11-06T18:17:57+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-335633e78a15c9cde10a6025895b5617717087fb945489ae7e15d377bacf34a9","complete":true,"records":3055,"lastAttemptAt":"2026-11-07T18:07:22.4566537+00:00","lastSuccessAt":"2026-11-06T16:03:00.7615789+00:00","error":null,"lastVerifiedAt":"2026-11-07T18:07:22.4566537+00:00","snapshotPublishedAt":"2026-11-06T16:02:48+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-40ad6183a951565ace1520a9b4d631e1d0bfb1d4bf7c5574c375032559f3ff53","complete":true,"records":231292,"lastAttemptAt":"2026-11-07T18:07:22.2465057+00:00","lastSuccessAt":"2026-11-07T10:29:00.4821259+00:00","error":null,"lastVerifiedAt":"2026-11-07T18:07:22.2465057+00:00","snapshotPublishedAt":"2026-11-07T09:32:47+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}