CVE-2026-95844: Moquette deeply nested MQTT topics can cause stack exhaustion

Published Sep 23, 2026
·
Updated

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.

Affected Software

1 affected component
Moquette Moquette<0.18.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Moquette to a version that resolves this vulnerability.

    Fixed in 0.18.1

Event History

Sep 23, 2026
CVE Published
via MITRE·04:29 PM
Data Sourced
via MITRE·04:29 PM
DescriptionWeakness
Data Sourced
via NVD·05:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can trigger the denial of service?

A remote MQTT client that can connect to the broker can trigger the issue by publishing to or subscribing with a deeply nested topic or topic filter.

2

Which deployments are affected?

Moquette versions before 0.18.1 are affected. The issue is in topic-name and topic-filter processing, and the provided information does not identify any configuration prerequisite.

3

What happens when the issue is exploited?

Recursive CTrie insertion or matching can exhaust the Java stack and raise a StackOverflowError. This disrupts session processing and can deny service to broker clients.

4

What is the available remediation?

Upgrade Moquette to version 0.18.1, which fixes the issue.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203