MariaDB Connector/J: Server could switch character_set_results away from UTF-8 without the client noticing
Summary
| CVE | CVE-2026-119281 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-10-29 21:17:21 UTC |
| Updated | 2026-10-29 21:17:21 UTC |
| Description | 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. |
Risk And Classification
Primary CVSS: v3.1 5.9 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Problem Types: CWE-838 | CWE-838 CWE-838: Inappropriate Encoding for Output Context
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 5.9 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
| 3.1 | CNA | DECLARED | 5.9 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
HighPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
HighAvailability
NoneCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Mariadb-corporation | Mariadb-connector-j | affected >= 3.0.0, < 3.3.7 | Not specified |
| CNA | Mariadb-corporation | Mariadb-connector-j | affected >= 3.4.0, < 3.4.5 | Not specified |
| CNA | Mariadb-corporation | Mariadb-connector-j | affected >= 3.5.0, < 3.5.11 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/mariadb-corporation/mariadb-connector-j/commit/d51b968c1b795c... | [email protected] | github.com | |
| github.com/mariadb-corporation/mariadb-connector-j/commit/fdabe74a7df6dc... | [email protected] | github.com | |
| github.com/mariadb-corporation/mariadb-connector-j/releases/tag/3.3.7 | [email protected] | github.com | |
| github.com/mariadb-corporation/mariadb-connector-j/security/advisories/G... | [email protected] | github.com | |
| github.com/mariadb-corporation/mariadb-connector-j/releases/tag/3.5.11 | [email protected] | github.com | |
| github.com/mariadb-corporation/mariadb-connector-j/releases/tag/3.4.5 | [email protected] | github.com | |
| github.com/mariadb-corporation/mariadb-connector-j/commit/af5e565eb171cf... | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.