CVE-2026-42328 MEDIUM

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

Vendor Ipld
Product go-ipld-prime
Weakness CWE-674
Published May 27, 2026
Last update May 28, 2026

CVSS base score

6.2/10
Attack vector Local
Attack complexity Low
Privileges required None
User interaction None
Confidentiality None
Integrity None

CVSS vector

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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

May 27, 2026 CVE published
May 28, 2026 Record updated