CVE-2026-119281MariaDB Connector/J: Server could switch character_set_results away from UTF-8 without…
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.
What to do
Fixed builds are available from Maven: see the table below for the fixed version per release.
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | mariadb-connector-java | Fix pending | UBUNTU-CVE-2026-119281 | |
| Ubuntu 26.04 | mariadb-connector-java | Under investigation | UBUNTU-CVE-2026-119281 | |
| Ubuntu 24.04 | mariadb-connector-java | Under investigation | UBUNTU-CVE-2026-119281 | |
| Ubuntu 22.04 | mariadb-connector-java | Under investigation | UBUNTU-CVE-2026-119281 | |
| Ubuntu 20.04 | mariadb-connector-java | Fix pending | UBUNTU-CVE-2026-119281 | |
| Ubuntu 18.04 | mariadb-connector-java | Fix pending | UBUNTU-CVE-2026-119281 | |
| Debian 14 | mariadb-connector-java | Fix pending | DEBIAN-CVE-2026-119281 | |
| Debian 13 | mariadb-connector-java | Fix pending | DEBIAN-CVE-2026-119281 | |
| Debian 12 | mariadb-connector-java | Fix pending | DEBIAN-CVE-2026-119281 | |
| Red Hat Enterprise Linux 10 | mariadb-java-client | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | mariadb-java-client | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | Judy | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | galera | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | mariadb | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | mariadb-backup | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | mariadb-common | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | mariadb-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | mariadb-embedded | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | mariadb-embedded-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | mariadb-errmsg | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | mariadb-gssapi-server | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | mariadb-oqgraph-engine | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | mariadb-pam | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | mariadb-server | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | mariadb-server-galera | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | mariadb-server-utils | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | mariadb-test | Fix pending Fix deferred | ||
| Maven library | org.mariadb.jdbc:mariadb-java-client | Fixed | 3.5.11 | GHSA-grfq-r75j-rw9x |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- mariadb-corporation mariadb-connector-j: affected: >= 3.0.0, < 3.3.7, >= 3.4.0, < 3.4.5, >= 3.5.0, < 3.5.11
References
- https://github.com/mariadb-corporation/mariadb-connector-j/security/advisories/GHSA-grfq-r75j-rw9x
- 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
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.