HIGH 8.7
CVE-2026-95844
Moquette deeply nested MQTT topics can cause stack exhaustion
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 Maven artifacts (0)
No Maven artifact is known to be affected.
References
| Advisory | CVE record CVE-2026-95844 | github.com |
| Advisory | moquette-io/moquette advisory GHSA-5f42-97gr-vfhq | github.com |
| Advisory | NVD CVE-2026-95844 | nvd.nist.gov |
| Fix | moquette-io/moquette commit ca17e0b | github.com |
| Web | moquette-io/moquette release v0.18.1 | github.com |
