CVE-2026-107296
JSON

3.7low

msgpack5: Decoding negative int64 values mutates the input buffer

Severity
3.7low CVSS:3.1 by GitHub_M
Exploit likelihood
0.28% (higher than 21% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-qw35-55vc-rhgj

Description

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.

Affected

Product or packageVersionsReported by
mcollina msgpack5< 6.1.0CVE List
msgpack5 (npm)before 6.1.0GitHub Advisory Database

All scores

GitHub_M3.7low CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
GitHub3.7low CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N

Classification

CWE-471

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database
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.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-107296 changed 2026-10-14CVE Terms of Use
GitHub Advisory DatabaseGHSA-qw35-55vc-rhgj changed 2026-10-08CC-BY-4.0
NVDCVE-2026-107296 changed 2026-10-14Public domain