{"id":"CVE-2026-107819","state":"PUBLISHED","title":"MariaDB Connector/C: libmariadb allowed cleartext password leakage on TLS hostname verification failure","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.","publishedAt":"2026-10-09T17:25:45.082Z","updatedAt":"2026-10-09T17:59:15.334Z","severity":{"score":5.9,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["MariaDB server"],"affected":[{"vendor":"MariaDB","product":"server","versions":[{"version":">= 3.4.1, < 3.4.10","status":"affected"}]}],"references":["https://github.com/MariaDB/server/security/advisories/GHSA-fmq9-qjxj-qpf7","https://github.com/mariadb-corporation/mariadb-connector-c/commit/e8c0a16d94ddf844668d684a7d42b37ac8e0fc02","https://github.com/mariadb-corporation/mariadb-connector-c/releases/tag/v3.4.10","https://jira.mariadb.org/browse/CONC-846"],"weaknesses":["CWE-297"],"ingestedAt":"2026-10-29T20:10:23.711Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/107xxx/CVE-2026-107819.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-107819","state":"PUBLISHED","datePublished":"2026-10-09T17:25:45.082Z","dateUpdated":"2026-10-09T17:59:15.334Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-10-08T21:23:59.823Z"},"containers":{"cna":{"title":"MariaDB Connector/C: libmariadb allowed cleartext password leakage on TLS hostname verification failure","descriptions":[{"lang":"en","value":"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":[{"vendor":"MariaDB","product":"server","versions":[{"version":">= 3.4.1, < 3.4.10","status":"affected"}]}],"references":[{"url":"https://github.com/MariaDB/server/security/advisories/GHSA-fmq9-qjxj-qpf7","name":"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","name":"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","name":"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","name":"https://jira.mariadb.org/browse/CONC-846","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.9,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-297","lang":"en","description":"CWE-297: Improper Validation of Certificate with Host Mismatch","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-10-09T17:25:45.082Z"},"source":{"advisory":"GHSA-fmq9-qjxj-qpf7","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-09T17:59:07.078424Z","id":"CVE-2026-107819","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-09T17:59:15.334Z"}}]}}}