CVE-2026-42328: CWE-674: Uncontrolled Recursion in ipld go-ipld-prime
The go-ipld-prime library versions prior to 0.23.0 contain a vulnerability where the DAG-CBOR and DAG-JSON decoders perform uncontrolled recursion on deeply nested collections without a depth limit. This causes the Go runtime to terminate the process due to a fatal stack overflow. The issue is fixed in version 0.23.0.
AI Analysis
Technical Summary
CVE-2026-42328 describes an uncontrolled recursion vulnerability (CWE-674) in the go-ipld-prime library, specifically in the DAG-CBOR and DAG-JSON decoders. These decoders recursively process each nested map or list without limiting recursion depth. When processing a payload with deeply nested collections, this leads to excessive goroutine stack growth and a fatal stack overflow crash of the Go runtime. This vulnerability affects versions prior to 0.23.0 and is resolved in version 0.23.0.
Potential Impact
The vulnerability causes a denial of service by crashing the process running the vulnerable decoder 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 version information in the advisory. No additional mitigations are indicated.
CVE-2026-42328: CWE-674: Uncontrolled Recursion in ipld go-ipld-prime
Description
The go-ipld-prime library versions prior to 0.23.0 contain a vulnerability where the DAG-CBOR and DAG-JSON decoders perform uncontrolled recursion on deeply nested collections without a depth limit. This causes the Go runtime to terminate the process due to a fatal stack overflow. The issue is fixed in version 0.23.0.
CVSS v3.1
Score 6.2medium
Affected software
pkg:golang/github.com/ipld/go-ipld-primeRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-42328 describes an uncontrolled recursion vulnerability (CWE-674) in the go-ipld-prime library, specifically in the DAG-CBOR and DAG-JSON decoders. These decoders recursively process each nested map or list without limiting recursion depth. When processing a payload with deeply nested collections, this leads to excessive goroutine stack growth and a fatal stack overflow crash of the Go runtime. This vulnerability affects versions prior to 0.23.0 and is resolved in version 0.23.0.
Potential Impact
The vulnerability causes a denial of service by crashing the process running the vulnerable decoder 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 version information in the advisory. No additional mitigations are indicated.
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: 05/27/2026, 17:48:43 UTC
Last enriched: 06/03/2026, 20:48:33 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 58
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.