CVE Catalog

CVE-2026-95843

HighCVSS 8.7
Published: Translated: NVD NIST

Summary

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.

Risk Assessment

The risk is the potential for disrupting the event loop, leading to unavailability of service for clients assigned to that loop.

Recommendation

It is recommended to upgrade Moquette to version 0.18.1 or later to prevent the exception.

Other vulnerabilities in Moquette

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS