Vulnerability · Published Oct 29, 2026 · Assigned by GitHub_M

CVE-2026-119278MariaDB Connector/J: Rogue server can crash the client during caching_sha2_password authentication

Medium 5.9

In plain English

A medium-severity security flaw in mariadb-connector-j from mariadb-corporation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 30% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.9Medium
Exploit odds (30 days)0.4%top 69.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 and 3.4.5, during caching_sha2_password authentication, the authentication-more-data response was treated as a length-encoded byte array, memory was allocated from the server-declared length, and authResult[0] was accessed without ensuring a byte existed. A malicious or compromised server, or a machine-in-the-middle attacker, could declare a very large length or send an empty response before any password was transmitted. The malformed packet could cause excessive allocation or an unchecked ArrayIndexOutOfBoundsException escaping from DriverManager.getConnection(). This issue is fixed in versions 3.3.7 and 3.4.5.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12mariadb-connector-javano fix listedDEBIAN-CVE-2026-119278
Debian:13mariadb-connector-javano fix listedDEBIAN-CVE-2026-119278
Debian:14mariadb-connector-java3.5.10-1DEBIAN-CVE-2026-119278
Ubuntu:22.04:LTSmariadb-connector-javano fix listedUBUNTU-CVE-2026-119278
Ubuntu:24.04:LTSmariadb-connector-javano fix listedUBUNTU-CVE-2026-119278
Ubuntu:26.04:LTSmariadb-connector-javano fix listedUBUNTU-CVE-2026-119278
Ubuntu:26.10mariadb-connector-javano fix listedUBUNTU-CVE-2026-119278

Affected products (as reported)

VendorProductVersions
mariadb-corporation mariadb-connector-j >= 3.0.0, < 3.3.7>= 3.4.0, < 3.4.5

Weakness: CWE-129, CWE-789 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

References