CVE-2026-95843

HIGH CVSS 4.0: 8.7 EPSS 0.43%
Updated Sep 25, 2026
Moquette-Io
Parameter Value
CVSS 8.7 (HIGH)
Affected Versions before 0.18.1
Fixed In 0.18.1
Type CWE-20 (Improper Input Validation)
Vendor Moquette-Io
Public PoC No

Moquette is a lightweight Java MQTT broker. Prior to 0.18.1, PostOffice.subscribe parses a shared-subscription filter through SharedSubscriptionUtils.extractShareName before validating the complete $share/{shareName}/{topicFilter} structure. A remote client can send a filter such as $share/grp without a topic-filter portion, causing a StringIndexOutOfBoundsException while calculating the share name.

The exception terminates command handling on the shared session event loop and can deny service to other client sessions assigned to that loop. This issue is fixed in version 0.18.1.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
High
Complete denial of service

CVSS Vector v4.0

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Moquette Moquette
cpe:2.3:a:moquette:moquette:*:*:*:*:*:*:*:*
— 0.18.1