Skip to content
OpenAdvisories
Medium · 5.9 CVE-2026-107297 EUVD-2026-95108GHSA-gcx5-hxj7-gpqq

msgpack5: Quadratic parsing in the streaming decoder

Published Oct 8, 2026 · Updated Oct 8, 2026 · Assigned by GitHub_M

Description

msgpack5 is a msgpack v5 implementation for node.js and the browser. Prior to 6.1.0, the streaming decoder reparses an incomplete array or map from the beginning whenever another chunk arrives. A remote peer can split one valid MessagePack container across many small chunks, causing completed elements to be decoded repeatedly, producing quadratic CPU use and blocking the event loop. This issue is fixed in version 6.1.0.

Affected products

VendorProductAffectedFixed
mcollina msgpack5 < 6.1.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 msgpack No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
npm msgpack5 < 6.1.0 6.1.0 GHSA-gcx5-hxj7-gpqq

References