CVE-2026-35480
go-ipld-prime is an implementation of the InterPlanetary Linked Data (IPLD) spec interfaces, a batteries-included codec implementations of IPLD for CBOR and JS…
Auswirkung
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.
Ein Angreifer kann die Lücke mit lokalem Zugriff auf das System ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| go | github.com/ipld/go-ipld-prime | < 0.22.0 | 0.22.0 |
Betroffene Produkte · Protocol
| Produkt | Betroffene Versionen |
|---|---|
| Go-ipld-prime | vor 0.22.0 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/ipld/go-ipld-prime/security/advisories/GHSA-378j-3jfj-8r9f
- https://github.com/advisories/GHSA-378j-3jfj-8r9f
- https://github.com/ipld/go-ipld-prime/commit/e43bf4a27055fe8d895671a731ee5041e2d983a9
- https://github.com/ipld/go-ipld-prime/releases/tag/v0.22.0
- https://nvd.nist.gov/vuln/detail/CVE-2026-35480