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.
Metrics
CVSS 3.1 7.5/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| moquette-io | moquette | < 0.18.1 |
References
- https://github.com/moquette-io/moquette/commit/ca17e0be19e86d5e291f4532dfdc94616c8e0049Patch
- https://github.com/moquette-io/moquette/releases/tag/v0.18.1Release Notes
- https://github.com/moquette-io/moquette/security/advisories/GHSA-5f42-97gr-vfhqExploit, Mitigation, Vendor Advisory
- https://github.com/moquette-io/moquette/security/advisories/GHSA-5f42-97gr-vfhqExploit, Mitigation, Vendor Advisory
Timeline
- Published
- Sep 23, 2026
- Last modified
- Sep 29, 2026
- NVD status
- Modified