{"id":"CVE-2026-107819","summary":"MariaDB Connector/C: libmariadb allowed cleartext password leakage on TLS hostname verification failure","details":"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.","aliases":["GHSA-fmq9-qjxj-qpf7"],"modified":"2026-10-28T10:51:15.013299359Z","published":"2026-10-09T17:25:45.082Z","database_specific":{"cwe_ids":["CWE-297"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/107xxx/CVE-2026-107819.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/mariadb-corporation/mariadb-connector-c/releases/tag/v3.4.10"},{"type":"WEB","url":"https://jira.mariadb.org/browse/CONC-846"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/107xxx/CVE-2026-107819.json"},{"type":"ADVISORY","url":"https://github.com/MariaDB/server/security/advisories/GHSA-fmq9-qjxj-qpf7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-107819"},{"type":"FIX","url":"https://github.com/mariadb-corporation/mariadb-connector-c/commit/e8c0a16d94ddf844668d684a7d42b37ac8e0fc02"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mariadb-corporation/mariadb-connector-c","events":[{"introduced":"de6305915f86bb33c83b1fe782a2b8a76920aec1"},{"fixed":"8153da40fe720b1d25db12aa3f993918da15bd3b"},{"fixed":"e8c0a16d94ddf844668d684a7d42b37ac8e0fc02"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"3.4.1"},{"fixed":"3.4.10"}],"source":"AFFECTED_FIELD","strategy":"StringRangeExpression"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"e8c0a16d94ddf844668d684a7d42b37ac8e0fc02"}]},{"source":"REFERENCES_TAG","original_tag":"v3.4.10","range":[{"fixed":"8153da40fe720b1d25db12aa3f993918da15bd3b"}]}]}}],"versions":["v3.4.9","v3.4.7","v3.4.8","v3.4.6","v3.4.4","v3.4.3","v3.4.2","v3.4.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-107819.json","vanir_signatures":[{"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["49926995115306452506150328668827550922","21680598738414608729318342151702517251","27901823345030361362269905591239365654","290059996277261289332794766215132327788","220263496024370897040820980750128952618","206345309748933763595717261161876419924","5152760896604591288773671180479975118","262907106771466566532812920316146350856","195547006939694085069267556822870882257"]},"id":"CVE-2026-107819-1d6fe11f","signature_type":"Line","signature_version":"v1","source":"https://github.com/mariadb-corporation/mariadb-connector-c/commit/e8c0a16d94ddf844668d684a7d42b37ac8e0fc02","target":{"file":"plugins/auth/my_auth.c"}},{"source":"https://github.com/mariadb-corporation/mariadb-connector-c/commit/8153da40fe720b1d25db12aa3f993918da15bd3b","target":{"file":"unittest/libmariadb/ps.c","function":"test_vector"},"deprecated":false,"digest":{"length":1272,"function_hash":"249726968211302489602923545727773800479"},"id":"CVE-2026-107819-4394f37e","signature_type":"Function","signature_version":"v1"},{"target":{"function":"mysql_init","file":"libmariadb/mariadb_lib.c"},"deprecated":false,"digest":{"function_hash":"119395872767643541814227181962632948200","length":1630},"id":"CVE-2026-107819-62f18e79","signature_type":"Function","signature_version":"v1","source":"https://github.com/mariadb-corporation/mariadb-connector-c/commit/e8c0a16d94ddf844668d684a7d42b37ac8e0fc02"},{"target":{"file":"libmariadb/ma_tls.c","function":"ma_pvio_tls_verify_server_cert"},"deprecated":false,"digest":{"length":2557,"function_hash":"134587052742145015964208557316791499359"},"id":"CVE-2026-107819-6cc7499e","signature_type":"Function","signature_version":"v1","source":"https://github.com/mariadb-corporation/mariadb-connector-c/commit/e8c0a16d94ddf844668d684a7d42b37ac8e0fc02"},{"signature_type":"Function","signature_version":"v1","source":"https://github.com/mariadb-corporation/mariadb-connector-c/commit/e8c0a16d94ddf844668d684a7d42b37ac8e0fc02","target":{"file":"plugins/auth/my_auth.c","function":"run_plugin_auth"},"deprecated":false,"digest":{"function_hash":"338096637639934456023479377172249681586","length":4776},"id":"CVE-2026-107819-81aaae3f"},{"signature_type":"Line","signature_version":"v1","source":"https://github.com/mariadb-corporation/mariadb-connector-c/commit/e8c0a16d94ddf844668d684a7d42b37ac8e0fc02","target":{"file":"libmariadb/mariadb_lib.c"},"deprecated":false,"digest":{"line_hashes":["85510151422084730106219661091802829967","126783520968535468199114467787225695935","78474443796110510982674562855084677873","81512620604195697893021914197246900099"],"threshold":0.9},"id":"CVE-2026-107819-992fb3fb"},{"source":"https://github.com/mariadb-corporation/mariadb-connector-c/commit/e8c0a16d94ddf844668d684a7d42b37ac8e0fc02","target":{"file":"libmariadb/ma_tls.c"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["86136382036198362328304138461648284772","251365011128251190761614491571380299936","257858115413623363667848754794799814880","39521776064039430727668613822278742842"]},"id":"CVE-2026-107819-cf066478","signature_type":"Line","signature_version":"v1"},{"target":{"file":"unittest/libmariadb/ps.c"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["335824217201172825678247368787400597043","117583078661513530238598940099431934653","333449155896468801820679162423656675592"]},"id":"CVE-2026-107819-e75aa4dc","signature_type":"Line","signature_version":"v1","source":"https://github.com/mariadb-corporation/mariadb-connector-c/commit/8153da40fe720b1d25db12aa3f993918da15bd3b"}],"vanir_signatures_modified":"2026-10-28T10:51:15Z"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}