CVE-2026-42328 PUBLISHED

go-ipld-prime: DAG-CBOR and DAG-JSON decoders unbounded recursion depth

Assigner: GitHub_M
Reserved: 26.04.2026 Published: 27.05.2026 Updated: 28.05.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS Score: 6.2

Product Status

Vendor ipld
Product go-ipld-prime
Versions
  • Version < 0.23.0 is affected

References

Problem Types

  • CWE-674: Uncontrolled Recursion CWE