What’s Vulnerable › Vulnerabilities

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 products

How to fix

Upgrade to a fixed version: moquette-io moquette 0.18.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-95842 or the next vulnerability affects your stack