Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/mcollina/msgpack5/commit/15443a1f2aa682a6aa37f1705ac628de5b86
- https://github.com/mcollina/msgpack5/releases/tag/v6.1.0
- https://github.com/mcollina/msgpack5/security/advisories/GHSA-8f34-f56x-9xph
FAQ
What is CVE-2026-107302?
CVE-2026-107302 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 ava...
How severe is CVE-2026-107302?
CVE-2026-107302 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-107302?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.