MariaDB Connector/J is used to connect applications developed in Java to MariaDB and MySQL databases.
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
Read at NIST National Vulnerability Database (CVE API 2.0)
- Vendor
- Mariadb-Corporation
- Product
- mariadb-connector-j
- CVSS v3.1
- 5.9 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- Fix
- available
- Weakness
- CWE-129, CWE-789
- Exposure class
- Database
- NVD status
- Received
Why it ranks 19 (Routine)
- CVSS v3.1 5.9 medium
- Product class: database
- Widely deployed vendor product (Mariadb-Corporation)
- Fix available
- Recency: items published within 24 hours gain 15, within 72 hours 6, within 7 days 2.
Links
- NIST National Vulnerability Database (CVE API 2.0) (nvd.nist.gov)
- CVE-2026-119278 on this site · NVD · CVE.org · Vulnpedia
Related coverage
Other items that share a CVE or were clustered with this one.