CVE-2026-35480
published medium CVSS 3.1 · 6.2go-ipld-prime's DAG-CBOR decoder unbounded memory allocation from CBOR headers
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| ipld | — | go-ipld-prime< 0.22.0 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | openSUSE-Tumbleweed | kuboaarch64 | Advisory build | 0.40.1-1.1 | OPENSUSE-SU-2026:10543-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kuboppc64le | Advisory build | 0.40.1-1.1 | OPENSUSE-SU-2026:10543-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kubos390x | Advisory build | 0.40.1-1.1 | OPENSUSE-SU-2026:10543-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kubox86_64 | Advisory build | 0.40.1-1.1 | OPENSUSE-SU-2026:10543-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.2 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| ipld | go-ipld-prime | < 0.22.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-770 CWE-770: Allocation of Resources Without Limits or Throttling
References
1Provider assertions
2GitHub_M · cna
go-ipld-prime's DAG-CBOR decoder unbounded memory allocation from CBOR headers
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 56e2f6c52e2b703bc068a168d4cec936e07e867f30ee369320367ebb1a5d2c28
- Ingested
- 23 Sep 2026, 09:11:31 UTC
- Source record
- Official CVE record