{"id":"CVE-2026-107819","published":"2026-10-09T17:25:45Z","modified":"2026-10-09T17:59:15Z","title":"MariaDB Connector/C: libmariadb allowed cleartext password leakage on TLS hostname verification failure","vendor":"MariaDB","product":"server","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00336,"percentile":0.19513,"provenance":"source"},"cwes":[{"id":"CWE-297","name":"Improper Validation of Certificate with Host Mismatch"}],"references":[{"url":"https://github.com/MariaDB/server/security/advisories/GHSA-fmq9-qjxj-qpf7","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/mariadb-corporation/mariadb-connector-c/commit/e8c0a16d94ddf844668d684a7d42b37ac8e0fc02","tags":["x_refsource_MISC"]},{"url":"https://github.com/mariadb-corporation/mariadb-connector-c/releases/tag/v3.4.10","tags":["x_refsource_MISC"]},{"url":"https://jira.mariadb.org/browse/CONC-846","tags":["x_refsource_MISC"]}],"priority":{"score":8.0,"factors":[{"name":"EPSS percentile","points":3.9},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"mariadb","affectedVersions":[{"vendor":"MariaDB","product":"server","versions":[">= 3.4.1, < 3.4.10"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-09T17:59:07.078424Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-95920","exploited":false,"provenance":"source"}}