CVE-2026-35480
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.22.0, the DAG-CBOR decoder uses collection sizes declared in CBOR headers as Go preallocation hints for maps and lists. The decoder does not cap these size hints or account for their cost in its allocation budget, allowing small payloads to cause excessive memory allocation. This vulnerability is fixed in 0.22.0.
How to fix
- protocol go-ipld-prime0.22.0 or later
- github.com/ipld/go-ipld-prime0.22.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| protocol go-ipld-prime | v < 0.22.0 | 0.22.0 |
| github.com/ipld/go-ipld-primeGo | v < 0.22.0 | 0.22.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.