CVE-2026-42328 go-ipld-prime: DAG-CBOR and DAG-JSON decoders unbounded recursion depth
MediumCVSS 6.2
EPSS 0.12%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ipld go-ipld-prime(Go) | < 0.23.0 | 0.23.0 | Fixed |
| ipld go-ipld-prime | = < 0.23.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| ipld go-ipld-prime | = < 0.23.0 | No fix listed |
| ipld go-ipld-prime(Go) | < 0.23.0 | 0.23.0 |
References
- https://github.com/ipld/go-ipld-prime/security/advisories/GHSA-w239-58x2-q8p5 vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- github.com patch
- github.com