CVE-2026-95844 Moquette deeply nested MQTT topics can cause stack exhaustion
HighCVSS 8.7
EPSS 0.42%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| moquette | < 0.18.1 | 0.18.1 | Fixed |
| moquette-io moquette | = < 0.18.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| moquette-io moquette | = < 0.18.1 | No fix listed |
| moquette | < 0.18.1 | 0.18.1 |
References
- https://github.com/moquette-io/moquette/security/advisories/GHSA-5f42-97gr-vfhq exploit mitigation vendor-advisory
- https://github.com/moquette-io/moquette/commit/ca17e0be19e86d5e291f4532dfdc94616c8e0049 patch
- https://github.com/moquette-io/moquette/releases/tag/v0.18.1 release-notes
- ENISA EUVD EUVD-2026-85414 third-party-advisory