Vulnerability
CVE-2026-119281
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 connector assumed result bytes were UTF-8 but guarded only changes to character_set_client. It did not reject non-UTF-8 character_set_results changes and relied on the server's global session_track_system_variables configuration to report character-set changes. A malicious or compromised server, or a machine-in-the-middle attacker, could suppress tracking or change the result charset so application strings differed from the returned bytes, potentially defeating application-side validation or escaping that depended on the decoded values. This issue is fixed in versions 3.3.7, 3.4.5, and 3.5.11.
73 advisories report this vulnerability, across 7 ecosystems.
Advisories in Wolfi
- CGA-29wr-hv5c-3q2g
- CGA-37wc-2v8x-8m22
- CGA-3wx4-wg5f-jf4h
- CGA-6xqw-wc6m-m97x
- CGA-7c66-p8mq-pxfg
- CGA-7jpr-9r43-5j7h
- CGA-849h-xxqq-j8px
- CGA-8g86-jfxx-p998
- CGA-f732-p2cg-g698
- CGA-fpv9-62q8-8f9v
- CGA-gc6m-pgjr-ppj9
- CGA-jv26-wh2v-g4h2
- CGA-mv75-jwvx-33fp
- CGA-pwx4-xjv2-gm9j
- CGA-qp57-4f43-3fq2
- CGA-v422-r7p3-254v
- CGA-v7g9-cvjf-2wp9
- CGA-vx23-g5r5-v5vh
- CGA-w3r9-3gx8-29xg
- CGA-ww86-qvvp-hxgg
References
- https://github.com/mariadb-corporation/mariadb-connector-j/commit/af5e565eb171cfc66ea8e948ddc616abed0c4623
- https://github.com/mariadb-corporation/mariadb-connector-j/commit/d51b968c1b795c73d24e0b3f960205b7bc82d423
- https://github.com/mariadb-corporation/mariadb-connector-j/commit/fdabe74a7df6dce1d6c099f4d0ca1e2acc25919a
- 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-grfq-r75j-rw9x