Vulnerability
CVE-2026-119276
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.
69 advisories report this vulnerability, across 7 ecosystems.
Advisories
- CGA-24p7-g54q-fp7r
- CGA-2587-qwfw-4fq7
- CGA-26pg-8v2r-424x
- CGA-2pc3-j7p5-cp5r
- CGA-378f-c74h-chwg
- CGA-3jg5-7xm3-2ww6
- CGA-49m9-jxp9-9f8w
- CGA-4fpp-mg97-qfch
- CGA-52qx-p2mc-fp76
- CGA-5h96-r8mm-82h8
- CGA-6929-f525-mhj7
- CGA-6hgj-jmpv-q469
- CGA-6qgc-v77f-x5hm
- CGA-722x-p762-7wqc
- CGA-79cw-jrp7-h8vr
- CGA-7mh6-jh65-vv89
- CGA-7qfg-36v6-xv4m
- CGA-82mg-wgfq-2fgq
- CGA-88qh-jjwh-2h78
- CGA-8gc7-pf62-jgqm
- CGA-9hhr-c7xw-ccj4
- CGA-9hmq-r572-wv54
- CGA-9j66-wpp9-g83w
- CGA-9jhr-467v-72m4
- CGA-9mq8-xvmm-r5xv
- CGA-9x59-w8mw-fw4q
- CGA-c34w-qw7m-qq93
- CGA-ccw9-9wp5-xwq3
- CGA-cgv3-9cmx-4j7r
- CGA-f2jw-7vx3-q3f3
- CGA-f6rc-c6pm-723m
- CGA-fgxc-cgf8-6799
- CGA-fh7v-6vmv-5g36
- CGA-fvxf-cqjj-h9r7
- CGA-g766-hrp7-9mwg
- CGA-gm94-q225-cmmw
- CGA-h2mp-q529-hqf3
- CGA-hmf3-hqh9-83r8
- CGA-hvrq-pqg8-p5f4
- CGA-j539-6w2j-qfqr
- CGA-j994-h6wh-hj3v
- CGA-jh8q-c396-84jx
- CGA-jq3h-rmpx-wr43
- CGA-jqhq-wh3p-c9cp
- CGA-jxh8-hh2h-w72j
- CGA-m4pj-gj99-m47c
- CGA-m9w2-374m-r53f
- CGA-mc84-rr76-3q6m
- CGA-mq9f-499m-jfrc
- CGA-mwfh-6xc3-3x72
- CGA-p29w-cvp3-xrcc
- CGA-pxwf-fg5r-vr4m
- CGA-q2g2-w3rw-57wv
- CGA-q44m-64rh-g7hx
- CGA-qvfj-5rx3-hrcr
- CGA-r4wh-f87p-qpgr
- CGA-rfv4-jmwf-fw97
- CGA-vmjj-5334-74q9
- CGA-vwr8-5685-4gcf
- CGA-vxvm-hqrp-v257
- CGA-x2wv-7x4j-855p
- CGA-xqfj-pp34-gmqp
- CGA-xqwq-qffj-p8p5
- CGA-xxpc-3ghc-qg87
-
DEBIAN-CVE-2026-119276
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…
-
GHSA-h599-m3w5-9m7x
MariaDB Connector/J: Rogue server can drive large heap allocations from server-declared lengths in OK packets
-
RHVEX-CVE-2026-119276
org.mariadb.jdbc/mariadb-java-client: mariadb-java-client: Denial of Service via uncontrolled memory allocation
-
UBUNTU-CVE-2026-119276
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…
-
openSUSE-SU-2026:12401-1
mariadb-java-client-3.5.11-1.1 on GA media
References
- https://github.com/mariadb-corporation/mariadb-connector-j/commit/b9e1ee8d9b4d820d70719504cdfd5c97f1aede5f
- https://github.com/mariadb-corporation/mariadb-connector-j/commit/beb445fcf9294113878fc05ac77f0efdf0596ac6
- https://github.com/mariadb-corporation/mariadb-connector-j/commit/ea8c7b6537e50053444188a9a3fd9cae99550f56
- https://github.com/mariadb-corporation/mariadb-connector-j/releases/tag/3.3.7
- https://github.com/mariadb-corporation/mariadb-connector-j/releases/tag/3.4.5
- https://github.com/mariadb-corporation/mariadb-connector-j/releases/tag/3.5.11
- https://github.com/mariadb-corporation/mariadb-connector-j/security/advisories/GHSA-h599-m3w5-9m7x