{"schemaVersion":3,"id":"CVE-2026-107819","aliases":["UBUNTU-CVE-2026-107819"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2026-10-09T17:25:45.082Z","modified":"2026-10-09T17:59:15.334Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.9,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":5.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":5.6,"impact":6,"computed":true}]},"epss":{"probability":0.00242,"percentile":0.1455,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-10-10T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00242,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00242,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00242,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00242,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00242,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00242,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00242,"percentile":0.1455}],"last30":[{"date":"2026-10-10T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00242,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00242,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00242,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00242,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00242,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00242,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00242,"percentile":0.1455}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-297","name":"Improper Validation of Certificate with Host Mismatch","description":"The product communicates with a host that provides a certificate, but the product does not properly ensure that the certificate is actually associated with that host.","type":"weakness","status":"Incomplete","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/297.html"}],"affected":[{"vendor":"ubuntu","product":"mariadb","name":"mariadb","label":"mariadb","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/mariadb","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"mongo-c-driver","name":"mongo-c-driver","label":"mongo-c-driver","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/mongo-c-driver","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"mariadb","product":"server","name":"server","label":"server","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 3.4.1, < 3.4.10","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 3.4.1, < 3.4.10","eol":null,"hubHref":"/vendor/mariadb/server"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/MariaDB/server/security/advisories/GHSA-fmq9-qjxj-qpf7","label":"github.com/MariaDB/server/security/advisories/GHSA-fmq9-qjxj-qpf7","hostname":"github.com","tags":["X Refsource CONFIRM","REPORT"]},{"url":"https://github.com/mariadb-corporation/mariadb-connector-c/commit/e8c0a16d94ddf844668d684a7d42b37ac8e0fc02","label":"github.com/mariadb-corporation/mariadb-connector-c/commit/e8c0a16d94ddf844668d684a7d42b37ac8e0fc02","hostname":"github.com","tags":["X Refsource MISC","REPORT"]},{"url":"https://github.com/mariadb-corporation/mariadb-connector-c/releases/tag/v3.4.10","label":"github.com/mariadb-corporation/mariadb-connector-c/releases/tag/v3.4.10","hostname":"github.com","tags":["X Refsource MISC","REPORT"]},{"url":"https://jira.mariadb.org/browse/CONC-846","label":"jira.mariadb.org/browse/CONC-846","hostname":"jira.mariadb.org","tags":["X Refsource MISC","REPORT"]},{"url":"https://ubuntu.com/security/CVE-2026-107819","label":"ubuntu.com/security/CVE-2026-107819","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-107819","label":"www.cve.org/CVERecord?id=CVE-2026-107819","hostname":"www.cve.org","tags":["REPORT"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-10-09T17:25:45.082Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-10-09T17:59:15.334Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":24,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T18:34:51.122Z","stale":false,"partial":false}}