CVE-2026-35480
MEDIUMgo-ipld-prime's DAG-CBOR decoder unbounded memory allocation from CBOR headers
Title source: cnaDescription
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.
Scores
CVSS v3
6.2
EPSS
0.0002
EPSS Percentile
4.3%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-770
Status
published
Products (3)
ipld/go-ipld-prime
0 - 0.22.0Go
ipld/go-ipld-prime
< 0.22.0
protocol/go-ipld-prime
< 0.22.0
Published
Apr 07, 2026
Tracked Since
Apr 07, 2026