Skip to content
Heist/ feed
Back to feed
LowFix available

msgpack5: Decoding negative int64 values mutates the input buffer

Type: advisorySources: OSV

### Impact Decoding a negative signed 64-bit integer modifies the corresponding bytes in the caller-provided input buffer. Applications that retain or reuse encoded input for integrity checks, logging, or subsequent processing may observe silently corrupted data. Positive integers and other MessagePack value types are not affected. ### Patches The decoder now computes signed 64-bit values without writing to the input buffer. ### Workarounds Copy untrusted MessagePack input before decoding it, or do not retain or reuse input buffers after decoding.

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

Source evidence

msgpack5: Decoding negative int64 values mutates the input buffer

core-osv · Original source

Published 8 Oct 2026, 17:39 UTC

### Impact Decoding a negative signed 64-bit integer modifies the corresponding bytes in the caller-provided input buffer. Applications that retain or reuse encoded input for integrity checks, logging, or subsequent processing may observe silently corrupted data. Positive integers and other MessagePack value types are not affected. ### Patches The decoder now computes signed 64-bit values without writing to the input buffer. ### Workarounds Copy untrusted MessagePack input before decoding it, or do not retain or reuse input buffers after decoding.

osv:GHSA-qw35-55vc-rhgj

msgpack5

Fixed versions: 6.1.0

Complete source record
{
  "id": "3655b204ba9bdf821dd845b32c9aacb60725d49e2af1ed4bf80aea30921268b8",
  "url": "https://osv.dev/vulnerability/GHSA-qw35-55vc-rhgj",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "msgpack5: Decoding negative int64 values mutates the input buffer",
    "summary": "### Impact Decoding a negative signed 64-bit integer modifies the corresponding bytes in the caller-provided input buffer. Applications that retain or reuse encoded input for integrity checks, logging, or subsequent processing may observe silently corrupted data. Positive integers and other MessagePack value types are not affected. ### Patches The decoder now computes signed 64-bit values without writing to the input buffer. ### Workarounds Copy untrusted MessagePack input before decoding it, or do not retain or reuse input buffers after decoding.",
    "evidence": "osv:GHSA-qw35-55vc-rhgj",
    "products": [
      {
        "name": {
          "value": "msgpack5",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.1.0",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "low",
    "structured": {
      "id": "GHSA-qw35-55vc-rhgj",
      "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": [
            {
              "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-qw35-55vc-rhgj/GHSA-qw35-55vc-rhgj.json"
          }
        }
      ],
      "modified": "2026-10-08T17:45:03.538503996Z",
      "provider": "osv",
      "references": [
        "https://github.com/mcollina/msgpack5/security/advisories/GHSA-qw35-55vc-rhgj",
        "https://github.com/mcollina/msgpack5/commit/82b70393a824e1088a45a377548d1d9ab82faf91",
        "https://github.com/mcollina/msgpack5",
        "https://github.com/mcollina/msgpack5/releases/tag/v6.1.0"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-471"
        ],
        "severity": "LOW",
        "github_reviewed": true,
        "nvd_published_at": null,
        "github_reviewed_at": "2026-10-08T17:39:30Z"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-107296",
        "evidence": "/aliases"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/database_specific/severity"
  },
  "source_id": "core-osv",
  "document_id": 104407,
  "published_at": "2026-10-08T17:39:30+00:00"
}