{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-35480","id":"CVE-2026-35480","title":"go-ipld-prime's DAG-CBOR decoder unbounded memory allocation from CBOR headers","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","descriptionLong":"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.","published":"2026-04-07T14:43:24.781Z","updated":"2026-10-28T02:30:21.373484960Z","reserved":"2026-04-02T20:49:44.453Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":6.2,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":6.2,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":6.2,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"github.com"},{"version":"3.1","score":6.2,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"OSV"},{"version":"3.1","score":6.2,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"GitHub"}],"rating":"medium","products":["ipld go-ipld-prime"],"affectedProducts":[{"vendor":"ipld","product":"go-ipld-prime","defaultStatus":null,"versions":[{"version":"< 0.22.0","status":"affected"}],"platforms":[]}],"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"],"advisory":"GHSA-378j-3jfj-8r9f"}],"cwes":["CWE-770"],"aliases":["GHSA-378j-3jfj-8r9f","GO-2026-5073"],"references":[{"url":"https://github.com/ipld/go-ipld-prime/security/advisories/GHSA-378j-3jfj-8r9f","tags":["x_refsource_CONFIRM","Vendor Advisory","advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/35xxx/CVE-2026-35480.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-35480","tags":["advisory"]},{"url":"https://github.com/ipld/go-ipld-prime/commit/e43bf4a27055fe8d895671a731ee5041e2d983a9","tags":["web","fix"]},{"url":"https://github.com/ipld/go-ipld-prime","tags":["package"]},{"url":"https://github.com/ipld/go-ipld-prime/releases/tag/v0.22.0","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00162,"epssPercentile":0.05477,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-35480","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-35480","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-35480","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-378j-3jfj-8r9f","ok":true,"note":"GHSA-378j-3jfj-8r9f"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-35480","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}