Categories
CVE-2026-55858 medium CVSS 5.9

Vulnerability in org.mariadb.jdbc:mariadb-java-client (CVE-2026-55858)

Summary

Vulnerability in org.mariadb.jdbc:mariadb-java-client (CVE-2026-55858). Data can be tampered with by attackers. Mitigation: upgrade to 2.7.14 or later.

Original description

The description as published by the source.

Summary

The connector encodes and decodes all character data assuming the connection character set is UTF-8. A server can change character_set_client mid-session to a non-UTF-8 charset, after which the driver and server interpret the same bytes under different encodings, causing silent data corruption and a client/server charset-confusion mismatch.

Details

The driver encodes and decodes all character data on the assumption that the connection character set is UTF-8.
Charset can be changed by commands like SET NAMES... commands.

If the new charset is not UTF-8, the driver continues to read and write UTF-8 while the server interprets the same bytes under a different encoding. The result is silent data corruption and a client/server charset-confusion mismatch. Charset confusion of this kind is also the primitive that can defeat byte-wise quoting/escaping when client and server disagree on a multi-byte encoding.

Impact

Silent data corruption and a client/server encoding mismatch once the connection's charset diverges from UTF-8. Because the mismatch undermines the assumption that quoting/escaping operates on UTF-8 bytes, it belongs to the charset-confusion class that can lead to SQL injection.

Patches

Fixed in 2.7.14, 3.3.5, 3.4.3, and 3.5.9. Upgrade to the patched release on your branch (3.5.x → 3.5.9, 3.4.x → 3.4.3, 3.0/3.1/3.2/3.3.x → 3.3.5, 2.x → 2.7.14). Once the connection is fully initialized, any subsequent charset change to a value that is not ut…

Source: GitHub Security Advisories (Global) NVD GitHub Advisory

Auto-generated summary

Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.

A vulnerability tracked as CVE-2026-55858 has been found in org.mariadb.jdbc:mariadb-java-client.
Data can be tampered with by attackers. CVSS score: 5.9/10.
What to do: upgrade org.mariadb.jdbc:mariadb-java-client to 2.7.14 or later.
If unsure, ask your IT team or search "org.mariadb.jdbc:mariadb-java-client CVE-2026-55858" on the vendor's site.

CVE-2026-55858 (org.mariadb.jdbc:mariadb-java-client) — CWE-838 / CVSS v3 5.9
Attack vector: remote (network-reachable) / unauthenticated / no user interaction
Patched: 2.7.14 — apply immediately
Workaround: There is no reliable application-level workaround.
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.

❓ What is the problem

A vulnerability (CWE-838) exists in org.mariadb.jdbc:mariadb-java-client.

📍 Affected scope

Check the vendor advisory for the affected versions of org.mariadb.jdbc:mariadb-java-client.

🔥 Severity

Severity: Medium (CVSS 5.9/10). Data can be tampered with by attackers.

🔧 How to fix

Update to 2.7.14.

🛡️ Workaround

Workaround: There is no reliable application-level workaround.

🔍 Detection

Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Audit SBOM/dependencies to find affected services.

Response actions

Concrete steps and command examples for SOC/SRE teams to execute in order

  1. 1
    Identify exposure identify
    Audit SBOM/dependencies for affected components.

    資産台帳・SBOM・依存マニフェストで org.mariadb.jdbc:mariadb-java-client を使っているサービスとバージョンを洗い出す。

  2. 2
    Apply temporary workaround mitigate
    There is no reliable application-level workaround.

    パッチが適用されるまでの応急処置として、There is no reliable application-level workaround. を実施。回避策の副作用 (機能低下) を確認した上で。

  3. 3
    Apply patch patch
    Upgrade org.mariadb.jdbc:mariadb-java-client to 2.7.14

    ステージング環境で 2.7.14 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。

  4. 4
    Post-deployment verification verify
    Confirm patched version is live in production

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。

Affected packages

maven org.mariadb.jdbc:mariadb-java-client
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5.9"}]}]

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details