CVE-2026-95845

Moquette unbounded per-session message queues allow memory exhaustion

Published Sep 23, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability arises from the absence of a hard limit on the size of per‑session message queues in Moquette. When a fast publisher continues to send messages to a slow subscriber whose in‑flight window is already saturated, queued messages can accumulate without bound in memory or persistent storage. This uncontrolled growth allows an attacker to trigger a memory exhaustion or disk I/O overload, ultimately causing the broker to become unavailable or crash, leading to a denial‑of‑service condition.

Affected Systems

This issue affects the Moquette MQTT broker distributed by moquette‑io, specifically all releases older than version 0.18.1; the vulnerability was addressed in the 0.18.1 release.

Risk and Exploitability

The vulnerability carries a CVSS score of 8.7, indicating a high severity. The exploit probability is not quantified by EPSS, and it is not listed in the CISA KEV catalog. The probable attack path involves a remote client acting as a high‑rate publisher to a target broker with a slower subscriber. If the publisher can send messages fast enough to keep the queue saturated, the broker’s resources will be gradually depleted, eventually leading to a denial of service. No specific authentication or privileged escalation is required; the attack can be initiated from any network reachable to the MQTT broker.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to Moquette v0.18.1 or later to enforce a maximum queue length
  • If upgrading is not possible, limit publisher rate or the number of concurrent connections to reduce the chance of queue saturation
  • Monitor broker memory and disk usage, and trigger alerts or automated restarts when thresholds are approached to prevent prolonged outages

Generated by OpenCVE AI on September 23, 2026 at 17:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Moquette
Moquette moquette
CPEs cpe:2.3:a:moquette:moquette:*:*:*:*:*:*:*:*
Vendors & Products Moquette
Moquette moquette
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Moquette-io
Moquette-io moquette
Vendors & Products Moquette-io
Moquette-io moquette
Type Values Removed Values Added
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.
Title Moquette unbounded per-session message queues allow memory exhaustion
Weaknesses CWE-770
References
Metrics cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 23, 2026, 7:44 PM
Reserved
Sep 22, 2026, 4:39 PM
Status
Analyzed
Published
Sep 23, 2026, 5:17 PM
Modified
Sep 25, 2026, 1:34 PM