Skip to main content

Moleculer CVE-2026-97705

| EUVDEUVD-2026-117036 HIGH
Loop with Unreachable Exit Condition (Infinite Loop) (CWE-835)
2026-11-04 GitHub_M GHSA-h89v-g948-47vp
7.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Reach TCP transporter port (often via UDP discovery)
  2. Delivery
    Send ~10-byte packet with negative length field
  3. Exploit
    Parser slice() no-ops, loop never exits
  4. Execution
    Event loop blocked synchronously
  5. Impact
    All services in process unresponsive until restart

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Loop termination conditions
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires the Moleculer TCP transporter to be explicitly enabled and its listening port reachable by the attacker; TcpReader.onTcpClientConnected pipes any accepted socket's bytes straight into a fresh Parser with no handshake, so no authentication, protocol negotiation, or user interaction is needed. The attacker must supply a packet whose signed int32 length field is negative (e.g. 0x80000000) with an attacker-computable valid CRC byte. Limiting factors: deployments using other transporters (NATS, Redis, MQTT, etc.) are not exposed; CRC and maxPacketSize provide no protection; exposure is amplified where TCP endpoints are auto-discovered via UDP broadcast, making any host on the same network segment a viable source.

Impact

Signals are moderately consistent and point to a real but conditional availability threat. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, base 7.5) describes a remote, low-complexity, unauthenticated attack with high availability impact and no confidentiality or integrity effect - consistent with the GHSA advisory's account of a single ~10-byte crafted packet hanging the Node.js event loop. The vuln.today decision label is 'this_week' (not act_now/emergency), indicating elevated but not top-tier urgency. No EPSS score and no CISA KEV status are provided in the input, and no exploitation-probability data is available, so widespread or active exploitation cannot be asserted - exploitation status is 'no public exploit identified at time of analysis' (the patch commit ships a unit test that crafts the malicious packet, which documents the trigger but is not distributed as a weaponized exploit). The key risk-limiting factor is configuration-dependence: the flaw is only reachable when the optional TCP transporter is enabled and its port is reachable; Moleculer deployments using NATS, Redis, MQTT, or other transporters are not exposed. Net assessment: a genuine, easy-to-trigger DoS for the subset of deployments using the TCP transporter, but gated by that non-default-for-many deployment choice rather than a blanket network-wide critical.

Exploit ScenarioDerived

An unauthenticated attacker able to reach a Moleculer node's TCP transporter port - often auto-discovered via UDP broadcast on the same network segment - sends a single ~10-byte TCP packet whose 4-byte length field has the sign bit set, decoding to a negative value. Because the parser's slice() no-ops on the negative length, the synchronous while-loop never terminates, blocking the single-threaded event loop and rendering every service in that process unresponsive until a forced restart. No handshake or authentication is required and neither CRC validation nor maxPacketSize blocks the malformed length.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
1 PoC candidate (unverified) Patch available 0.4% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 04, 2026

Denial of service in Moleculer's TCP transporter can freeze a Node.js process and every service hosted in it when a remote peer sends a single crafted packet with a negative packet-length field. Affected deployments are those running Moleculer before 0.14.36, or 0.15.x before 0.15.2, with the TCP transporter enabled and reachable; the peer needs no authentication or protocol handshake because accepted sockets are piped directly into the parser. No CISA KEV status is indicated and no public exploit tooling is identified in the supplied intelligence at time of analysis, although the advisory's regression test demonstrates construction of the malformed packet.

RemediationAI

Upgrade to Moleculer 0.14.36 or later on the 0.14 branch, or 0.15.2 or later on the 0.15 branch; these releases contain the length validation that rejects decoded lengths below the 6-byte header. See the vendor advisory at https://github.com/moleculerjs/moleculer/security/advisories/GHSA-h89v-g948-47vp and the release notes at https://github.com/moleculerjs/moleculer/releases/tag/v0.14.36 and https://github.com/moleculerjs/moleculer/releases/tag/v0.15.2. No vendor workaround is listed in the supplied data; because exploitation requires the TCP transporter to be enabled and reachable, disabling that transporter or restricting its listening port to trusted peers reduces exposure, with the trade-off that the TCP transport and UDP-based endpoint auto-discovery become unavailable. CRC validation and maxPacketSize do not mitigate the issue.

Affected VersionsENISA

moleculer < 0.14.36
moleculer 0.15.0, < 0.15.2

Affected Packages

npm moleculer fix: 0.14.36, 0.15.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

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

Technical ContextAI · show details

The flaw is in Parser._write in src/transporters/tcp/parser.js, a Node.js Writable stream parser used by the TCP transporter. The parser reads the 4-byte length field with Buffer.prototype.readInt32BE, a signed read; a value such as 0x80000000 becomes -2147483648. Buffer.prototype.slice clamps an out-of-range negative start offset to 0, so packet.slice(length) returns the same buffer and the while (packet.length > 0) loop never terminates, blocking the single-threaded event loop. TcpReader.onTcpClientConnected pipes accepted socket bytes directly into a fresh Parser without a handshake, so any peer that can reach the transporter port can trigger the loop; CWE-835 captures the unreachable exit condition. The CRC byte is attacker-computable and maxPacketSize limits received buffer size, not the decoded length. The fix adds a HEADER_SIZE (6-byte) lower bound on the decoded length and rejects negative or undersized values via the write callback.

Know when Moleculer 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 (GitHub_M) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 7.5 HIGH

Single crafted packet, remote and unauthenticated with no handshake (AV:N/AC:L/PR:N/UI:N); full process hang gives A:H with no confidentiality or integrity impact.

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 (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

2
Patch available
Nov 04, 2026 - 20:18 EUVD
CVE Published
Nov 04, 2026 - 19:28 cve.org
HIGH 7.5

DescriptionCVE.org

Moleculer is a progressive microservices framework for Node.js. Prior to 0.14.36 and 0.15.2, Parser._write in src/transporters/tcp/parser.js used Buffer.prototype.readInt32BE to read a signed packet length, so a remote unauthenticated peer could supply a negative value that caused packet.slice(length) to return the unchanged buffer while the while (packet.length > 0) loop continued indefinitely. The synchronous loop blocked the Node.js event loop and made every service in the process unresponsive until restart. The TCP transporter must be enabled and reachable, and neither CRC validation nor maxPacketSize prevents the malformed length value. This issue is fixed in versions 0.14.36 and 0.15.2.

Technical POC Analysis

CWE-835 (Loop with Unreachable Exit Condition / infinite loop).

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Latest POC

1 PoC candidate from github (unverified)

Sign in to open the public PoC links collected for this CVE.

Executive ViewAI

Why It Matters

CVE-2026-97705 is a high-severity denial-of-service vulnerability in Moleculer's TCP transporter affecting versions before 0.14.36 and 0.15.x before 0.15.2. A single unauthenticated network packet can freeze the Node.js process and all hosted services, disrupting microservices operations and potentially impacting customers. Leadership should prioritize mitigation because critical services may become unavailable.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: restrict TCP transporter ports to trusted IPs, deploy network segmentation, and monitor for process hangs or unexpected traffic.

Threat Intelligence Overview

EPSS Score
0.4%
Top 71% exploitable
Prevalence
Medium
popular Node.js microservices framework, but TCP transporter is one optional mode
Threat Intel
1
1 source
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 Yes
EPSS 0.4%
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· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

58
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: +20
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