# CVE-2026-107297: msgpack5: Quadratic parsing in the streaming decoder

- Severity: Medium 5.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/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.39%, higher than 35% of CVEs (2026-12-01)
- Published: 2026-10-08T17:07:03.740Z
- Modified: 2026-10-08T20:48:36.970Z
- Also known as: GHSA-gcx5-hxj7-gpqq
- Weaknesses: CWE-407
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

msgpack5 is a msgpack v5 implementation for node.js and the browser. Prior to 6.1.0, the streaming decoder reparses an incomplete array or map from the beginning whenever another chunk arrives. A remote peer can split one valid MessagePack container across many small chunks, causing completed elements to be decoded repeatedly, producing quadratic CPU use and blocking the event loop. This issue is fixed in version 6.1.0.

(As written by CVE List.)

## Affected

- mcollina msgpack5: < 6.1.0
- msgpack5 (npm): before 6.1.0

## Every score

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

## References

- <https://github.com/mcollina/msgpack5/security/advisories/GHSA-gcx5-hxj7-gpqq> (web)
- <https://github.com/mcollina/msgpack5/commit/e4827641d3105e295cbbd56e9c5389978547eab4> (web)
- <https://github.com/mcollina/msgpack5/releases/tag/v6.1.0> (web)
- <https://github.com/mcollina/msgpack5> (package)

## Sources

- CVE List: [CVE-2026-107297](https://www.cve.org/CVERecord?id=CVE-2026-107297), CVE Terms of Use, modified 2026-10-08
- GitHub Advisory Database: [GHSA-gcx5-hxj7-gpqq](https://github.com/advisories/GHSA-gcx5-hxj7-gpqq), CC-BY-4.0, modified 2026-10-08
- NVD: [CVE-2026-107297](https://nvd.nist.gov/vuln/detail/CVE-2026-107297), Public domain, modified 2026-10-08

---

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