Skip to main content
← All vulnerabilities
CVE-2026-95844GHSA-5F42-97GR-VFHQ

Moquette deeply nested MQTT topics can cause stack exhaustion

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.18.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

Moquette is a lightweight Java MQTT broker. Prior to 0.18.1, Moquette does not limit the depth of topic names and topic filters before processing them through recursive CTrie insertion and matching operations. A remote client can publish or subscribe with a deeply nested topic, causing a StackOverflowError that disrupts session processing and can deny service to broker clients. This issue is fixed in version 0.18.1.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • moquette-io moquette

    fixed in 0.18.1

  • io.moquette:moquette-brokerMaven

    fixed in 0.18.1

References 3

GitHub · moquette-io/moquette