ADVISORIES

Vulnerability

CVE-2026-42328

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.

52 advisories report this vulnerability, across 5 ecosystems.

Advisories in Go

  • GHSA-w239-58x2-q8p5

    go-ipld-prime's DAG-CBOR and DAG-JSON decoders have unbounded recursion depth

    Moderate CVE-2026-42328 Go Updated 10 September 2026
  • GO-2026-5684

    Go-ipld-prime's DAG-CBOR and DAG-JSON decoders have unbounded recursion depth in github.com/ipld/go-ipld-prime

    CVE-2026-42328 Go Updated 24 July 2026

References