{"id":"CVE-2026-119281","published":"2026-10-29T20:58:39Z","modified":"2026-11-04T01:48:15Z","title":"MariaDB Connector/J: Server could switch character_set_results away from UTF-8 without the client noticing","vendor":"mariadb-corporation","product":"mariadb-connector-j","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00355,"percentile":0.29863,"provenance":"source"},"cwes":[{"id":"CWE-838","name":"Inappropriate Encoding for Output Context"}],"references":[{"url":"https://github.com/mariadb-corporation/mariadb-connector-j/security/advisories/GHSA-grfq-r75j-rw9x","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/mariadb-corporation/mariadb-connector-j/commit/af5e565eb171cfc66ea8e948ddc616abed0c4623","tags":["x_refsource_MISC"]},{"url":"https://github.com/mariadb-corporation/mariadb-connector-j/commit/d51b968c1b795c73d24e0b3f960205b7bc82d423","tags":["x_refsource_MISC"]},{"url":"https://github.com/mariadb-corporation/mariadb-connector-j/commit/fdabe74a7df6dce1d6c099f4d0ca1e2acc25919a","tags":["x_refsource_MISC"]},{"url":"https://github.com/mariadb-corporation/mariadb-connector-j/releases/tag/3.3.7","tags":["x_refsource_MISC"]},{"url":"https://github.com/mariadb-corporation/mariadb-connector-j/releases/tag/3.4.5","tags":["x_refsource_MISC"]},{"url":"https://github.com/mariadb-corporation/mariadb-connector-j/releases/tag/3.5.11","tags":["x_refsource_MISC"]}],"priority":{"score":10.1,"factors":[{"name":"EPSS percentile","points":5.97},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"mariadb","affectedVersions":[{"vendor":"mariadb-corporation","product":"mariadb-connector-j","versions":[">= 3.0.0, < 3.3.7",">= 3.4.0, < 3.4.5",">= 3.5.0, < 3.5.11"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-04T01:47:42.688889Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.mariadb.jdbc:mariadb-java-client","vulnerableRanges":[">=3.0.0, <3.3.7",">=3.4.0, <3.4.5",">=3.5.0, <3.5.11"],"patched":["3.3.7","3.4.5","3.5.11"],"from":["GHSA-grfq-r75j-rw9x"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-113388","exploited":false,"provenance":"source"}}