CVE-2026-35480CWE-770

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

Medium · published April 7, 2026

CVSS v3.1
6.2
EPSS
0%
Percentile
4.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
6.2 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00157 · 4.5th percentile
Weakness
CWE-770 · Allocation of Resources Without Limits or Throttling
Published
2026-04-07T14:43Z
EPSS history
Timeline
  • 07 APR 14:43Z
    go-ipld-prime's DAG-CBOR decoder unbounded memory allocation from CBOR headers
    cvelistv5