CVE-2026-107302 msgpack5: Truncated map32 headers throw an unexpected error
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
Description
msgpack5 is a msgpack v5 implementation for node.js and the browser. Prior to 6.1.0, the decoder reads the four-byte length of a map32 value before validating that the complete five-byte header is available. A truncated map32 header therefore causes a checked out-of-bounds buffer read and throws RangeError instead of IncompleteBufferError, which can unexpectedly terminate a request, stream, or worker in applications that wait for additional bytes after IncompleteBufferError. There is no adjacent-memory disclosure because the buffer implementation checks bounds. This issue is fixed in version 6.1.0.
Upgrade path
3 packages: 1 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| azure linux msgpack(Azure Linux 3.0) | All versions | No fix listed | No fix yet |
| npm msgpack5(npm) | >= 4.1.0, < 6.1.0 | 6.1.0 | Fixed |
| mcollina msgpack5 | = >= 4.1.0. < 6.1.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| mcollina msgpack5 | = >= 4.1.0. < 6.1.0 | No fix listed |
| npm msgpack5(npm) | >= 4.1.0, < 6.1.0 | 6.1.0 |
| azure linux msgpack(Azure Linux:3.0) | All versions | No fix listed |
References
- MSRC Security Update Guide vendor-advisory
- Release Notes vendor-advisory
- https://github.com/mcollina/msgpack5/security/advisories/GHSA-8f34-f56x-9xph vendor-advisory
- https://github.com/mcollina/msgpack5/commit/15443a1f2aa682a6aa37f1705ac628de5b866ad1 patch
- https://github.com/mcollina/msgpack5/releases/tag/v6.1.0
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product
- ENISA EUVD EUVD-2026-95114 third-party-advisory