Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Protocol | Go-Ipld-Prime | < 0.22.0 |
Related Weaknesses (CWE)
References
FAQ
What is CVE-2026-35480?
CVE-2026-35480 is a vulnerability with a CVSS score of 6.2 (MEDIUM). 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 I...
How severe is CVE-2026-35480?
CVE-2026-35480 has been rated MEDIUM with a CVSS base score of 6.2/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-35480?
Check the references section above for vendor advisories and patch information. Affected products include: Protocol Go-Ipld-Prime.