Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. msgpack5
  4. ›
  5. CVE-2026-107297

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

October 8, 2026

The streaming decoder reparses an incomplete container from the beginning whenever another chunk arrives. A remote peer can split one valid MessagePack value across many small chunks, causing quadratic CPU usage and blocking the event loop.

References

  • github.com/advisories/GHSA-gcx5-hxj7-gpqq
  • github.com/mcollina/msgpack5/commit/e4827641d3105e295cbbd56e9c5389978547eab4
  • github.com/mcollina/msgpack5/releases/tag/v6.1.0
  • github.com/mcollina/msgpack5/security/advisories/GHSA-gcx5-hxj7-gpqq
  • nvd.nist.gov/vuln/detail/CVE-2026-107297

Code Behaviors & Features

Detect and mitigate CVE-2026-107297 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 6.1.0

Fixed versions

  • 6.1.0

Solution

Upgrade to version 6.1.0 or above.

Impact 5.9 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-407: Inefficient Algorithmic Complexity

Source file

npm/msgpack5/CVE-2026-107297.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:40 +0000.