CVE-2026-119281
mediumMariaDB Connector/J is used to connect applications developed in Java to MariaDB and MySQL databases.
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.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://github.com/mariadb-corporation/mariadb-connector-j/commit/af5e565eb171cfc66ea8e948... security-advisories@github.com
- https://github.com/mariadb-corporation/mariadb-connector-j/commit/d51b968c1b795c73d24e0b3f... security-advisories@github.com
- https://github.com/mariadb-corporation/mariadb-connector-j/commit/fdabe74a7df6dce1d6c099f4... security-advisories@github.com
- https://github.com/mariadb-corporation/mariadb-connector-j/releases/tag/3.3.7 security-advisories@github.com
- https://github.com/mariadb-corporation/mariadb-connector-j/releases/tag/3.4.5 security-advisories@github.com
- https://github.com/mariadb-corporation/mariadb-connector-j/releases/tag/3.5.11 security-advisories@github.com
- https://github.com/mariadb-corporation/mariadb-connector-j/security/advisories/GHSA-grfq-r... security-advisories@github.com
