CVE-2026-119278
MEDIUM
MEDIUM
Priority: 0.00
BB Relevance:
62/100
Published: 2026-10-29
Modified: 2026-10-29
First seen: 2026-10-29
Status: active
Attack Surface
Network
No Auth
No Interaction
CVSS Vector Breakdown
AV:
Network
AC:
High
PR:
None
UI:
None
S:
Unchanged
C:
None
I:
None
A:
High
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 Classification (2)
Affected Software (2)
| Vendor | Product | Version |
|---|---|---|
| mariadb-corporation | mariadb-connector-j | >= 3.0.0, < 3.3.7 |
| mariadb-corporation | mariadb-connector-j | >= 3.4.0, < 3.4.5 |
References & Advisories (5)
x_refsource_MISC
x_refsource_MISC
x_refsource_MISC
x_refsource_MISC
x_refsource_CONFIRM