Skip to content
Heist/ feed
Back to feed
HighFix available

msgpack5: Many buffered values can exhaust the streaming decoder stack

Type: advisorySources: OSV

### Impact The streaming decoder recursively invokes itself for every complete value remaining in a chunk. A single chunk containing many small valid MessagePack values can exhaust the JavaScript call stack and interrupt the process or stream. ### Patches The streaming decoder now drains concatenated values iteratively with constant call-stack depth. ### Workarounds Limit the number of MessagePack values accepted in one chunk, or split large batches before passing them to the decoder stream.

Products
msgpack5
Affected versions
Not specified
Fixed versions
6.1.0
CVEs
CVE-2026-107300
Confirmed fixed CVEs
Not specified
Updated in this feed
28 Oct 2026, 10:03 UTC · Revision 1

Source evidence

msgpack5: Many buffered values can exhaust the streaming decoder stack

core-osv · Original source

Published 8 Oct 2026, 17:40 UTC

### Impact The streaming decoder recursively invokes itself for every complete value remaining in a chunk. A single chunk containing many small valid MessagePack values can exhaust the JavaScript call stack and interrupt the process or stream. ### Patches The streaming decoder now drains concatenated values iteratively with constant call-stack depth. ### Workarounds Limit the number of MessagePack values accepted in one chunk, or split large batches before passing them to the decoder stream.

osv:GHSA-5x5g-h9x8-2fh9

msgpack5

Fixed versions: 6.1.0

Complete source record
{
  "id": "a3e806bdbe2913d843e2a6450fd5c43295cfdc51b4266944541de655f3de9e0a",
  "url": "https://osv.dev/vulnerability/GHSA-5x5g-h9x8-2fh9",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "msgpack5: Many buffered values can exhaust the streaming decoder stack",
    "summary": "### Impact The streaming decoder recursively invokes itself for every complete value remaining in a chunk. A single chunk containing many small valid MessagePack values can exhaust the JavaScript call stack and interrupt the process or stream. ### Patches The streaming decoder now drains concatenated values iteratively with constant call-stack depth. ### Workarounds Limit the number of MessagePack values accepted in one chunk, or split large batches before passing them to the decoder stream.",
    "evidence": "osv:GHSA-5x5g-h9x8-2fh9",
    "products": [
      {
        "name": {
          "value": "msgpack5",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.1.0",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "GHSA-5x5g-h9x8-2fh9",
      "aliases": [
        "CVE-2026-107300",
        "GHSA-5x5g-h9x8-2fh9"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "SEMVER",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "6.1.0"
                }
              ]
            }
          ],
          "package": {
            "name": "msgpack5",
            "purl": "pkg:npm/msgpack5",
            "ecosystem": "npm"
          },
          "database_specific": {
            "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-5x5g-h9x8-2fh9/GHSA-5x5g-h9x8-2fh9.json"
          }
        }
      ],
      "modified": "2026-10-08T18:00:08.893076738Z",
      "provider": "osv",
      "references": [
        "https://github.com/mcollina/msgpack5/security/advisories/GHSA-5x5g-h9x8-2fh9",
        "https://github.com/mcollina/msgpack5/commit/77fbef144d05def5d16fc22c37caa64c0a7efeba",
        "https://github.com/mcollina/msgpack5",
        "https://github.com/mcollina/msgpack5/releases/tag/v6.1.0"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-674"
        ],
        "severity": "HIGH",
        "github_reviewed": true,
        "nvd_published_at": null,
        "github_reviewed_at": "2026-10-08T17:40:06Z"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-107300",
        "evidence": "/aliases"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/database_specific/severity"
  },
  "source_id": "core-osv",
  "document_id": 104429,
  "published_at": "2026-10-08T17:40:06+00:00"
}