Skip to content
PatchBriefing

Search PatchBriefing

Type at least two characters. Results update as you type.

Search CVEs, products, packages and article titles.

Nothing found. Identifiers such as CVE and GHSA can be searched in both languages.

Subscribe

Low · 3.7 Microsoft GHSA-qw35-55vc-rhgj CVE-2026-107296

msgpack5 Buffer Mutation Bug Can Silently Corrupt Negative Integers (CVE-2026-107296)

A low-severity data integrity flaw in msgpack5, a popular msgpack implementation for Node.js and browsers, causes decoding of negative signed 64-bit integers to overwrite the original input buffer. Fixed in version 6.1.0.

By PatchBriefing ·

Produced automatically from official sources with the help of AI. How we work →

Synthesized by AI from 3 sources · updated 1 week ago

AI summary

A vulnerability has been disclosed in msgpack5, a widely used msgpack v5 implementation for Node.js and browser JavaScript environments. The issue, tracked as CVE-2026-107296 (GHSA-qw35-55vc-rhgj), involves unintended mutation of input data during decoding of certain integer values. The flaw has been fixed in msgpack5 version 6.1.0.

What happened

Researchers identified that msgpack5, prior to version 6.1.0, modifies bytes in the caller-provided input buffer while decoding negative signed 64-bit integers. This mutation occurs as a side effect of the internal computation used to derive the integer value during decoding.

Technical cause

The vulnerability is classified under CWE-471 (Modification of Assumed-Immutable Data). When msgpack5 decodes a negative signed 64-bit integer, it writes back into the same buffer object that was passed in by the caller, rather than operating on a separate copy. Positive integers and all other MessagePack value types are not affected by this behavior; the issue is specific to the negative int64 decoding path.

Why it matters

Applications that retain or reuse the original encoded buffer after decoding it — for example, to perform integrity checks, logging, signature verification, or to pass the same buffer to another consumer — may find that the buffer's contents have been silently altered. This can produce incorrect results in any logic that depends on the original encoded bytes remaining unchanged, without raising an error or warning.

Who is affected

Any application using the msgpack5 npm package prior to version 6.1.0 that decodes MessagePack data containing negative signed 64-bit integers, and which also retains or reuses the original input buffer afterward, is potentially affected. The fact package also lists an Azure Linux 3.0 distribution package related to msgpack, but no specific affected version range or fixed version was provided for that package in the available data.

Affected versions

msgpack5 versions prior to 6.1.0 are affected. Version 6.1.0 and later contain the fix. No specific version range was supplied for the Azure Linux 3.0 msgpack package listed in the fact package; this should be treated as unconfirmed pending further vendor information.

Fixes and mitigation

The issue is fixed in msgpack5 version 6.1.0. Applications should update to this version or later. The vulnerability was published on October 8, 2026, and Microsoft's Security Update Guide reflected a related patch entry in October 2026 for the Azure Linux ecosystem, though no concrete fixed version for that package was included in the available data.

Recommended action

Update msgpack5 to version 6.1.0 or later. If your application retains, logs, or re-verifies the original encoded buffer after decoding — particularly when negative 64-bit integers may be present — review that logic for correctness after updating, since prior corrupted data may have already propagated through downstream systems. Users of the Azure Linux msgpack package should monitor vendor guidance for a confirmed fixed version.

PatchBriefing score

3.7 / 10 · Low

Official CVSS: 3.7

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N

EPSS 0.0035 (21 percentile)

Why this score

The PatchBriefing score equals the official CVSS score; when this article covers several vulnerabilities, the highest one. Signals such as known exploitation and EPSS are listed separately and do not change the score.

Affected versions

msgpack5 ≥ 0 < 6.1.0
vulnerable
≥ 6.1.0
patched

Reported fixes

The issue is fixed in msgpack5 version 6.1.0. Applications should update to this version or later. The vulnerability was published on October 8, 2026, and Microsoft's Security Update Guide reflected a related patch entry in October 2026 for the Azure Linux ecosystem, though no concrete fixed version for that package was included in the available data.

How this was built

3 source records were collected, matched and used to prepare the report above.

  • OSV.dev database
  • NVD (NIST) database
  • Microsoft Security Update Guide vendor
Unified report
msgpack5 Buffer Mutation Bug Can Silently Corrupt Negative Integers (CVE-2026-107296)
1 article · 3 sources cited
Revision history
  1. Generated
  2. Published
  3. Generated
The Morning Brief

Relevant changes for the stacks you follow.

Choose your stacks, topics and optional WordPress plugins. At 07:00 CET, matching advisories and releases from the reporting period are grouped into one email.

✓ Choose stacks and topics✓ Change preferences anytime✓ One grouped email