Description
MariaDB Connector/C is a C and C++ client library for connecting applications to MariaDB and MySQL databases. From 3.4.1 until 3.4.10, the MariaDB Connector/C libmariadb Zero-Configuration SSL authentication-switch logic checked certificate trust failure but did not reject a TLS hostname verification mismatch before selecting a non-hashing authentication plugin. An active man-in-the-middle attacker with a valid certificate for another hostname could request mysql_clear_password and obtain the database password inside the attacker-controlled TLS connection. Other MariaDB connectors are not affected. This issue is fixed in version 3.4.10.
Published: 2026-10-09
Score: 5.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Cleartext Password Disclosure
Action: Apply Patch
AI Analysis

Impact

MariaDB Connector/C versions 3.4.1 through 3.4.9 contain a flaw in the Zero‑Configuration SSL authentication‑switch logic. The library accepts a certificate that is trusted but fails to reject a hostname mismatch before selecting the non‑hashing mysql_clear_password authentication plugin. An attacker who can perform a man‑in‑the‑middle interception and present a valid certificate for a different hostname can cause the connector to transmit the database password in cleartext inside the TLS session, exposing sensitive credential material.

Affected Systems

Applications that use the vulnerable Connector/C library to connect to MariaDB or MySQL databases over TLS and rely on the mysql_clear_password plugin are affected. This includes any client built against Connector/C from v3.4.1 up to, but not including, v3.4.10. Other MariaDB connectors are not impacted.

Risk and Exploitability

The CVSS score of 5.9 indicates medium severity. EPSS data is unavailable and the vulnerability is not listed in the CISA KEV catalog, implying a lower likelihood of exploitation. However, the attack requires network access for a man‑in‑the‑middle position and a certificate that the client will accept for a hostname mismatch, which is achievable by a skilled adversary. The primary risk is the disclosure of cleartext passwords, which compromises confidentiality of database credentials.

Generated by OpenCVE AI on October 10, 2026 at 02:21 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update MariaDB Connector/C to version 3.4.10 or later, where the hostname mismatch is correctly rejected before enabling mysql_clear_password
  • Configure the client to enforce strict TLS hostname verification so that any certificate presented for a different hostname is rejected
  • Disable or avoid use of the mysql_clear_password authentication plugin unless it is explicitly required for the application

Generated by OpenCVE AI on October 10, 2026 at 02:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 10 Oct 2026 00:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-295
References
Metrics threat_severity

None

threat_severity

Moderate


Fri, 09 Oct 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 09 Oct 2026 19:15:00 +0000

Type Values Removed Values Added
First Time appeared Mariadb
Mariadb server
Vendors & Products Mariadb
Mariadb server

Fri, 09 Oct 2026 17:30:00 +0000

Type Values Removed Values Added
Description MariaDB Connector/C is a C and C++ client library for connecting applications to MariaDB and MySQL databases. From 3.4.1 until 3.4.10, the MariaDB Connector/C libmariadb Zero-Configuration SSL authentication-switch logic checked certificate trust failure but did not reject a TLS hostname verification mismatch before selecting a non-hashing authentication plugin. An active man-in-the-middle attacker with a valid certificate for another hostname could request mysql_clear_password and obtain the database password inside the attacker-controlled TLS connection. Other MariaDB connectors are not affected. This issue is fixed in version 3.4.10.
Title MariaDB Connector/C: libmariadb allowed cleartext password leakage on TLS hostname verification failure
Weaknesses CWE-297
References
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-09T17:59:15.334Z

Reserved: 2026-10-08T21:23:59.823Z

Link: CVE-2026-107819

cve-icon Vulnrichment

Updated: 2026-10-09T17:59:10.891Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-09T18:17:03.533

Modified: 2026-10-13T15:27:56.817

Link: CVE-2026-107819

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-09T17:25:45Z

Links: CVE-2026-107819 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-10T02:30:05Z

Weaknesses
  • CWE-295

    Improper Certificate Validation

  • CWE-297

    Improper Validation of Certificate with Host Mismatch