Read the docs
TI-2026-27610 Aliases CVE-2026-35480GHSA-378j-3jfj-8r9f

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

Priority LOW 27CWE-770Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-770.

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00162 5th percentileScored 2026-11-07
Fix Fixed go-ipld-prime (ipld): 0.22.0github.com/ipld/go-ipld-prime (Go): 0.22.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
ipldgo-ipld-primebefore 0.22.00.22.0Patch availableCNA
—github.com/ipld/go-ipld-prime (Go)before 0.22.00.22.0Patch availableGHSA-378j-3jfj-8r9f
  • go-ipld-prime Vendoripld Affected before 0.22.0 Fixed in 0.22.0 Patch available CNA
  • github.com/ipld/go-ipld-prime (Go) Vendor— Affected before 0.22.0 Fixed in 0.22.0 Patch available GHSA-378j-3jfj-8r9f

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:protocol:go-ipld-prime:*:*:*:*:*:go:*:*before 0.22.0VulnerableProtocol
  • cpe:2.3:a:protocol:go-ipld-prime:*:*:*:*:*:go:*:* Versions before 0.22.0 Vulnerable ·Protocol

Remediation

  • Fix · CNA go-ipld-prime (ipld) Fixed in 0.22.0
  • Fix · GHSA-378j-3jfj-8r9f github.com/ipld/go-ipld-prime (Go) Fixed in 0.22.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-35480
  2. 2026-10-03 Alias added: GHSA-378j-3jfj-8r9f

References

  • TI-2026-30634 go-ipld-prime: DAG-CBOR and DAG-JSON decoders unbounded recursion depth CVSS 3.1MEDIUM 6.2

Sources