CVE-2026-107296: msgpack5: Decoding negative int64 values mutates the input buffer

CVE-2026-107296 · Severity: low · CVSS 3.7 · Published 2026-10-08

### 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.

Technologies: msgpack5 (npm). Vendors: npm.

Quick answers

Is CVE-2026-107296 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-107296 being exploited in the wild.
How severe is CVE-2026-107296?
Low severity, with a CVSS score of 3.7, published 8 October 2026.
Which products and versions are affected?
msgpack5 (npm) < 6.1.0, SEMVER:introduced=0,fixed=6.1.0.
Is there a fix for CVE-2026-107296?
Yes. msgpack5 (npm): upgrade to 6.1.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2026-107296?
Check whether you run msgpack5 (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • msgpack5 (npm): upgrade to 6.1.0 or later
    npm install msgpack5@6.1.0

Affected products

  • msgpack5 (npm) < 6.1.0, SEMVER:introduced=0,fixed=6.1.0

Identifiers

  • CVE-2026-107296
  • GHSA-qw35-55vc-rhgj

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.