CVE-2026-42328
MEDIUM 6.2CVSS 3.1go-ipld-prime's DAG-CBOR and DAG-JSON decoders have unbounded recursion depth
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.
- Published
- 27 May 2026
- Last modified
- 26 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-674
- Also known as
- GHSA-w239-58x2-q8p5GO-2026-5684
- Sources
- NVDJSONOSV GHSA-w239-58x2-q8p5JSONOSV GO-2026-5684JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.2 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.2 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/ipld/go-ipld-prime | < 0.23.0 | 0.23.0 |
References
- https://github.com/ipld/go-ipld-prime/security/advisories/GHSA-w239-58x2-q8p5 · WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-42328 · ADVISORY
- https://github.com/ipld/go-ipld-prime · PACKAGE
- https://github.com/ipld/go-ipld-prime/pull/625 · FIX
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 27 May 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 24 Jul 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 7 May 2026)