Quick answers
- Is CVE-2026-55858 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-55858 being exploited in the wild.
- How severe is CVE-2026-55858?
- Medium severity, with a CVSS score of 5.9, published 28 August 2026.
- Which products and versions are affected?
- Mariadb-Java-Client < 2.7.14, >= 3.0.0 and < 3.3.5, >= 3.4.0 and < 3.4.3, >= 3.5.0 and < 3.5.9; org.mariadb.jdbc:mariadb-java-client (Maven) ECOSYSTEM:introduced=0,fixed=2.7.14.
- Is there a fix for CVE-2026-55858?
- Yes. org.mariadb.jdbc:mariadb-java-client (Maven): upgrade to 2.7.14 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-55858 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2026-55858?
- Check whether you run Mariadb-Java-Client or org.mariadb.jdbc:mariadb-java-client (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- org.mariadb.jdbc:mariadb-java-client (Maven): upgrade to 2.7.14 or later
# set org.mariadb.jdbc:mariadb-java-client to 2.7.14 in your pom.xml or build.gradle
Technical details
The vulnerability is a character encoding mismatch (CWE-838) in the MariaDB Java JDBC driver. The driver hardcodes the assumption that all character data is UTF-8 encoded and does not dynamically track or validate charset changes. An attacker who can influence the database connection (e.g., via a compromised server or man-in-the-middle position) can issue SET NAMES or similar commands to change character_set_client to a non-UTF-8 charset. After this change, the driver continues to encode/decode data as UTF-8 while the server interprets the bytes as a different encoding, leading to silent data corruption. More critically, this charset confusion undermines the byte-wise semantics of the driver's parameterized query escaping, potentially allowing SQL injection. Patches were released for versions 2.7.14, 3.3.5, 3.4.3, and 3.5.9; the fix rejects any post-initialization charset change to non-UTF-8 values and closes the connection with a SQLException.
Affected products
- MariaDB mariadb-java-client < 2.7.14, >= 3.0.0 and < 3.3.5, >= 3.4.0 and < 3.4.3, >= 3.5.0 and < 3.5.9
Identifiers
- CVE-2026-55858
- GHSA-xvr9-35cr-46v9
Timeline
- 2026-08-28: disclosed
- 2026-08-28: patched: Fixed in versions 2.7.14, 3.3.5, 3.4.3, and 3.5.9