Skip to main content

CVE-2026-95842: CWE-248: Uncaught Exception in moquette-io moquette

0
High
VulnerabilityCVE-2026-95842cvecve-2026-95842cwe-248
Published: 09/23/2026 (09/23/2026, 16:29:41 UTC)
Source: CVE Database V5
Vendor/Project: moquette-io
Product: moquette

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.

CVSS v4.0

Score 8.7high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Affected software

moquette-io

moquette

Affected versions
<0.18.1
GitHub Actionsmore threats →ai
moquette-io/moquette
pkg:github/moquette-io/moquette
Affected versions
<0.18.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/23/2026, 17:03:55 UTC

Technical Analysis

Moquette versions before 0.18.1 have a flaw in the SessionEventLoop where only InterruptedException is caught. If an MQTT command triggers an uncaught exception, it terminates the event loop shared by multiple client sessions. Since the SessionEventLoopGroup does not restart terminated loops, this leads to denial of service for all clients mapped to that loop. Attackers can deliberately select client IDs to target specific loops, causing widespread disruption of MQTT session processing. The issue is resolved in version 0.18.1.

Potential Impact

Successful exploitation results in denial of service for multiple MQTT client sessions sharing the same event loop. This prevents processing of critical MQTT commands such as PUBLISH, SUBSCRIBE, and PUBACK, effectively disrupting broker functionality for affected clients. The impact is high as it affects availability of the MQTT broker service.

Mitigation Recommendations

Upgrade moquette to version 0.18.1 or later, where this issue is fixed. No other mitigations are indicated. Patch status is confirmed fixed in 0.18.1.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-09-22T16:39:45.793Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6ab402daf7a7c541060ee0d0

Added to database: 09/23/2026, 16:48:26 UTC

Last enriched: 09/23/2026, 17:03:55 UTC

Last updated: 09/24/2026, 02:15:07 UTC

Views: 8

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses