cve.bz

CVE-2026-55858 mariadb-corporation mariadb-connector-j

5.9 mediumEPSS 0.9%Fix available

Medium (5.9) in mariadb-corporation mariadb-connector-j. EPSS 0.9% estimated probability of exploitation activity in the next 30 days. Fixed in org.mariadb.jdbc:mariadb-java-client 2.7.14, 3.3.5, 3.4.3.

On this page
MariaDB Connector/J is used to connect applications developed in Java to MariaDB and MySQL databases. Prior to 2.7.14, 3.3.5, 3.4.3, and 3.5.9, the connector encodes and decodes protocol text and performs client-side escaping under the assumption that the connection character set is UTF-8. The server can report a mid-session change to character_set_client through OK-packet session-state tracking, including a change caused by SET NAMES, a stored routine or trigger, server configuration, or a hostile server. If character_set_client changes to a non-UTF-8 value, the driver continues to read and write UTF-8 while the server interprets the same bytes under another encoding, causing silent data corruption and a client/server charset-confusion mismatch that can defeat byte-wise quoting or escaping. The fix accepts only utf8, utf8mb3, or utf8mb4 after initialization; any other value causes SQLException with SQLState 08000 and closes the connection. This issue is fixed in versions 2.7.14, 3.3.5, 3.4.3, and 3.5.9.

Severity

CVSS 3.1

5.9 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS
0.9% (unchanged from 0.9% a week ago; 0.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 60th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-09-01. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-838 Inappropriate Encoding for Output Context
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

  • org.mariadb.jdbc:mariadb-java-client (Maven): fixed in 2.7.14, 3.3.5, 3.4.3, 3.5.9

Ask an AI about this CVE

Show the promptExplain CVE-2026-55858 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-55858?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-55858?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-55858 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
mariadb-corporation mariadb-connector-j< 2.7.14
mariadb-corporation mariadb-connector-j>= 3.0.0-alpha, < 3.3.5
mariadb-corporation mariadb-connector-j>= 3.4.0, < 3.4.3
mariadb-corporation mariadb-connector-j>= 3.5.0, < 3.5.9

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-xvr9-35cr-46v9Mavenorg.mariadb.jdbc:mariadb-java-client<2.7.142.7.14
GHSA-xvr9-35cr-46v9Mavenorg.mariadb.jdbc:mariadb-java-client>=3.0.0 <3.3.53.3.5
GHSA-xvr9-35cr-46v9Mavenorg.mariadb.jdbc:mariadb-java-client>=3.4.0 <3.4.33.4.3
GHSA-xvr9-35cr-46v9Mavenorg.mariadb.jdbc:mariadb-java-client>=3.5.0 <3.5.93.5.9

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

MariaDB Connector/J (org.mariadb.jdbc:mariadb-java-client) encodes and decodes the wire protocol and performs client-side escaping assuming a UTF-8 connection character set. If the server signals a mid-session change of character_set_client to a non-UTF-8 value (via SET NAMES, a stored routine or trigger, server configuration, or a hostile server), the driver continues to read and write UTF-8 while the server interprets those bytes under another encoding, causing silent data corruption and potentially defeating byte-wise quoting or escaping. Red Hat rates the impact of this flaw as Moderate: exploitation requires either a hostile/compromised server or a server-side configuration that changes the client character set mid-session, and the primary consequence is to data integrity rather than confidentiality or availability.

Red Hat's mitigation

Upgrade MariaDB Connector/J to a fixed version (2.7.14, 3.3.5, 3.4.3, or 3.5.9, as appropriate for the branch in use), which rejects any post-initialization character set other than utf8, utf8mb3, or utf8mb4 and closes the connection. Where upgrading is not immediately possible, avoid changing character_set_client after connection establishment and connect only to trusted database servers.

ProductPackageStateAdvisory
Red Hat build of Quarkus 3.27.6.redhatorg.mariadb.jdbc/mariadb-java-client:3.5.9.redhat-00001Fixed 2026-10-15RHSA-2026:83082
OpenShift Pipelinesopenshift-pipelines/pipelines-console-plugin-pf5-rhel9Affected
OpenShift Pipelinesopenshift-pipelines/pipelines-console-plugin-rhel8Affected
OpenShift Pipelinesopenshift-pipelines/pipelines-console-plugin-rhel9Affected
OpenShift Pipelinesopenshift-pipelines/pipelines-hub-ui-rhel8Will not fix
OpenShift Pipelinesopenshift-pipelines/pipelines-hub-ui-rhel9Affected
OpenShift Service Mesh 3openshift-service-mesh/kiali-rhel9-operatorNot affected
Red Hat build of Debezium 3mariadb-java-clientFix deferred
Red Hat Build of Keycloakkeycloak/rhbk-openshift-rhel9Fix deferred
Red Hat Build of Keycloakmariadb-java-clientFix deferred
Red Hat Build of Keycloakrhbk/keycloak-rhel9Fix deferred
Red Hat build of Quarkusmariadb-java-clientFix deferred
Red Hat Enterprise Linux 10grafanaNot affected
Red Hat Enterprise Linux 10mariadb-java-clientFix deferred
Red Hat Enterprise Linux 10nodejs22Not affected
Red Hat Enterprise Linux 10nodejs24Not affected
Red Hat Enterprise Linux 10nodejs26Not affected
Red Hat Enterprise Linux 8grafanaNot affected
Red Hat Enterprise Linux 8mariadb:10.3/mariadbFix deferred
Red Hat Enterprise Linux 8mariadb-devel:10.3/mariadbNot affected
29 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-55858.

Attack patterns (CAPEC)

  • CAPEC-468 Generic Cross-Browser Cross-Domain Theft Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON