CVE-2026-42328: CWE-674: Uncontrolled Recursion in ipld go-ipld-prime
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.
AI Analysis
Technical Summary
CVE-2026-42328 is a vulnerability in the go-ipld-prime library, an implementation of the IPLD specification. The DAG-CBOR and DAG-JSON decoders recursively process nested maps or lists without limiting recursion depth. When processing payloads with deeply nested collections, this uncontrolled recursion causes the goroutine stack to grow until the Go runtime forcibly terminates the process with a fatal stack overflow error. This denial-of-service condition affects versions prior to 0.23.0 and is resolved in version 0.23.0.
Potential Impact
The vulnerability results in a denial-of-service condition by causing the application using go-ipld-prime to crash due to a fatal stack overflow. There is no impact on confidentiality or integrity, only availability is affected. No known exploits are reported in the wild.
Mitigation Recommendations
Upgrade to go-ipld-prime version 0.23.0 or later, where this uncontrolled recursion issue is fixed. Patch status is confirmed by the vendor advisory indicating the fix in version 0.23.0. No other mitigations are specified.
CVE-2026-42328: CWE-674: Uncontrolled Recursion in ipld go-ipld-prime
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.
CVSS v3.1
Score 6.2medium
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-42328 is a vulnerability in the go-ipld-prime library, an implementation of the IPLD specification. The DAG-CBOR and DAG-JSON decoders recursively process nested maps or lists without limiting recursion depth. When processing payloads with deeply nested collections, this uncontrolled recursion causes the goroutine stack to grow until the Go runtime forcibly terminates the process with a fatal stack overflow error. This denial-of-service condition affects versions prior to 0.23.0 and is resolved in version 0.23.0.
Potential Impact
The vulnerability results in a denial-of-service condition by causing the application using go-ipld-prime to crash due to a fatal stack overflow. There is no impact on confidentiality or integrity, only availability is affected. No known exploits are reported in the wild.
Mitigation Recommendations
Upgrade to go-ipld-prime version 0.23.0 or later, where this uncontrolled recursion issue is fixed. Patch status is confirmed by the vendor advisory indicating the fix in version 0.23.0. No other mitigations are specified.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-26T12:37:18.171Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a172e7be29bf47b50d78a3c
Added to database: 5/27/2026, 5:48:43 PM
Last enriched: 5/27/2026, 6:05:35 PM
Last updated: 5/29/2026, 7:16:54 AM
Views: 11
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.