CVE-2026-95843
7.5 HIGHpublic exploit availablePublished 2026-09-23 · Updated 2026-09-25
AI risk analysis
- 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.
- Detection
- No reliable host or network indicator is derivable from the published description.
- Prioritized remediation
- Upgrade to moquette version 0.18.1 or later to fix the shared subscription parsing issue.
Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.
NVD 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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-20
Vendors
moquette
Products
moquette
Public exploit & PoC references
- 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
References
- 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
Data: NVD (public domain). Analysis: local $0 model. Defensive use only.