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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| ipld | go-ipld-prime | < 0.22.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | kubo | 0.40.1-1.1 | openSUSE-SU-2026:10543-1 |
| openSUSE Leap 16.0 | govulncheck-vulndb | 0.0.20260723T184607-160000.1.1 | openSUSE-SU-2026:21483-1 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | ipfs-cluster | 1.1.5-r11 | — |
| Wolfi rolling | k3s +1 | 1.35.3.1-r5 | — |
| Wolfi rolling | k3s-1.32 +1 | 1.32.13.1-r10 | — |
| Wolfi rolling | k3s-1.34 +1 | 1.34.6.1-r5 | — |
| Wolfi rolling | k3s-1.35 +1 | 1.35.3.1-r4 | — |
| Wolfi rolling | spegel | 0.6.0-r11 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/ipld/go-ipld-prime | < 0.22.0 | 0.22.0 | GHSA-378j-3jfj-8r9f |
Advisories 2
- openSUSE-SU-2026:21483-1 Security update for govulncheck-vulndb SUSE / openSUSE Security Updates · Jul 31, 2026
- openSUSE-SU-2026:10543-1 kubo-0.40.1-1.1 on GA media SUSE / openSUSE Security Updates · Apr 15, 2026