HIGH 8.7
CVE-2026-95842
Moquette uncaught MQTT command exceptions can terminate shared session event loops
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.
Affected Maven artifacts (0)
No Maven artifact is known to be affected.
References
| Advisory | CVE record CVE-2026-95842 | github.com |
| Advisory | moquette-io/moquette advisory GHSA-5f42-97gr-vfhq | github.com |
| Advisory | NVD CVE-2026-95842 | nvd.nist.gov |
| Fix | moquette-io/moquette commit 86feb7c | github.com |
| Fix | moquette-io/moquette pull request #957 | github.com |
| Web | moquette-io/moquette release v0.18.1 | github.com |
