Skip to main content

CVE-2026-107300: CWE-674: Uncontrolled Recursion in mcollina msgpack5

0
High
Published: 10/08/2026 (10/08/2026, 17:40:06 UTC)
Source: CVE Database V5
Vendor/Project: mcollina
Product: msgpack5

Description

### Impact The streaming decoder recursively invokes itself for every complete value remaining in a chunk. A single chunk containing many small valid MessagePack values can exhaust the JavaScript call stack and interrupt the process or stream. ### Patches The streaming decoder now drains concatenated values iteratively with constant call-stack depth. ### Workarounds Limit the number of MessagePack values accepted in one chunk, or split large batches before passing them to the decoder stream.

CVSS v3.1

Score 7.5high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected software

mcollina

msgpack5

Affected versions
<6.1.0
msgpack5
pkg:npm/msgpack5
Affected versions
<6.1.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/08/2026, 17:33:20 UTC

Technical Analysis

The msgpack5 library for Node.js and browsers, before version 6.1.0, has a vulnerability where its streaming decoder recursively invokes itself for each complete MessagePack value in a chunk. A remote attacker can exploit this by sending a chunk with many small valid values, causing recursion proportional to the number of values. This uncontrolled recursion leads to exhaustion of the JavaScript call stack, resulting in denial of service by interrupting the process or stream. The vulnerability is identified as CWE-674 (Uncontrolled Recursion) and has a CVSS 3.1 score of 7.5 (high severity). The issue is fixed in msgpack5 version 6.1.0.

Potential Impact

An attacker can cause a denial of service by sending specially crafted MessagePack data that triggers deep recursion in the streaming decoder, exhausting the JavaScript call stack and interrupting the affected process or stream. There is no impact on confidentiality or integrity reported.

Mitigation Recommendations

Upgrade msgpack5 to version 6.1.0 or later, where this uncontrolled recursion vulnerability has been fixed. No other mitigations are indicated.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-10-07T15:53:23.587Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6ac7d1292cdf04f6562ba9b2

Added to database: 10/08/2026, 17:21:45 UTC

Last enriched: 10/08/2026, 17:33:20 UTC

Last updated: 10/08/2026, 21:48:49 UTC

Views: 7

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses