CVE-2026-95842 Moquette uncaught MQTT command exceptions can terminate shared session event loops
HighCVSS 8.7
EPSS 0.44%
- 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, SessionEventLoop.run catches only InterruptedException, and SessionEventLoopGroup does not restart a terminated loop. An MQTT command that raises an uncaught exception can terminate an event loop shared by multiple client sessions, preventing every co-located client from processing PUBLISH, SUBSCRIBE, PUBACK, and other commands. An attacker can select client IDs that map across the available loops to disrupt session processing for the entire broker. 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/pull/957 patch
- https://github.com/moquette-io/moquette/commit/86feb7c31e6fac849c465d8079d08c0e7ef01cdf patch
- https://github.com/moquette-io/moquette/releases/tag/v0.18.1 release-notes
- ENISA EUVD EUVD-2026-85412 third-party-advisory