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

CVE-2026-103224: Eclipse Vert.x MySQL Client DOS Vulnerability

CVE-2026-103224 is a denial of service vulnerability in Eclipse Vert.x MySQL client that allows malicious servers to cause memory exhaustion. This post explains its impact, affected versions, 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-103224 Overview

CVE-2026-103224 is a resource exhaustion vulnerability in the Eclipse Vert.x MySQL client component io.vertx:vertx-mysql-client. The MySQL message decoder aggregates inbound multi-packet payloads into a composite direct-memory buffer without enforcing a cumulative size limit. A malicious or man-in-the-middle MySQL server can stream packets with the maximum payload length (0xFFFFFF), preventing the end-of-message condition from being reached. This drives unbounded direct-memory allocation on the client and produces an out-of-memory crash. The flaw is triggered before authentication completes, so no valid credentials are required to exploit it. The weakness is classified as [CWE-789] Memory Allocation with Excessive Size Value.

Critical Impact

An unauthenticated attacker controlling or intercepting the MySQL server connection can crash Vert.x client processes via unbounded direct-memory allocation.

Affected Products

  • Eclipse Vert.x versions 4.0.0 through 4.5.34
  • Eclipse Vert.x versions 5.0.0 through 5.0.12 and 5.1.0 through 5.1.9
  • Eclipse Vert.x version 5.2.0 (component: io.vertx:vertx-mysql-client)

Discovery Timeline

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

Technical Details for CVE-2026-103224

Vulnerability Analysis

The Vert.x MySQL client uses the MySQL wire protocol, which fragments payloads larger than 16 MB into packets of exactly 0xFFFFFF (16,777,215) bytes. The protocol signals end-of-message when a packet shorter than 0xFFFFFF arrives. The Vert.x decoder concatenates each incoming fragment into a composite direct-memory buffer while waiting for that terminating short packet.

Because the decoder enforces no maximum cumulative payload size, an attacker that controls the server side of the TCP connection can continuously send maximum-length fragments. The client never observes a terminating packet and keeps allocating off-heap direct memory until the JVM process exhausts available memory and crashes.

Exploitation occurs during the initial handshake sequence, before authentication completes. Any Vert.x application that connects to an attacker-controlled or network-intercepted MySQL endpoint is exposed, regardless of credential handling.

Root Cause

The root cause is missing input validation on the aggregate size of concatenated MySQL protocol fragments inside the decoder. The implementation relies solely on the protocol-level end-of-message signal and does not bound buffer growth. This matches the [CWE-789] pattern of allocating memory based on attacker-controlled size without an upper limit.

Attack Vector

The attack vector is network-based and requires no authentication or user interaction. Exploitation paths include a compromised or malicious MySQL server, a rogue server impersonating a legitimate database, or a man-in-the-middle positioned on the network path between the Vert.x client and the database. The attacker establishes a TCP connection and emits a continuous stream of 0xFFFFFF-length MySQL packets during the pre-authentication handshake until the client process runs out of direct memory.

No verified public exploit code or proof-of-concept is available at the time of publication. Technical details are documented in the GitHub Security Advisory GHSA-75hv-9xj3-3cr8.

Detection Methods for CVE-2026-103224

Indicators of Compromise

  • Vert.x application processes terminating with OutOfMemoryError: Direct buffer memory or JVM crashes shortly after initiating MySQL connections.
  • Abnormally large sustained inbound traffic from a MySQL server toward the Vert.x client over port 3306 without a corresponding successful authentication handshake.
  • Repeated connection attempts to MySQL endpoints that terminate abruptly before query execution begins.

Detection Strategies

  • Monitor JVM metrics for sudden spikes in java.nio direct buffer memory usage on hosts running Vert.x applications that use vertx-mysql-client.
  • Inspect network flows for MySQL sessions that transfer unusually large volumes of data prior to authentication completion.
  • Correlate application crash events with recent MySQL connection endpoints to identify malicious or compromised database servers.

Monitoring Recommendations

  • Enable JVM native memory tracking (-XX:NativeMemoryTracking=summary) on Vert.x services to baseline direct memory consumption.
  • Alert on repeated JVM out-of-memory terminations in container orchestration logs for workloads using the affected component.
  • Review MySQL client-side logs for incomplete handshakes and connection resets from untrusted or externally reachable database hosts.

How to Mitigate CVE-2026-103224

Immediate Actions Required

  • Upgrade io.vertx:vertx-mysql-client to a fixed release outside the affected ranges as directed by the Eclipse Vert.x advisory.
  • Inventory all applications and services that depend on io.vertx:vertx-mysql-client and prioritize those exposed to untrusted networks or shared database infrastructure.
  • Restrict Vert.x client connectivity to known, trusted MySQL endpoints using firewall or security group rules.

Patch Information

The Eclipse Vert.x project has published fixes through the GitHub Security Advisory GHSA-75hv-9xj3-3cr8. Additional coordination details are tracked in GitLab CVE Assignment Work Item #353. Consult the advisory for the specific fixed versions corresponding to each 4.x, 5.0.x, 5.1.x, and 5.2.x branch.

Workarounds

  • Enforce TLS with strict server certificate validation on all MySQL client connections to prevent man-in-the-middle injection of malicious packets.
  • Constrain the JVM maximum direct memory with -XX:MaxDirectMemorySize=<limit> so an out-of-memory condition fails the connection rather than destabilizing the host, while recognizing this does not prevent client-side denial of service.
  • Segregate database network paths so Vert.x clients cannot reach untrusted or externally controlled MySQL endpoints.
bash
# Example: upgrade vertx-mysql-client in a Maven project
# Replace <FIXED_VERSION> with a release listed in GHSA-75hv-9xj3-3cr8
mvn versions:use-dep-version \
  -Dincludes=io.vertx:vertx-mysql-client \
  -DdepVersion=<FIXED_VERSION> \
  -DforceVersion=true

# Harden JVM direct memory ceiling for Vert.x services
java -XX:MaxDirectMemorySize=256m \
     -XX:NativeMemoryTracking=summary \
     -jar my-vertx-app.jar

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.