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

Medium 5.9 Published Updated
Exploited in the wild
Not known
Fix
None listed

What is CVE-2026-119278?

CVE-2026-119278 is a medium-severity vulnerability in mariadb-corporation mariadb-connector-j, published on 29 Oct 2026.

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.

Weakness: CWE-789, CWE-129

Which versions are affected by CVE-2026-119278?

How do I fix CVE-2026-119278?

No fix has been published for CVE-2026-119278 yet. Limit exposure of the affected software until one is available.

Is CVE-2026-119278 being exploited?

There is no known exploitation of CVE-2026-119278 in the wild and no public exploit code.

Sources

Is CVE-2026-119278 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free