Description
Moquette is a lightweight Java MQTT broker. Prior to 0.18.1, Moquette does not limit the depth of topic names and topic filters before processing them through recursive CTrie insertion and matching operations. A remote client can publish or subscribe with a deeply nested topic, causing a StackOverflowError that disrupts session processing and can deny service to broker clients. This issue is fixed in version 0.18.1.
Published: 2026-09-23
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service
Action: Apply Patch
AI Analysis

Impact

Moquette, a lightweight Java MQTT broker, processes MQTT topic names and topic filters through recursive CTrie operations without limiting their depth. A remote client can publish or subscribe using a deeply nested topic, triggering a StackOverflowError during these recursive operations. The error disrupts session processing and can render the broker unavailable to its clients, creating a denial‑of‑service scenario for all connected users.

Affected Systems

The vulnerability affects the moquette-io:moquette broker, specifically any release prior to version 0.18.1. Users deploying older Moquette versions are at risk. Upgrading to 0.18.1 or newer mitigates the issue.

Risk and Exploitability

The CVSS score of 8.7 indicates high severity, while the EPSS score is not available, giving no precise estimate of current exploitation likelihood. The vulnerability is not listed in the CISA KEV catalog. The attack vector is remote; any client capable of publishing or subscribing to the broker can introduce a deeply nested topic and trigger the stack exhaustion. No special environment or privileged access is required beyond normal broker usage.

Generated by OpenCVE AI on September 23, 2026 at 17:51 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Moquette to version 0.18.1 or later, which introduces a limit on topic depth and resolves the stack exhaustion issue.
  • If an immediate upgrade is infeasible, apply the upstream patch from the commit ca17e0be19e86d5e291f4532dfdc94616c8e0049 or rebuild the broker using the fixed source code; this adds the necessary depth check before recursive insertion.
  • Implement a runtime interceptor or configuration rule that rejects or logs clients attempting to publish or subscribe to topics exceeding a reasonable depth threshold; this acts as a temporary safeguard until the patch is deployed.

Generated by OpenCVE AI on September 23, 2026 at 17:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 29 Sep 2026 02:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Mon, 28 Sep 2026 15:30:00 +0000

Type Values Removed Values Added
First Time appeared Moquette
Moquette moquette
CPEs cpe:2.3:a:moquette:moquette:*:*:*:*:*:*:*:*
Vendors & Products Moquette
Moquette moquette
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'}


Wed, 23 Sep 2026 18:00:00 +0000

Type Values Removed Values Added
First Time appeared Moquette-io
Moquette-io moquette
Vendors & Products Moquette-io
Moquette-io moquette

Wed, 23 Sep 2026 16:45:00 +0000

Type Values Removed Values Added
Description Moquette is a lightweight Java MQTT broker. Prior to 0.18.1, Moquette does not limit the depth of topic names and topic filters before processing them through recursive CTrie insertion and matching operations. A remote client can publish or subscribe with a deeply nested topic, causing a StackOverflowError that disrupts session processing and can deny service to broker clients. This issue is fixed in version 0.18.1.
Title Moquette deeply nested MQTT topics can cause stack exhaustion
Weaknesses CWE-674
References
Metrics cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Moquette Moquette
Moquette-io Moquette
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-29T02:02:45.779Z

Reserved: 2026-09-22T16:39:45.793Z

Link: CVE-2026-95844

cve-icon Vulnrichment

Updated: 2026-09-29T02:02:40.969Z

cve-icon NVD

Status : Modified

Published: 2026-09-23T17:17:21.280

Modified: 2026-09-29T02:16:55.810

Link: CVE-2026-95844

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-23T18:00:07Z

Weaknesses