CVE-2026-119279
Published:October 29, 2026
Updated:October 30, 2026
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.10, the ReadableByteBuf.readLength() and ReadableByteBuf.readIntLengthEncodedNotNull() methods narrowed the protocol's unsigned 8-byte length-encoded integer to a Java int without checking that the value fit a non-negative integer. Values above Integer.MAX_VALUE could wrap to a negative or unrelated length that downstream allocation and read paths used. A malicious or compromised server, or a machine-in-the-middle attacker, could trigger NegativeArraySizeException, out-of-bounds failures, or oversized allocation behavior in client connection handling. This issue is fixed in versions 3.3.7, 3.4.5, and 3.5.10.
Affected Packages
https://github.com/mariadb-corporation/mariadb-connector-j.git (GITHUB):
Affected version(s) >=3.4.0 <3.4.5Fix Suggestion:
Update to version 3.4.5https://github.com/mariadb-corporation/mariadb-connector-j.git (GITHUB):
Affected version(s) >=3.5.0 <3.5.10Fix Suggestion:
Update to version 3.5.10https://github.com/mariadb-corporation/mariadb-connector-j.git (GITHUB):
Affected version(s) >=3.0.0-alpha <3.3.7Fix Suggestion:
Update to version 3.3.7org.mariadb.jdbc:mariadb-java-client (JAVA):
Affected version(s) >=3.0.0-alpha <3.3.7Fix Suggestion:
Update to version 3.3.7org.mariadb.jdbc:mariadb-java-client (JAVA):
Affected version(s) >=3.5.0 <3.5.10Fix Suggestion:
Update to version 3.5.10org.mariadb.jdbc:mariadb-java-client (JAVA):
Affected version(s) >=3.4.0 <3.4.5Fix Suggestion:
Update to version 3.4.5Related Resources (7)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.2
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
5.9
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH