CVE-2026-55858: mariadb-connector-j · Inappropriate Encoding for Output Context
Affects mariadb-connector-jSource CVE Database V5
Not known to be exploited · CVSS 5.9 Medium · fixed in 3.5.9 : update mariadb-connector-j when convenient.
Data as of 26 Nov 2026, 14:59 UTC
- EPSS
- 0.8% chance of exploitation in 30 days – higher than 56% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 3.5.9, 3.4.3, 3.3.5 +1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 28 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| mariadb-corporationmariadb-connector-j | Affected
| Fixed in
|
| mariadb-corporationmariadb-connector-j | Affected
| Fixed in
|
| mariadb-corporationmariadb-connector-j | Affected
| Fixed in
|
| mariadb-corporationmariadb-connector-j | Affected
| Fixed in
|
Mavenorg.mariadb.jdbc:mariadb-java-clientpkg:maven/org.mariadb.jdbc/mariadb-java-clientOther threats | Affected
| Fixed in
|
Mavenorg.mariadb.jdbc:mariadb-java-clientpkg:maven/org.mariadb.jdbc/mariadb-java-clientOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in MariaDB Connector/J versions 2.7.14, 3.3.5, 3.4.3, and 3.5.9. Users should upgrade to one of these versions or later to mitigate this issue. No other mitigation is indicated by the vendor advisory.
Description
MariaDB Connector/J versions prior to 2.7.14, 3.3.5, 3.4.3, and 3.5.9 have a vulnerability where the connector incorrectly assumes the connection character set is UTF-8 throughout the session. If the server changes the character_set_client to a non-UTF-8 encoding mid-session, the driver continues to encode/decode as UTF-8, causing silent data corruption and charset confusion. This can defeat client-side escaping and quoting mechanisms. The issue is fixed by restricting allowed character sets after initialization to utf8, utf8mb3, or utf8mb4, with other values causing the connection to close with an error.
References
- github.com/mariadb-corporation/mariadb-connector-j/security/advisories/GHSA-xvr9-35cr-46v9 (opens in a new tab)
- github.com/mariadb-corporation/mariadb-connector-j/commit/300716bef1e1d0370a41be7863b88aa2d55fbb69 (opens in a new tab)
- github.com/mariadb-corporation/mariadb-connector-j/commit/7b3c69221b5463ee03472654040b3f6b9e5329c7 (opens in a new tab)
- github.com/mariadb-corporation/mariadb-connector-j/commit/8cfd9df697372ad4ed09fe87a34b34babb6d43d6 (opens in a new tab)
- github.com/mariadb-corporation/mariadb-connector-j/commit/c555c9b477521be0c35c3a5461f9f46681553607 (opens in a new tab)
- github.com/mariadb-corporation/mariadb-connector-j/releases/tag/2.7.14 (opens in a new tab)
- github.com/mariadb-corporation/mariadb-connector-j/releases/tag/3.3.5 (opens in a new tab)
- github.com/mariadb-corporation/mariadb-connector-j/releases/tag/3.4.3 (opens in a new tab)
- github.com/mariadb-corporation/mariadb-connector-j/releases/tag/3.5.9 (opens in a new tab)
- jira.mariadb.org/browse/CONJ-1317 (opens in a new tab)