Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessConnect to streaming msgpackr decode endpoint
-
DeliveryStream large container of small elements in tiny chunks
-
ExploitTrigger repeated re-decoding of buffered incomplete value
-
ExecutionExhaust CPU with quadratic cost
-
ImpactBlock 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
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.
Articles & Coverage 1
Executive ViewAI
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.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
EUVD-2026-132851
GHSA-q5gv-9735-3gfv
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB