CVE-2026-107819
JSON

5.9medium

MariaDB Connector/C: libmariadb allowed cleartext password leakage on TLS hostname verification failure

Severity
5.9medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.34% (higher than 28% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

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.

Affected

Product or packageVersionsReported by
MariaDB server>= 3.4.1, < 3.4.10CVE List

Classification

CWE-297

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-107819 changed 2026-10-09CVE Terms of Use
NVDCVE-2026-107819 changed 2026-10-13Public domain