~ / search / GHSA-qw35-55vc-rhgj

GHSA-qw35-55vc-rhgj

msgpack5: Decoding negative int64 values mutates the input buffer

Source: GitHub Advisory Database (reviewed) Low CVE-2026-107296

Packages

EcosystemPackageAffectedFixed in
npm msgpack5 < 6.1.0 6.1.0

Details

As written in the advisory (Markdown source, shown as plain text).

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

External links from the advisory. They lead to third-party sites.