msgpackr denial of service in UnpackrStream and decodeIter
Affects msgpackr versions before 2.1.4 in applications that decode streamed input with UnpackrStream or decodeIter. Fixed in 2.1.4.
- Exploited
- No known exploitation
- Fix
- Fixed in 2.1.4
- Who is exposed
- Not reported
Summary
Written by a model
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.
Who should check
Teams running msgpackr before 2.1.4 in Node.js services that decode streamed MessagePack with UnpackrStream or decodeIter.
“msgpackr before 2.1.4 contains an inefficient algorithmic complexity vulnerability”
What to do
Upgrade to a fixed version: 2.1.4.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-134812 (msgpackr before 2.1.4 Inefficient Algorithmic Complexity via UnpackrStream and decodeIter), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-134812 (entry last updated 2026-11-22):
Affected:
- npm package msgpackr: fixed in 2.1.4
Fixed versions: 2.1.4.
Conditions (all must be true for the bug to be hit):
- msgpackr versions before 2.1.4 (source: https://www.vulncheck.com/advisories/msgpackr-before-2.1.4-inefficient-algorithmic-complexity-via-unpackrstream-and-decodeiter)
- The application decodes streamed input with UnpackrStream or decodeIter (source: https://www.vulncheck.com/advisories/msgpackr-before-2.1.4-inefficient-algorithmic-complexity-via-unpackrstream-and-decodeiter)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: network access, no login, no user action.
CISA KEV: CVE-2026-134812 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-134812 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Packages (npm): find every lockfile in each project and run the stack.check operation of the cve.now MCP server (execute) on each one. Compare the resolved versions, not the ranges a manifest declares, with the affected versions above. Include transitive dependencies.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://github.com/kriszyp/msgpackr/commit/4eae7a11e96bb4ac292bb9ec9b4765cf18095a2f
- https://github.com/kriszyp/msgpackr/issues/229
- https://github.com/kriszyp/msgpackr/blob/v2.1.3/iterators.js#L89-L127
- https://www.vulncheck.com/advisories/msgpackr-before-2.1.4-inefficient-algorithmic-complexity-via-unpackrstream-and-decodeiter
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-134812
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-134812"}.Affected versions
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure17/25No login or user action needed, reachable over the network without a login · Unknown: Advisories don't say whether default setups are affected
- Reach10/20Affects npm packages
- Severity8.7/10CVSS 8.7
- No patch0/5No signal
What would change the score
- Would score about 81 if added to CISA KEV
- Would score about 76 if CISA's SSVC rates exploitation active
- Would score about 41 if advisories confirm default setups are exposed
Timeline
- CVE published
- First seen by cve.now
Evidence 6
| Kind | Source |
|---|---|
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-134812 |
| Record | NVD · CVE-2026-134812 |
| Other links 4 | |
| Patch | GitHub · kriszyp/msgpackr · Commit 4eae7a11 |
| Report | GitHub · kriszyp/msgpackr · Issue #229 |
| Repository | GitHub · kriszyp/msgpackr · iterators.js · L89-L127 |
| Link | vulncheck.com · advisories/msgpackr-before-2.1.4-inefficient-algorithmic-complexity-via-unpackrstream-and-decodeiter |
Questions about CVE-2026-134812
Is CVE-2026-134812 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
What does this mean?
Streamed input can be built as a large container of small elements sent in small chunks, which makes decoding cost grow quadratically and block the Node.js event loop, causing denial of service.
Source: vulncheck.com
Which versions are affected by CVE-2026-134812?
msgpackr (npm): before 2.1.4.
Source: cve.now feed data
Am I affected, and how do I check?
msgpackr versions before 2.1.4 are affected, and the risk applies to code that decodes streamed input with UnpackrStream or decodeIter. To check, look at the installed msgpackr version in package.json or the lockfile and search the code for those two APIs.
Source: vulncheck.com
How do I fix CVE-2026-134812?
Upgrade msgpackr to 2.1.4 or later, which is the fixed version.
Source: vulncheck.com
Related
- CVE-2023-52079Conversion of property names to strings can trigger infinite recursion
- CVE-2021-3918Prototype Pollution in kriszyp/json-schema
- CVE-2026-134366pypdf before 7.0.0 Memory Exhaustion via Cross-Reference Streams with Identical Offsets
- CVE-2026-134164probe-image-size before 7.5.0 Denial of Service via EXIF Sub-IFD Traversal
- CVE-2026-127960Denial of service through folded HTTP response headers
- CVE-2026-131877Convert::ASN1 versions before 0.37 for Perl allow CPU exhaustion via unbounded arc length in OBJECT IDENTIFIER decoding and encoding
No corrections so far. Something wrong on this page? Report an error.