Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-63341: high-severity vulnerability (CVSS 7.5) in aedes.
What happened
Original description from the source: ### Summary A remote Denial of Service (DoS) vulnerability, allows any remote client to cause a complete crash of the Aedes MQTT broker process. This is achieved by sending a specially crafted MQTT message (via PUBLISH or SUBSCRIBE), or by setting a Will message with such a topic, containing a highly recursive topic string (e.g., with thousands of '/' delimiters). The lack of input validation and error handling leads to an uncaught exception in an internal routing library, terminating the entire Node.js application. ### Details The Aedes broker fails to enforce limits on the depth or structural complexity of MQTT topic strings. When a client publishes to or subscribes to a topic with excessive levels of recursion, the internal routing logic cascading into the qlobber library (via mqemitter) reaches an hard-coded limit within the qlobber._split_words function. This function throws a hard Error: too many words (found in lib/qlobber.js:604). Crucially, Aedes does not wrap the calls to these internal modules (such as in handlers/subscribe.js or the publishing logic) in try-catch blocks. Consequently, this exception propagates up to the main Node.js event loop as an unhandled exception, causing the entire broker process to crash immediately. This vulnerability affects all stable versions of Aedes due to the underlying dependency behavior and missing perimetral validation. Stack Trace from Crash: ```Plaintext aedes-broker | /app/node_modules/mqemitter/node_modules/qlobber/lib/qlobber.js:604 aedes-broker | throw new Error('too many words'); aedes-broker | ^ aedes-broker | aedes-broker | Error: too many words aedes-broker | at Qlobber._split_words (/app/node_modules/mqemitter/no…
Why it matters
High severity, CVSS 7.5.
Affected products and versions
aedes < 1.1.1 (fixed in 1.1.1)
| Product | Versions | Fixed in |
|---|---|---|
| aedes | < 1.1.1 | 1.1.1 |
Action recommended by the source
Upgrade to a fixed version: 1.1.1.
Fixed in: 1.1.1
Sources and references
- https://github.com/advisories/GHSA-xxqp-5qx8-gj5q — GHSA
- https://github.com/moscajs/aedes/security/advisories/GHSA-xxqp-5qx8-gj5q — GHSA
- https://nvd.nist.gov/vuln/detail/CVE-2026-63341 — GHSA
- https://github.com/moscajs/aedes/commit/b9024faa4cb416c4c6980760b4d7f55336315f2d — GHSA
- https://github.com/moscajs/aedes/releases/tag/v1.1.1 — GHSA
- https://github.com/moscajs/aedes — OSV
Weaknesses (CWE): CWE-248, CWE-400
Relevant change history
Published
Preliminary advisory published.