Skip to main content
Vulnerability Database/CVE-2026-102464

CVE-2026-102464: Eclipse Vert.x MQTT DOS Vulnerability

CVE-2026-102464 is a denial of service flaw in Eclipse Vert.x MQTT that allows malicious brokers to cause unbounded memory growth. This post explains its technical details, affected versions, impact, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-102464 Overview

CVE-2026-102464 is a resource exhaustion vulnerability in the Eclipse Vert.x MQTT client component (io.vertx:vertx-mqtt). The MqttClient stores every inbound Quality of Service (QoS) 2 PUBLISH message from a broker in an internal qos2inbound map while awaiting the matching PUBREL packet. The map has no size limit. The maxInflightQueue option governs only outbound publishes and does not constrain inbound retention. A malicious or compromised broker can send QoS 2 PUBLISH messages with unique packet identifiers and withhold PUBREL responses, forcing the client to retain messages indefinitely. The result is unbounded memory growth that degrades or terminates the Vert.x process. The weakness is tracked as [CWE-770] Allocation of Resources Without Limits or Throttling.

Critical Impact

A hostile MQTT broker can drive a Vert.x MQTT client to out-of-memory termination by holding open QoS 2 handshakes, enabling denial of service against any application consuming MQTT streams.

Affected Products

  • Eclipse Vert.x vertx-mqtt versions 4.0.0 through 4.5.34
  • Eclipse Vert.x vertx-mqtt versions 5.0.0 through 5.0.12
  • Eclipse Vert.x vertx-mqtt versions 5.1.0 through 5.1.9, and 5.2.0

Discovery Timeline

  • 2026-10-15 - CVE-2026-102464 published to NVD
  • 2026-10-20 - Last updated in NVD database

Technical Details for CVE-2026-102464

Vulnerability Analysis

The Vert.x MQTT client implements the three-step QoS 2 handshake defined by MQTT: PUBLISH, PUBREL, and PUBCOMP. When the client receives a PUBLISH with QoS 2, it stores the full message, including topic, payload, and metadata, in the qos2inbound map keyed by packet identifier. The entry is removed only after the broker sends the corresponding PUBREL.

The implementation never caps the number of pending inbound messages. The maxInflightQueue configuration option enforces a limit on the outbound side only. An attacker controlling the broker side of the connection can therefore flood the client with distinct packet identifiers and never complete the handshake. Each held message consumes heap proportional to its payload size.

The impact is denial of service. The Vert.x event loop remains responsive until the Java Virtual Machine (JVM) exhausts heap space, at which point the application throws OutOfMemoryError or enters sustained garbage collection pressure. Applications that bridge MQTT traffic into downstream pipelines amplify the impact because retained messages block upstream flow control.

Root Cause

The root cause is missing capacity enforcement on the inbound QoS 2 state table. The design assumes a cooperative broker that completes handshakes in a timely manner. No timeout evicts stale entries and no counter rejects new PUBLISH packets once a threshold is reached.

Attack Vector

Exploitation requires the client to connect to an attacker-controlled or compromised MQTT broker. No authentication on the client side is required beyond the broker connection itself. The attacker sends a stream of QoS 2 PUBLISH packets with incrementing packet identifiers and suppresses PUBREL responses. Attack complexity is high because the attacker must occupy a broker position in the client's trust path.

Detection Methods for CVE-2026-102464

Indicators of Compromise

  • Sustained heap growth in Vert.x JVM processes correlated with active MQTT broker connections.
  • Large counts of inbound QoS 2 PUBLISH packets without matching PUBREL responses on the wire.
  • Repeated OutOfMemoryError events in Vert.x application logs during MQTT consumption.
  • Increasing size of the internal qos2inbound map when exposed through JVM heap dumps or metrics.

Detection Strategies

  • Instrument the MQTT client with JMX or Micrometer metrics tracking pending QoS 2 inbound message counts.
  • Capture MQTT traffic at the broker boundary and alert on PUBLISH to PUBREL ratio skew per client session.
  • Perform periodic heap profiling of long-running Vert.x services to detect retention of MqttPublishMessage objects.

Monitoring Recommendations

  • Track JVM heap usage, garbage collection frequency, and application pause times for MQTT consumers.
  • Monitor outbound broker traffic volume and connection reputation when brokers are externally hosted.
  • Alert on abnormal termination patterns correlated with specific broker endpoints.

How to Mitigate CVE-2026-102464

Immediate Actions Required

  • Inventory all applications depending on io.vertx:vertx-mqtt and record their versions.
  • Upgrade to a fixed Vert.x MQTT release as published in the GitHub Security Advisory GHSA-46xj-5735-6qrp.
  • Restrict MQTT client connections to brokers under organizational control or those with verified trust.
  • Set conservative JVM heap limits with monitoring so that resource exhaustion is detected before cascading failure.

Patch Information

Refer to the vendor advisory at GHSA-46xj-5735-6qrp and the Eclipse CVE Assignment Work Item #344 for fixed version numbers across the 4.x, 5.0.x, 5.1.x, and 5.2.x release branches. Update the Maven or Gradle dependency declaration for io.vertx:vertx-mqtt to a patched version.

Workarounds

  • Avoid subscribing with QoS 2 where QoS 0 or QoS 1 meets delivery requirements, eliminating the vulnerable code path.
  • Place a trusted MQTT broker or proxy in front of untrusted brokers to enforce handshake completion and throttle inbound traffic.
  • Terminate and reconnect MQTT client sessions on a scheduled interval to bound maximum retained state.
bash
# Example Maven dependency update to a patched release
# Replace <PATCHED_VERSION> with the version published in GHSA-46xj-5735-6qrp
mvn versions:use-dep-version \
  -Dincludes=io.vertx:vertx-mqtt \
  -DdepVersion=<PATCHED_VERSION> \
  -DforceVersion=true

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.