cve.bz

CVE-2026-55856 mariadb-corporation mariadb-connector-j: Insufficiently Protected Credentials

5.9 mediumEPSS 0.4%Fix available

Medium (5.9) in mariadb-corporation mariadb-connector-j. EPSS 0.4% 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, when a Java application connects with sslMode=verify-full or sslMode=verify-ca, supplies a password, and does not configure serverSslCert or trustStore, Connector/J can accept an untrusted self-signed certificate through the fallbackToSystemTrustStore=true ephemeral trust manager and record its certFingerprint for later identity binding. The OK-packet and authentication-switch paths enforce the certificate fingerprint, but the initial-handshake path does not. HandshakeResponse.encode() can therefore build and send a mysql_clear_password response before checking certFingerprint != null && !isMitMProof(), sslMode, or whether the authentication plugin is resistant to a man-in-the-middle, and the initial path also bypasses restrictedAuth. An active man-in-the-middle or hostile server can present a self-signed certificate, claim to be MariaDB, select mysql_clear_password as the initial authentication plugin, and receive the full database password before the connection is rejected. 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:H/I:N/A:N
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 39th 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-08-31. 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-522 Insufficiently Protected Credentials
OWASP Top 10
A06:2025 Insecure Design
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-55856 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-55856?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-55856?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-55856 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, < 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-g9jj-cgmh-9f38Mavenorg.mariadb.jdbc:mariadb-java-client<2.7.142.7.14
GHSA-g9jj-cgmh-9f38Mavenorg.mariadb.jdbc:mariadb-java-client>=3.0.0 <3.3.53.3.5
GHSA-g9jj-cgmh-9f38Mavenorg.mariadb.jdbc:mariadb-java-client>=3.4.0 <3.4.33.4.3
GHSA-g9jj-cgmh-9f38Mavenorg.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 (the JDBC driver used to connect Java applications to MariaDB and MySQL databases) does not consistently enforce certificate identity checks on the initial TLS handshake path. When an application connects with sslMode set to verify-full or verify-ca, supplies a password, and does not configure serverSslCert or trustStore, an active network attacker can present a self-signed certificate, claim to be the database server, select the mysql_clear_password authentication plugin, and receive the database password in cleartext before the connection is rejected.

This issue is fixed upstream in MariaDB Connector/J 2.7.14, 3.3.5, 3.4.3, and 3.5.9.

Red Hat's mitigation

When using sslMode verify-ca or verify-full, configure serverSslCert or a trustStore so the JDBC client validates the server certificate before sending credentials. Upgrade to MariaDB Connector/J 2.7.14, 3.3.5, 3.4.3, or 3.5.9 when available in your product update stream.

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-55856.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-522 (13).

References

Check your stackJSON