Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-119276
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.11, when CLIENT_SESSION_TRACK was negotiated, the OkPacket.parse() and OkPacket.parseWithInfo() paths allocated byte arrays using server-declared lengths for the OK packet info field and session-state variable names and values before confirming that the bytes remained in the packet. A malicious or compromised server, or a machine-in-the-middle attacker, could send a small OK packet declaring a much larger length and repeatedly force attacker-controlled heap allocations before the subsequent copy failed. This could create garbage-collection pressure or an OutOfMemoryError in the client application. This issue is fixed in versions 3.3.7, 3.4.5, and 3.5.11.
Affected Packages
https://github.com/mariadb-corporation/mariadb-connector-j.git (GITHUB):
Affected version(s) >=3.4.0 <3.4.5
Fix Suggestion:
Update to version 3.4.5
https://github.com/mariadb-corporation/mariadb-connector-j.git (GITHUB):
Affected version(s) >=3.0.0-alpha <3.3.7
Fix Suggestion:
Update to version 3.3.7
https://github.com/mariadb-corporation/mariadb-connector-j.git (GITHUB):
Affected version(s) >=3.5.0 <3.5.11
Fix Suggestion:
Update to version 3.5.11
org.mariadb.jdbc:mariadb-java-client (JAVA):
Affected version(s) >=3.4.0 <3.4.5
Fix Suggestion:
Update to version 3.4.5
org.mariadb.jdbc:mariadb-java-client (JAVA):
Affected version(s) >=3.5.0 <3.5.11
Fix Suggestion:
Update to version 3.5.11
org.mariadb.jdbc:mariadb-java-client (JAVA):
Affected version(s) >=3.0.0-alpha <3.3.7
Fix Suggestion:
Update to version 3.3.7
Do you need more information?
Contact Us
CVSS 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
Weakness Type (CWE)
Memory Allocation with Excessive Size Value
Improper Handling of Length Parameter Inconsistency