CVE-2026-35480

Source
https://cve.org/CVERecord?id=CVE-2026-35480
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-35480.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-35480
Aliases
Downstream
Related
Published
2026-04-07T14:43:24.781Z
Modified
2026-07-08T08:12:58.961937925Z
Severity
  • 6.2 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
go-ipld-prime's DAG-CBOR decoder unbounded memory allocation from CBOR headers
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/35xxx/CVE-2026-35480.json",
    "cwe_ids": [
        "CWE-770"
    ],
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git / github.com/ipld/go-ipld-prime

Affected ranges

Type
GIT
Repo
https://github.com/ipld/go-ipld-prime
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "cpe": "cpe:2.3:a:protocol:go-ipld-prime:*:*:*:*:*:go:*:*",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "0.22.0"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "CPE_RANGE"
    ]
}

Affected versions

v0.*
v0.0.1
v0.0.1-filecoin
v0.0.2
v0.0.3
v0.10.0
v0.11.0
v0.12.0
v0.12.1
v0.12.2
v0.12.3
v0.14.0
v0.14.1
v0.14.2
v0.14.3
v0.14.4
v0.16.0
v0.17.0
v0.18.0
v0.19.0
v0.20.0
v0.21.0
v0.4
v0.4.0
v0.5
v0.5.0
v0.6.0
v0.7.0
v0.9.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-35480.json"