Skip to main content
← All vulnerabilities
CVE-2026-35480GHSA-378J-3JFJ-8R9FGO-2026-5073

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.22.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • ipld go-ipld-prime

    fixed in 0.22.0

  • github.com/ipld/go-ipld-primeGo

    fixed in 0.22.0

References 1

GitHub · ipld/go-ipld-prime