{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "6.1.0"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "15443a1f2aa682a6aa37f1705ac628de5b866ad1"
            },
            {
              "fixed": "3730a5a754ec06912e42865eed9489ed64238ecb"
            }
          ],
          "repo": "https://github.com/mcollina/msgpack5",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-8f34-f56x-9xph"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-125"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/107xxx/CVE-2026-107302.json"
  },
  "details": "msgpack5 is a msgpack v5 implementation for node.js and the browser. Prior to 6.1.0, the decoder reads the four-byte length of a map32 value before validating that the complete five-byte header is available. A truncated map32 header therefore causes a checked out-of-bounds buffer read and throws RangeError instead of IncompleteBufferError, which can unexpectedly terminate a request, stream, or worker in applications that wait for additional bytes after IncompleteBufferError. There is no adjacent-memory disclosure because the buffer implementation checks bounds. This issue is fixed in version 6.1.0.",
  "id": "CVE-2026-107302",
  "modified": "2026-10-10T02:30:47.142603323Z",
  "published": "2026-10-08T17:14:19.514Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/mcollina/msgpack5/releases/tag/v6.1.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/107xxx/CVE-2026-107302.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/mcollina/msgpack5/security/advisories/GHSA-8f34-f56x-9xph"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-107302"
    },
    {
      "type": "FIX",
      "url": "https://github.com/mcollina/msgpack5/commit/15443a1f2aa682a6aa37f1705ac628de5b866ad1"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "msgpack5: Truncated map32 headers throw an unexpected error"
}