Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach TCP transporter port (often via UDP discovery)
-
DeliverySend ~10-byte packet with negative length field
-
ExploitParser slice() no-ops, loop never exits
-
ExecutionEvent loop blocked synchronously
-
ImpactAll 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
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.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.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.
Articles & Coverage 1
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
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.
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
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-117036
GHSA-h89v-g948-47vp
NVD
CVE.org
EPSS
Exploit-DB