ADVISORIES

Vulnerability

CVE-2026-35480

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.

59 advisories report this vulnerability, across 4 ecosystems.

Advisories in Go

  • GHSA-378j-3jfj-8r9f

    go-ipld-prime: DAG-CBOR decoder unbounded memory allocation from CBOR headers

    Moderate CVE-2026-35480 Go Updated 10 September 2026
  • GO-2026-5073

    DAG-CBOR decoder unbounded memory allocation from CBOR headers in github.com/ipld/go-ipld-prime

    CVE-2026-35480 Go Updated 7 July 2026

References