{"cve":"CVE-2026-35480","nvd":{"published":"2026-04-07T15:17:45.117","modified":"2026-10-26T22:10:00.163","status":"Analyzed","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":6.2},"cwes":["CWE-770"],"references":["https://github.com/ipld/go-ipld-prime/security/advisories/GHSA-378j-3jfj-8r9f"],"products":["protocol:go-ipld-prime"],"source":"nvd","synced_at":"2026-10-26T22:26:44.656832877+00:00"},"epss":{"cve":"CVE-2026-35480","score":0.00156,"percentile":0.04685,"date":"2026-10-26"},"kev":null,"osv":[{"id":"GHSA-378j-3jfj-8r9f","url":"https://osv.dev/vulnerability/GHSA-378j-3jfj-8r9f","summary":"go-ipld-prime: DAG-CBOR decoder unbounded memory allocation from CBOR headers","modified":"2026-09-10T03:50:42.408069830Z","packages":[{"ecosystem":"Go","name":"github.com/ipld/go-ipld-prime","purl":"pkg:golang/github.com/ipld/go-ipld-prime","ranges":["<0.22.0"],"fixed":["0.22.0"]}]},{"id":"GO-2026-5073","url":"https://osv.dev/vulnerability/GO-2026-5073","summary":"DAG-CBOR decoder unbounded memory allocation from CBOR headers in github.com/ipld/go-ipld-prime","modified":"2026-07-07T20:30:13.620641780Z","packages":[{"ecosystem":"Go","name":"github.com/ipld/go-ipld-prime","purl":"pkg:golang/github.com/ipld/go-ipld-prime","ranges":["<0.22.0"],"fixed":["0.22.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}