{"id":"CVE-2026-107302","summary":"msgpack5: Truncated map32 headers throw an unexpected error","details":"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.","aliases":["GHSA-8f34-f56x-9xph"],"modified":"2026-10-10T02:47:27.481661686Z","published":"2026-10-08T17:14:19.514Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-125"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/107xxx/CVE-2026-107302.json"},"references":[{"type":"WEB","url":"https://github.com/mcollina/msgpack5/releases/tag/v6.1.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/107xxx/CVE-2026-107302.json"},{"type":"ADVISORY","url":"https://github.com/mcollina/msgpack5/security/advisories/GHSA-8f34-f56x-9xph"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-107302"},{"type":"FIX","url":"https://github.com/mcollina/msgpack5/commit/15443a1f2aa682a6aa37f1705ac628de5b866ad1"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mcollina/msgpack5","events":[{"introduced":"0"},{"fixed":"15443a1f2aa682a6aa37f1705ac628de5b866ad1"},{"fixed":"3730a5a754ec06912e42865eed9489ed64238ecb"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"6.1.0"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["v6.0.2","v6.0.0","v5.3.2","v5.3.1","v3.6.1","v3.6.0","v5.3.0","v5.2.1","v5.2.0","v5.1.0","v5.0.0","v4.4.0","v4.3.0","v4.2.0","v4.1.0","v4.0.2","v4.0.1","v4.0.0","v3.5.0","v3.4.1","v3.4.0","v3.3.0","v3.2.0","v3.1.0","v3.0.0","v2.3.1","v2.3.0","v2.2.0","v2.1.0","v2.0.0","v1.6.0","v1.5.0","v1.3.2","v1.3.1","v1.2.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-107302.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}