Description
MariaDB Connector/J is used to connect applications developed in Java to MariaDB and MySQL databases. From 3.0.0 until 3.3.7, 3.4.5, and 3.5.11, decoders for OK packet session-state blocks, column definition packets, text row data, or binary row data used server-declared lengths without confirming that the requested bytes remained in the receive buffer. The decoders could position reads, create sub-buffers, or decode strings beyond the packet boundary. A malicious or compromised server, or a machine-in-the-middle attacker, could trigger unchecked ArrayIndexOutOfBoundsException or IllegalArgumentException failures inside JDBC calls and terminate connection handling. This issue is fixed in versions 3.3.7, 3.4.5, and 3.5.11.
Published: 2026-10-29
Score: 5.9 Medium
EPSS: n/a
KEV: No
Impact: Denial of Service (application crash)
Action: Patch
AI Analysis

Impact

MariaDB Connector/J decoders for OK packets, column definitions, text, and binary row data use server‑declared lengths without validating that the requested bytes are present in the receive buffer. This flaw allows a malicious or compromised database server—or a man‑in‑the‑middle attacker—to force the driver to read beyond packet boundaries, triggering unchecked ArrayIndexOutOfBoundsException or IllegalArgumentException errors that terminate connection handling. The consequence is an application‑level denial of service; the attacker gains no code execution or data exfiltration capability.

Affected Systems

The vulnerability affects MariaDB Corporation’s MariaDB Connector/J for Java applications. Any 3.x release older than 3.3.7, 3.4.5, or 3.5.11 is impacted, including all releases from 3.0.0 up to but not including those fixed versions.

Risk and Exploitability

The CVSS score of 5.9 indicates moderate severity, and the lack of an EPSS score suggests limited public exploitation data. The issue is not listed in CISA’s KEV catalog. Exploitation requires control or compromise of a database server or interception of traffic to a client using the vulnerable driver, making the attack vector network‑based. Successful exploitation results in application crashes and denial of service without granting remote code execution or data theft.

Generated by OpenCVE AI on October 29, 2026 at 22:44 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade MariaDB Connector/J to version 3.3.7, 3.4.5, or 3.5.11, which include the bounds‑checking fix.
  • If upgrading is infeasible, restrict database connections to trusted hosts and monitor traffic for anomalous packet lengths to detect potential MITM attempts.
  • Ensure that application code properly handles exceptions from the JDBC driver so that a crash does not propagate to end users.

Generated by OpenCVE AI on October 29, 2026 at 22:44 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 29 Oct 2026 22:45:00 +0000

Type Values Removed Values Added
First Time appeared Mariadb
Mariadb mariadb-connector-j
Mariadb-corporation
Mariadb-corporation mariadb-connector-j
Vendors & Products Mariadb
Mariadb mariadb-connector-j
Mariadb-corporation
Mariadb-corporation mariadb-connector-j

Thu, 29 Oct 2026 21:00:00 +0000

Type Values Removed Values Added
Description MariaDB Connector/J is used to connect applications developed in Java to MariaDB and MySQL databases. From 3.0.0 until 3.3.7, 3.4.5, and 3.5.11, decoders for OK packet session-state blocks, column definition packets, text row data, or binary row data used server-declared lengths without confirming that the requested bytes remained in the receive buffer. The decoders could position reads, create sub-buffers, or decode strings beyond the packet boundary. A malicious or compromised server, or a machine-in-the-middle attacker, could trigger unchecked ArrayIndexOutOfBoundsException or IllegalArgumentException failures inside JDBC calls and terminate connection handling. This issue is fixed in versions 3.3.7, 3.4.5, and 3.5.11.
Title MariaDB Connector/J: Rogue server can make the client read past the packet through server-declared lengths
Weaknesses CWE-125
CWE-130
References
Metrics cvssV3_1

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


Subscriptions

Mariadb Mariadb-connector-j
Mariadb-corporation Mariadb-connector-j
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-29T20:49:24.148Z

Reserved: 2026-10-29T18:50:28.064Z

Link: CVE-2026-119277

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-29T21:17:21.067

Modified: 2026-10-29T21:17:21.067

Link: CVE-2026-119277

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-29T22:45:03Z

Weaknesses
  • CWE-125

    Out-of-bounds Read

  • CWE-130

    Improper Handling of Length Parameter Inconsistency