CVE-2026-107302
HIGH 7.5CVSS 3.1msgpack5: Truncated map32 headers throw an unexpected error
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.
- Published
- 8 Oct 2026
- Last modified
- 19 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-125
- Also known as
- GHSA-8f34-f56x-9xph
- Sources
- NVDJSONOSV GHSA-8f34-f56x-9xphJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | msgpack5 | >= 4.1.0, < 6.1.0 | 6.1.0 |
References
- https://github.com/mcollina/msgpack5/commit/15443a1f2aa682a6aa37f1705ac628de5b866ad1 · WEB
- https://github.com/mcollina/msgpack5/releases/tag/v6.1.0 · WEB
- https://github.com/mcollina/msgpack5/security/advisories/GHSA-8f34-f56x-9xph · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-107302 · ADVISORY
- https://github.com/mcollina/msgpack5 · PACKAGE
History
- 25 Nov 2026 21:22 UTC · NVD: first stored (published 8 Oct 2026)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 8 Oct 2026)