# CVE-2026-42328: go-ipld-prime: DAG-CBOR and DAG-JSON decoders unbounded recursion depth

- Severity: Medium 6.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-05-07T02:07:21.000Z
- Modified: 2026-10-26T11:10:00.157Z
- Also known as: GHSA-w239-58x2-q8p5, GO-2026-5684
- Weaknesses: CWE-674
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.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.

(As written by CVE List.)

## Affected

- ipld go-ipld-prime: < 0.23.0
- github.com/ipld/go-ipld-prime (Go): before 0.23.0

## Every score

- GitHub_M: CVSS:3.1 6.2 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 6.2 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/ipld/go-ipld-prime/security/advisories/GHSA-w239-58x2-q8p5> (advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-42328> (advisory)
- <https://github.com/ipld/go-ipld-prime> (package)
- <https://github.com/ipld/go-ipld-prime/pull/625> (fix)

## Sources

- CVE List: [CVE-2026-42328](https://www.cve.org/CVERecord?id=CVE-2026-42328), CVE Terms of Use, modified 2026-05-28
- GitHub Advisory Database: [GHSA-w239-58x2-q8p5](https://github.com/advisories/GHSA-w239-58x2-q8p5), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2026-5684](https://pkg.go.dev/vuln/GO-2026-5684), CC-BY-4.0, modified 2026-07-24
- NVD: [CVE-2026-42328](https://nvd.nist.gov/vuln/detail/CVE-2026-42328), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-42328 · Whole record: https://cve.day/CVE-2026-42328.json · Rebuilt by cve.day 2026-11-25T22:59:22.626Z
