Skip to main content
← All vulnerabilities
CVE-2026-42328GO-2026-5684GHSA-W239-58X2-Q8P5

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.23.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • ipld go-ipld-prime

    fixed in 0.23.0

  • github.com/ipld/go-ipld-primeGo

    fixed in 0.23.0

References 1

GitHub · ipld/go-ipld-prime