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.
References
| Link | Resource |
|---|---|
| https://github.com/moquette-io/moquette/commit/affdc71fdba92dc020421678970ae70518fb6da2 | Patch |
| https://github.com/moquette-io/moquette/pull/962 | Patch |
| https://github.com/moquette-io/moquette/releases/tag/v0.18.1 | Release Notes |
| https://github.com/moquette-io/moquette/security/advisories/GHSA-5f42-97gr-vfhq | Exploit Mitigation Vendor Advisory |
| https://github.com/moquette-io/moquette/security/advisories/GHSA-5f42-97gr-vfhq | Exploit Mitigation Vendor Advisory |
Configurations
History
25 Sep 2026, 13:34
| Type | Values Removed | Values Added |
|---|---|---|
| First Time |
Moquette moquette
Moquette |
|
| CPE | cpe:2.3:a:moquette:moquette:*:*:*:*:*:*:*:* | |
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 7.5 |
| References | () https://github.com/moquette-io/moquette/commit/affdc71fdba92dc020421678970ae70518fb6da2 - Patch | |
| References | () https://github.com/moquette-io/moquette/pull/962 - Patch | |
| References | () https://github.com/moquette-io/moquette/releases/tag/v0.18.1 - Release Notes | |
| References | () https://github.com/moquette-io/moquette/security/advisories/GHSA-5f42-97gr-vfhq - Exploit, Mitigation, Vendor Advisory |
23 Sep 2026, 18:17
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/moquette-io/moquette/security/advisories/GHSA-5f42-97gr-vfhq - |
23 Sep 2026, 17:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-09-23 17:17
Updated : 2026-09-25 13:34
NVD link : CVE-2026-95843
Mitre link : CVE-2026-95843
CVE.ORG link : CVE-2026-95843
JSON object : View
Products Affected
moquette
- moquette
CWE
CWE-20
Improper Input Validation
