# CVE-2022-2584: Panic when decoding invalid blocks in github.com/ipld/go-codec-dagpb

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/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.77%, higher than 56% of CVEs (2026-12-01)
- Published: 2022-04-08T22:08:45.000Z
- Modified: 2026-06-17T04:42:09.723Z
- Also known as: GHSA-967g-cjx4-h7j6, GHSA-g3vv-g2j5-45f2, GO-2022-0422
- Weaknesses: CWE-119
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Go

## Description

The dag-pb codec can panic when decoding invalid blocks.

(As written by CVE List.)

## Affected

- github.com/ipld/go-codec-dagpb: before 1.3.1
- github.com/ipld/go-codec-dagpb (Go): before 1.3.1
- protocol go-codec-dagpb: before 1.3.1

## Every score

- CISA-ADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.0 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/ipld/go-codec-dagpb/commit/a17ace35cc760a2698645c09868f9050fa219f57> (fix, patch, third-party-advisory, web)
- <https://pkg.go.dev/vuln/GO-2022-0422> (patch, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-2584> (advisory)
- <https://github.com/ipld/go-codec-dagpb/security/advisories/GHSA-g3vv-g2j5-45f2> (web)

## Sources

- CVE List: [CVE-2022-2584](https://www.cve.org/CVERecord?id=CVE-2022-2584), CVE Terms of Use, modified 2025-04-11
- GitHub Advisory Database: [GHSA-967g-cjx4-h7j6](https://github.com/advisories/GHSA-967g-cjx4-h7j6), CC-BY-4.0, modified 2026-02-03
- GitHub Advisory Database: [GHSA-g3vv-g2j5-45f2](https://github.com/advisories/GHSA-g3vv-g2j5-45f2), CC-BY-4.0, modified 2026-02-03
- Go Vulnerability Database: [GO-2022-0422](https://pkg.go.dev/vuln/GO-2022-0422), CC-BY-4.0, modified 2024-05-20
- NVD: [CVE-2022-2584](https://nvd.nist.gov/vuln/detail/CVE-2022-2584), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-2584 · Whole record: https://cve.day/CVE-2022-2584.json · Rebuilt by cve.day 2026-11-25T22:58:17.905Z
