In breve
- CVE-2026-107299 è una vulnerabilità MEDIO (CVSS 5.9) che riguarda msgpack5.
- Probabilità di sfruttamento nei prossimi 30 giorni (EPSS): 0.39%, superiore al 33.2% delle vulnerabilità.
- Correzione: aggiornare a 6.1.0 o successiva.
| Package | Affected versions | Patched versions |
|---|
| msgpack5 npm | < 6.1.0
| 6.1.0
|
Description
Impact
The reserved MessagePack byte 0xc1 is incorrectly treated as incomplete input. When it appears at the start of a decoder stream, all subsequent data is retained while the decoder waits for bytes that can never make the value valid, allowing memory exhaustion.
Patches
The decoder now rejects 0xc1 as invalid input. Streaming decoders release buffered input and stop after unrecoverable decoding errors.
Workarounds
Reject 0xc1 before streaming input to msgpack5, and enforce stream byte and time limits.
NVD description
msgpack5 is a msgpack v5 implementation for node.js and the browser. Prior to 6.1.0, the streaming decoder treats the reserved MessagePack byte 0xc1 as incomplete input instead of invalid input. When 0xc1 begins a stream, subsequent data remains buffered while the decoder waits for bytes that cannot make the value valid, allowing a remote peer to exhaust memory. This issue is fixed in version 6.1.0.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free