CVE-2026-95843 Moquette malformed shared subscriptions can crash command processing
HighCVSS 8.7
EPSS 0.43%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
Description
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| moquette | < 0.18.1 | 0.18.1 | Fixed |
| moquette-io moquette | = < 0.18.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| moquette-io moquette | = < 0.18.1 | No fix listed |
| moquette | < 0.18.1 | 0.18.1 |
References
- https://github.com/moquette-io/moquette/security/advisories/GHSA-5f42-97gr-vfhq exploit mitigation vendor-advisory
- https://github.com/moquette-io/moquette/pull/962 patch
- https://github.com/moquette-io/moquette/commit/affdc71fdba92dc020421678970ae70518fb6da2 patch
- https://github.com/moquette-io/moquette/releases/tag/v0.18.1 release-notes
- ENISA EUVD EUVD-2026-85413 third-party-advisory