CVE-2026-97705

Moleculer: Unauthenticated Denial of Service via negative length field in the TCP transporter packet parser

Published Nov 4, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

Moleculer’s TCP packet parser uses a signed length field, allowing an unauthenticated remote peer to send a negative value. The negative length causes the loop that slices the packet buffer to run indefinitely, blocking the Node.js event loop. The result is that all services using the affected framework become unresponsive until the process restarts, representing a classic infinite‑loop denial of service.

Affected Systems

The vulnerability affects the Moleculer microservices framework for Node.js. Any deployment using moleculerjs:moleculer with a TCP transporter enabled and running a version older than 0.14.36, or older than 0.15.2, is susceptible.

Risk and Exploitability

With a CVSS score of 7.5 the vulnerability is moderate‑high severity. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. The attack vector is remote, relying on an open TCP transporter that accepts packets from unauthenticated clients. Because the flaw bypasses CRC checks and size limits, an attacker only needs to send a crafted packet with a negative length; no special privileges are required. The exploit is straightforward and would immediately freeze all services in the Node.js process, making it a high‑impact denial‑of‑service attack.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to a fixed Moleculer release (0.14.36, 0.15.2, or newer)
  • If an upgrade is not immediately feasible, disable the TCP transporter or restrict its exposure to trusted networks
  • Monitor the Node.js event loop and automatically restart services that become unresponsive

Generated by OpenCVE AI on November 4, 2026 at 20:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-h89v-g948-47vp Moleculer: Unauthenticated Denial of Service via negative length field in the TCP transporter packet parser
History
Type Values Removed Values Added
First Time appeared Moleculerjs
Moleculerjs moleculer
Vendors & Products Moleculerjs
Moleculerjs moleculer
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title Moleculer: Unauthenticated Denial of Service via negative length field in the TCP transporter packet parser
Weaknesses CWE-835
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Weaknesses
  • CWE-835

    Loop with Unreachable Exit Condition ('Infinite Loop')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 5, 2026, 7:18 PM
Reserved
Sep 24, 2026, 9:43 PM
Status
Awaiting Analysis
Published
Nov 4, 2026, 8:19 PM
Modified
Nov 12, 2026, 10:18 PM