Skip to main content

msgpackr CVE-2026-134812

| EUVDEUVD-2026-132851 HIGH
Inefficient Algorithmic Complexity (CWE-407)
2026-11-22 VulnCheck GHSA-q5gv-9735-3gfv
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Connect to streaming msgpackr decode endpoint
  2. Delivery
    Stream large container of small elements in tiny chunks
  3. Exploit
    Trigger repeated re-decoding of buffered incomplete value
  4. Execution
    Exhaust CPU with quadratic cost
  5. Impact
    Block Node.js event loop (denial of service)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V2 - Validation and Business Logic Algorithmic complexity limits
Exploitation Conditions

Exploitation requires that the target application decode attacker-supplied input using msgpackr's streaming/iterator APIs specifically - UnpackrStream or decodeIter - and that the attacker control how the input is chunked (streaming a large container of small elements in small pieces). The quadratic cost arises because each still-incomplete buffered value is re-decoded from scratch as chunks arrive. Limiting factors: applications that decode complete buffers via unpack()/unpackMultiple() rather than the streaming APIs are not in the described trigger path; the attacker must be able to deliver many small chunks; and the default maxIncompleteBufferSize (64MB) bounds how much is held between chunks but does not by itself prevent the quadratic re-decode. The only complete fix stated by the available evidence is updating to msgpackr 2.1.4, which makes held-value scanning linear in value size.

Impact

This is a genuine but bounded availability risk rather than a top-tier emergency. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) describes a remote, low-complexity, unauthenticated trigger, and the impact profile is availability-only (VC:N/VI:N/VA:H) - there is no confidentiality or integrity exposure, consistent with the CWE-407 algorithmic-complexity (quadratic decoding) root cause. The vuln.today decision label is 'this_week' (not act_now/emergency), which aligns with a serious DoS that is not under active mass exploitation. No KEV listing is present, so there is no confirmed active exploitation, and no EPSS score was supplied, so widespread-exploitation probability cannot be quantified from this data. The key nuance the raw 8.7 score hides is the exploitation surface: the flaw only affects applications that consume attacker-controlled input through the streaming/iterator APIs (UnpackrStream or decodeIter) in small chunks - single-buffer unpack() usage is not the stated trigger path. So real-world priority depends heavily on whether a given deployment uses those streaming APIs on untrusted network data; where it does, an unauthenticated attacker can stall the Node.js event loop, which is a legitimate production-availability concern warranting prompt patching.

Exploit ScenarioDerived

A Node.js service decodes untrusted MessagePack input through msgpackr's UnpackrStream or decodeIter. A remote, unauthenticated attacker opens a connection and streams a large container of many small elements split across many small chunks; each incomplete chunk forces the buffered value to be re-decoded from the start, producing quadratic CPU cost that blocks the single-threaded event loop and denies service to all clients. No public exploit code was identified at time of analysis, though the mechanism is documented in the vendor issue and advisory.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.8% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 22, 2026

Denial of service in the Node.js MessagePack library msgpackr before 2.1.4 lets remote attackers stall the event loop by streaming a large container of small elements in small chunks to the UnpackrStream or decodeIter APIs. Because each still-incomplete buffered value is re-decoded from scratch as more chunks arrive, decoding cost grows quadratically with input fragmentation; the CVSS 4.0 vector is AV:N/AC:L/AT:N/PR:N/UI:N with high availability impact only (VA:H, no confidentiality or integrity effect). The vendor has released a patch in 2.1.4 that scans held values linearly instead of re-unpacking them; no public exploit code or active exploitation was identified in the available data at time of analysis, and the risk is assessed as a genuine but bounded availability issue rather than a top-tier emergency.

RemediationAI

Upgrade msgpackr to 2.1.4 or later, applying upstream commit https://github.com/kriszyp/msgpackr/commit/4eae7a11e96bb4ac292bb9ec9b4765cf18095a2f; per the available evidence this is the only complete fix, since it makes scanning of held values linear in value size regardless of chunk granularity. Where upgrading must be staged, reduce exposure by not routing untrusted input through UnpackrStream or decodeIter - accumulate the full message and decode it with unpack()/unpackMultiple() instead, which is outside the trigger path but requires the caller to bound total message size itself. Lowering the maxIncompleteBufferSize option (64MB by default) caps how many bytes are held between chunks and fails with 'Maximum incomplete buffer size exceeded', but it does not by itself eliminate the quadratic re-decode, so treat it as a partial brake rather than a fix. Also restrict who can control chunk boundaries on streaming inputs (for example, buffer and re-frame incoming data server-side) and review custom extensions, since the fix's linear scanner cannot frame values from extensions that read further values across chunk boundaries.

Affected VersionsENISA

msgpackr 0 <2.1.4

Affected Packages

euvd msgpackr fix: 2.1.4

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

msgpackr is a JavaScript/Node.js implementation of MessagePack serialization, maintained by kriszyp and distributed via npm; the CPE cpe:2.3:a:kriszyp:msgpackr:*:*:*:*:*:*:*:* covers all releases prior to 2.1.4. The flaw is CWE-407 (inefficient algorithmic complexity): in streaming mode the decoder buffers a partially received value across chunks and, whenever a new chunk arrives before the value is complete, re-runs decoding over the accumulated buffer from the beginning. An attacker who controls both the MessagePack payload and its chunk boundaries can stream one large container of many small elements in tiny pieces, forcing repeated re-decoding whose cost is quadratic in the number of chunks and eventually monopolizing the single Node.js event loop thread. Only the streaming/iterator code paths (UnpackrStream and decodeIter, implemented in iterators.js) are in the described trigger path; one-shot unpack()/unpackMultiple() over a complete buffer is not. The upstream fix commit 4eae7a11e96bb4ac292bb9ec9b4765cf18095a2f introduces a StructureScanner that frames a held value as its bytes arrive without constructing it, so per-chunk work stays linear in value size, and adds handling for values the scanner cannot frame (malformed data, records not yet loaded via getStructures, or records whose keys come from an extension) by falling back to re-unpacking per chunk; custom extensions that read further values cannot be framed and instead raise an error when such a value spans more than one chunk.

Know when Msgpackr gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 8.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
vuln.today AI 7.5 HIGH

Remote unauthenticated streaming input with no user interaction (AV:N/AC:L/PR:N/UI:N); availability-only denial of service via event-loop blocking, so C:N/I:N/A:H and no scope change.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

msgpackr before 2.1.4 contains an inefficient algorithmic complexity vulnerability that allows remote attackers to cause denial of service by repeatedly re-decoding buffered incomplete values. Attackers can stream a large container of small elements in small chunks to UnpackrStream or decodeIter, triggering quadratic decoding cost that blocks the Node.js event loop.

Executive ViewAI

Why It Matters

CVE-2026-134812 is a high-severity denial-of-service vulnerability in the msgpackr library (versions before 2.1.4) used by Node.js applications, allowing remote attackers to stall the event loop by streaming malformed MessagePack data. This can degrade or halt service availability for any Node.js service that processes untrusted MessagePack input via UnpackrStream or decodeIter, impacting customers and business operations. Leadership should prioritize patch deployment to maintain service uptime and prevent potential disruption.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.8%
Top 44% exploitable
Prevalence
Medium
popular Node.js MessagePack library, common but not universally deployed
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.8%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

45
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy