CVE 6.2 MEDIUM

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

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

Description

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.

Basic Information

ID CVE-2026-42328
Source GitHub_M
Published May 27, 2026 at 16:31

Affected Product

Vendor ipld
Product go-ipld-prime
Version < 0.23.0
Affected Versions ipld go-ipld-prime < 0.23.0

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.