Skip to content
OpenAdvisories
High · 7.5 CVE-2026-97705 EUVD-2026-117036GHSA-h89v-g948-47vp

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

Published Nov 4, 2026 · Updated Nov 5, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
moleculerjs moleculer >= 0.15.0, < 0.15.2, < 0.14.36 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm moleculer >= 0.15.0-beta1, < 0.15.2 0.15.2 GHSA-h89v-g948-47vp
npm moleculer < 0.14.36 0.14.36 GHSA-h89v-g948-47vp

References