# CVE-2026-35480: go-ipld-prime's DAG-CBOR decoder unbounded memory allocation from CBOR headers

- Priority: **Routine**
- Reason: Not severe (CVSS 6.2, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-04-07 · Modified: 2026-04-09
- Aliases: CGA-24vm-99hx-374m, CGA-2f8c-cfh7-qvh9, CGA-38w3-wwhp-xr77, CGA-3hq4-v932-7f26, CGA-4x5c-xx8j-8hxq, CGA-586w-865x-fqxv, CGA-5899-34qv-whpx, CGA-66p3-vv86-qvh6, CGA-673h-6959-gq8p, CGA-6f8h-fx78-6qhh, CGA-7632-q6vj-x4hg, CGA-7gq6-j84j-7hq9, CGA-8rwm-6cm3-q4f6, CGA-8xff-7h3r-96xh, CGA-8xgw-wvmm-h65r, CGA-9xqg-v2mj-264x, CGA-fm95-cjm4-w224, CGA-g2fq-ph3p-vv2c, CGA-jhgw-c6c7-7959, CGA-m7v8-57mm-q53g, CGA-ppmf-7phh-42hx, CGA-q3qm-2m2c-5752, CGA-q4v3-28hc-r9fj, CGA-qfjq-gr2p-2prh, CGA-x4w3-jj99-xvvx, GHSA-378j-3jfj-8r9f, GO-2026-5073, CGA-23xm-5wm3-qjg5, CGA-2pvr-7g7q-vgfx, CGA-3wf8-m95w-ccxv, CGA-3wfq-pv86-3832, CGA-4wqg-wh84-xvrf, CGA-6vj3-pcr2-m8cc, CGA-898j-x76r-9pqp, CGA-8rv8-j99f-j735, CGA-cjjj-774g-w9c6, CGA-f4p7-x2rr-wxph, CGA-f7vm-x37x-3rch, CGA-hq52-66p6-5rgc, CGA-j2j8-jc2p-x6jp, CGA-jmmx-wm2w-9xxp, CGA-jpq8-3577-gh3m, CGA-jq95-5wv9-5qj2, CGA-m9q3-c2m3-xc4m, CGA-p4f4-gqjg-ph2c, CGA-pgf5-fjgc-p655, CGA-qxcr-wg6x-c59h, CGA-r4j8-2w8q-q359, CGA-rffm-jqhq-r25m, CGA-rhfx-56w3-2h8j, CGA-rjph-jcmh-6jfx, CGA-vf43-wrwx-x7rx, CGA-vfmc-h7p9-857g, CGA-wj8r-h84g-43pf, CGA-xgmv-xrw7-xr4w, CGA-xmwv-m8r8-3mj7, CGA-xrvf-4hpj-wp2r
- Record: https://cvemate.com/vulnerability/CVE-2026-35480 · JSON: https://cvemate.com/vulnerability/CVE-2026-35480/json

## Description

```text
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.
```

## Signals

- CVSS: 6.2 medium (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.176%, percentile 7.358%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 41)

- chainguard ipfs-cluster (Chainguard): \< 1.1.5-r11
- chainguard ipfs-cluster-fips (Chainguard): \< 1.1.5-r8
- chainguard k3s (Chainguard): \< 1.35.3.1-r5
- chainguard k3s-1.31 (Chainguard): \< 1.31.6.1-r22
- chainguard k3s-1.32 (Chainguard): \< 1.32.13.1-r10
- chainguard k3s-1.33 (Chainguard): \< 1.33.10.1-r3
- chainguard k3s-1.34 (Chainguard): \< 1.34.6.1-r5
- chainguard k3s-1.35 (Chainguard): \< 1.35.3.1-r4
- chainguard k3s-static (Chainguard): \< 1.35.3.1-r5
- chainguard k3s-static-1.31 (Chainguard): \< 1.31.6.1-r22
- chainguard k3s-static-1.32 (Chainguard): \< 1.32.13.1-r10
- chainguard k3s-static-1.33 (Chainguard): \< 1.33.10.1-r3
- chainguard k3s-static-1.34 (Chainguard): \< 1.34.6.1-r5
- chainguard k3s-static-1.35 (Chainguard): \< 1.35.3.1-r4
- chainguard rke2-runtime-1.31 (Chainguard): All versions (No fix recorded)
- chainguard rke2-runtime-1.32 (Chainguard): All versions (No fix recorded)
- chainguard rke2-runtime-1.33 (Chainguard): \< 1.33.10.2.2-r1
- chainguard rke2-runtime-1.34 (Chainguard): \< 1.34.6.2.3-r4
- chainguard rke2-runtime-1.35 (Chainguard): \< 1.35.3.2.3-r4
- chainguard rke2-runtime-fips-1.31 (Chainguard): All versions (No fix recorded)

## References

- <https://github.com/ipld/go-ipld-prime/security/advisories/GHSA-378j-3jfj-8r9f>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/35xxx/CVE-2026-35480.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-35480>
- <https://github.com/ipld/go-ipld-prime/commit/e43bf4a27055fe8d895671a731ee5041e2d983a9>
- <https://github.com/ipld/go-ipld-prime>
- <https://github.com/ipld/go-ipld-prime/releases/tag/v0.22.0>

---

Data as of 2026-12-05T07:29:49.965Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
