{"id":"CVE-2026-95843","published":"2026-09-23T17:17:21.130","lastModified":"2026-09-25T13:34:44.800","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.","cvssScore":7.5,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","cwes":["CWE-20"],"vendors":["moquette"],"products":["moquette"],"references":[{"url":"https://github.com/moquette-io/moquette/commit/affdc71fdba92dc020421678970ae70518fb6da2","tags":["Patch"]},{"url":"https://github.com/moquette-io/moquette/pull/962","tags":["Patch"]},{"url":"https://github.com/moquette-io/moquette/releases/tag/v0.18.1","tags":["Release Notes"]},{"url":"https://github.com/moquette-io/moquette/security/advisories/GHSA-5f42-97gr-vfhq","tags":["Exploit","Mitigation","Vendor Advisory"]},{"url":"https://github.com/moquette-io/moquette/security/advisories/GHSA-5f42-97gr-vfhq","tags":["Exploit","Mitigation","Vendor Advisory"]}],"exploitRefs":[{"url":"https://github.com/moquette-io/moquette/commit/affdc71fdba92dc020421678970ae70518fb6da2","tags":["Patch"]},{"url":"https://github.com/moquette-io/moquette/pull/962","tags":["Patch"]},{"url":"https://github.com/moquette-io/moquette/releases/tag/v0.18.1","tags":["Release Notes"]},{"url":"https://github.com/moquette-io/moquette/security/advisories/GHSA-5f42-97gr-vfhq","tags":["Exploit","Mitigation","Vendor Advisory"]},{"url":"https://github.com/moquette-io/moquette/security/advisories/GHSA-5f42-97gr-vfhq","tags":["Exploit","Mitigation","Vendor Advisory"]}],"hasPoc":true,"ai":{"summary":"Moquette MQTT broker has a vulnerability in shared subscription handling where malformed topic filters can cause a StringIndexOutOfBoundsException, leading to denial of service for other clients on the same session event loop.","exploitability":"Exploitation is straightforward as any remote client can send a malformed $share filter without topic-filter portion to trigger the exception and cause service disruption.","blast_radius":"The impact could affect multiple concurrent clients sharing the same session event loop, potentially causing widespread service disruption for all clients assigned to that loop.","remediation":"Upgrade to moquette version 0.18.1 or later to fix the shared subscription parsing issue.","detection":"No reliable host or network indicator is derivable from the published description.","tags":["mqtt","dos","broker"],"model":"garnet-coder","analyzedAt":"2026-10-18T16:07:56.509Z"}}