{"id":"CVE-2026-95844","published":"2026-09-23T17:17:21.280","lastModified":"2026-09-29T02:16:55.810","description":"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.","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-674"],"vendors":["moquette"],"products":["moquette"],"references":[{"url":"https://github.com/moquette-io/moquette/commit/ca17e0be19e86d5e291f4532dfdc94616c8e0049","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/ca17e0be19e86d5e291f4532dfdc94616c8e0049","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 suffers from unlimited topic depth recursion that leads to StackOverflowError and service denial when remote clients publish or subscribe with deeply nested topics. This vulnerability allows attackers to disrupt broker sessions and deny service to legitimate clients.","exploitability":"Exploitation is straightforward requiring only a single malicious publish or subscribe operation with deeply nested topics, with no authentication required for the attack.","blast_radius":"The impact affects all broker clients during the session disruption, potentially causing widespread service interruption for MQTT-based applications and IoT devices relying on the broker.","remediation":"Upgrade to version 0.18.1 or later to fix the topic depth recursion issue.","detection":"No reliable host or network indicator is derivable from the published description.","tags":["mqtt","denial-of-service","stack-overflow"],"model":"garnet-coder","analyzedAt":"2026-10-18T16:07:49.179Z"}}