Skip to content
Heist/ feed
Back to feed
Low

msgpack5: Decoding negative int64 values mutates the input buffer

Type: advisorySources: OSV

msgpack5 is a msgpack v5 implementation for node.js and the browser. Prior to 6.1.0, decoding a negative signed 64-bit integer modifies the corresponding bytes in the caller-provided input buffer while computing the value. Applications that retain or reuse encoded input for integrity checks, logging, or later processing can observe silently corrupted data, while positive integers and other MessagePack value types are unaffected. This issue is fixed in version 6.1.0.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-107296
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 14:03 UTC · Revision 1

Source evidence

msgpack5: Decoding negative int64 values mutates the input buffer

core-osv · Original source

Published 8 Oct 2026, 17:05 UTC

msgpack5 is a msgpack v5 implementation for node.js and the browser. Prior to 6.1.0, decoding a negative signed 64-bit integer modifies the corresponding bytes in the caller-provided input buffer while computing the value. Applications that retain or reuse encoded input for integrity checks, logging, or later processing can observe silently corrupted data, while positive integers and other MessagePack value types are unaffected. This issue is fixed in version 6.1.0.

osv:CVE-2026-107296
Complete source record
{
  "id": "bfb7e79e58d115bfb8413100ea3a5b37e607961d44493669a3192910c30f1c75",
  "url": "https://osv.dev/vulnerability/CVE-2026-107296",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "msgpack5: Decoding negative int64 values mutates the input buffer",
    "summary": "msgpack5 is a msgpack v5 implementation for node.js and the browser. Prior to 6.1.0, decoding a negative signed 64-bit integer modifies the corresponding bytes in the caller-provided input buffer while computing the value. Applications that retain or reuse encoded input for integrity checks, logging, or later processing can observe silently corrupted data, while positive integers and other MessagePack value types are unaffected. This issue is fixed in version 6.1.0.",
    "evidence": "osv:CVE-2026-107296",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CVE-2026-107296",
      "aliases": [
        "CVE-2026-107296",
        "GHSA-qw35-55vc-rhgj"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/mcollina/msgpack5",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3730a5a754ec06912e42865eed9489ed64238ecb"
                },
                {
                  "fixed": "82b70393a824e1088a45a377548d1d9ab82faf91"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "6.1.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "82b70393a824e1088a45a377548d1d9ab82faf91"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "3730a5a754ec06912e42865eed9489ed64238ecb"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v6.1.0"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v6.0.2",
            "v6.0.0",
            "v5.3.2",
            "v5.3.1",
            "v3.6.1",
            "v3.6.0",
            "v5.3.0",
            "v5.2.1",
            "v5.2.0",
            "v5.1.0",
            "v5.0.0",
            "v4.4.0",
            "v4.3.0",
            "v4.2.0",
            "v4.1.0",
            "v4.0.2",
            "v4.0.1",
            "v4.0.0",
            "v3.5.0",
            "v3.4.1",
            "v3.4.0",
            "v3.3.0",
            "v3.2.0",
            "v3.1.0",
            "v3.0.0",
            "v2.3.1",
            "v2.3.0",
            "v2.2.0",
            "v2.1.0",
            "v2.0.0",
            "v1.6.0",
            "v1.5.0",
            "v1.3.2",
            "v1.3.1",
            "v1.2.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-107296.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:29.590450358Z",
      "provider": "osv",
      "references": [
        "https://github.com/mcollina/msgpack5/releases/tag/v6.1.0",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/107xxx/CVE-2026-107296.json",
        "https://github.com/mcollina/msgpack5/security/advisories/GHSA-qw35-55vc-rhgj",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-107296",
        "https://github.com/mcollina/msgpack5/commit/82b70393a824e1088a45a377548d1d9ab82faf91"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-471"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/107xxx/CVE-2026-107296.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-107296",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 496196,
  "published_at": "2026-10-08T17:05:34.059+00:00"
}