Vulnerability
CVE-2026-119280
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, the MariaDbPoolConnection.recover() and MariaDbPoolPinnedConnection.recover() implementations trusted the gtrid_length and bqual_length columns returned by XA RECOVER. The methods allocated and split Xid byte arrays without validating the lengths against Xid.MAXGTRIDSIZE, Xid.MAXBQUALSIZE, or the actual data payload. A malicious or compromised server, or a machine-in-the-middle attacker, could cause large allocations, NegativeArraySizeException, or ArrayIndexOutOfBoundsException during XA recovery. 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-3r9v-mvm3-gq6c
- CGA-42r6-hppj-2qvp
- CGA-4cvw-89rh-cj79
- CGA-4jf3-rv8j-5mvg
- CGA-4m5m-hxwq-xpj5
- CGA-4rj6-27vh-cmjh
- CGA-56w3-7gmm-m6rw
- CGA-5723-q7xj-jf8m
- CGA-5qg7-pq9w-43h2
- CGA-6247-vhx3-3vjp
- CGA-65cw-p5qp-4v32
- CGA-6v7w-jh3v-5jh2
- CGA-78g4-vw8h-hfcq
- CGA-7jmc-6h4x-vx8r
- CGA-7r24-c4m7-8v59
- CGA-8539-89gj-7cgx
- CGA-8c7v-wpm2-7x4q
- CGA-8m3r-mhr3-mrcx
- CGA-9cwf-c6w5-fr3w
- CGA-9mq8-c87g-j2gh
- CGA-c3jr-8gj7-3g6c
- CGA-c4qq-r8h8-8mpr
- CGA-c9hr-wxjf-gqwf
- CGA-cvhh-2hwp-q3j9
- CGA-f5cq-jcxr-vfxm
- CGA-f65w-p4r8-gjj3
- CGA-f82x-3rvh-wcr7
- CGA-fq6h-436m-qjwp
- CGA-g69c-xp5q-f4r6
- CGA-gpp4-7ggw-3v9c
- CGA-h22p-mch4-x5g3
- CGA-h7f7-r5pg-g9hw
- CGA-hmr3-c867-xvvj
- CGA-jgv9-gvg9-5hwg
- CGA-jv38-376m-4gj8
- CGA-jw5p-7j53-2vv5
- CGA-mh48-v9q6-6cj6
- CGA-mrm8-7975-frpw
- CGA-phgj-m5fc-3pj8
- CGA-pmhf-c8ff-m8rj
- CGA-pqh6-wf52-v7jr
- CGA-pvm4-5vxv-9fg6
- CGA-q5gj-9jr5-3mh6
- CGA-q65h-5c5m-f553
- CGA-qmh3-5x22-233j
- CGA-qppx-xh79-hmqj
- CGA-qw27-hwhr-9rwv
- CGA-r554-cp4h-2fg9
- CGA-r9jf-3gh4-g8vf
- CGA-v5vm-grpq-h33q
- CGA-w459-249r-hqx2
- CGA-w5rj-vvr6-wwff
- CGA-w6wg-v8c9-h92f
- CGA-w785-h454-q95h
- CGA-wcx5-hrpc-qrw3
- CGA-wcxp-cw84-27g3
- CGA-wrrv-m287-vc4q
- CGA-x2jw-v5f9-jgfp
- CGA-x46v-9qrm-77mh
- CGA-x68q-4r35-6fjm
- CGA-x86g-8r84-jpvf
- CGA-xcvj-r8hw-hjc3
- CGA-xjwh-g22h-h68g
- CGA-xvqw-hhg2-5c3f
-
DEBIAN-CVE-2026-119280
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, the MariaDbPoolConnection.recover() and…
-
GHSA-4jq2-8v3c-97w8
MariaDB Connector/J: XA recover() trusted server-supplied gtrid and bqual lengths
-
RHVEX-CVE-2026-119280
org.mariadb.jdbc/mariadb-java-client: MariaDB Connector/J: Denial of Service via unvalidated lengths during XA recovery
-
UBUNTU-CVE-2026-119280
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, the MariaDbPoolConnection.recover() 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/280efcfb4390055858fa2dd12b722d85a6a13ab8
- https://github.com/mariadb-corporation/mariadb-connector-j/commit/47aba5a23548b35191865a428cc674316b95ee47
- https://github.com/mariadb-corporation/mariadb-connector-j/commit/e9d767103bfd178ed57caa4cb97bbfbf7e54da6b
- 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-4jq2-8v3c-97w8