Skip to content
OpenAdvisories
High · 8.7 CVE-2026-95844 EUVD-2026-85414

Moquette deeply nested MQTT topics can cause stack exhaustion

Published Sep 23, 2026 · Updated Sep 29, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
moquette-io moquette < 0.18.1 —

References