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 package | Versions | Reported by |
|---|---|---|
| mcollina msgpack5 | < 6.1.0 | CVE List |
| msgpack5 (npm) | before 6.1.0 | GitHub Advisory Database |
All scores
| GitHub_M | 3.7low CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N |
| GitHub | 3.7low CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N |
Classification
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-107296 changed 2026-10-14 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-qw35-55vc-rhgj changed 2026-10-08 | CC-BY-4.0 |
| NVD | CVE-2026-107296 changed 2026-10-14 | Public domain |