Moleculer: Unauthenticated Denial of Service via negative length field in the TCP transporter packet parser
- State
- Published
- Severity
- 7.5 High
- Published
- Nov 4, 2026
- Updated
- Nov 5, 2026
- Reserved
- Sep 24, 2026
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.
| Product | Versions |
|---|---|
| moleculer moleculerjs | >= 0.15.0, < 0.15.2 Affected< 0.14.36 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 7.5 High | GitHub_M |
Weaknesses
- CWE-835 Loop with Unreachable Exit Condition ('Infinite Loop')
References
- https://github.com/moleculerjs/moleculer/security/advisories/GHSA-h89v-g948-47vp
- https://github.com/moleculerjs/moleculer/commit/168ecbdc245c9a9d1dc4ef9b8a81dbae38ee3063
- https://github.com/moleculerjs/moleculer/commit/914074e502ae403a0338ad168b45b16d6bcc3e44
- https://github.com/moleculerjs/moleculer/releases/tag/v0.14.36
- https://github.com/moleculerjs/moleculer/releases/tag/v0.15.2
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.