What’s Vulnerable › Vulnerabilities

CVE-2026-95845: Moquette unbounded per-session message queues allow memory exhaustion

Description

Moquette is a lightweight Java MQTT broker. Prior to 0.18.1, the broker does not enforce a maximum length for pending per-session message queues. When a fast publisher sends messages to a slow subscriber whose in-flight window is full, queued messages can accumulate without bound in memory or persistent storage. Remote clients can use this condition to exhaust broker resources and cause a denial of service. This issue is fixed in version 0.18.1.

Affected products

How to fix

Upgrade to a fixed version: moquette-io moquette 0.18.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-95845 or the next vulnerability affects your stack