CVE-2026-42328

Source
https://cve.org/CVERecord?id=CVE-2026-42328
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-42328.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-42328
Aliases
Downstream
Related
Published
2026-05-27T16:31:38Z
Modified
2026-08-27T18:26:03Z
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: DAG-CBOR and DAG-JSON decoders unbounded recursion depth
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.23.0, the DAG-CBOR and DAG-JSON decoders recurse on each nested map or list without a depth limit. A payload containing deeply nested collections causes the decoder to recurse once per level, growing the goroutine stack until the Go runtime terminates the process with a fatal stack overflow (distinct from a recoverable panic). This vulnerability is fixed in 0.23.0.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-674"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42328.json"
}
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
Show details
{
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "0.23.0"
        }
    ],
    "source": "AFFECTED_FIELD"
}

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.22.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-42328.json"