# CVE-2026-107819: MariaDB Connector/C: libmariadb allowed cleartext password leakage on TLS hostname verification failure

- Severity: Medium 5.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 28% of CVEs (2026-12-01)
- Published: 2026-10-09T17:25:45.082Z
- Modified: 2026-10-13T15:27:56.817Z
- Weaknesses: CWE-297
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- MariaDB server: >= 3.4.1, < 3.4.10

## 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>

## Sources

- CVE List: [CVE-2026-107819](https://www.cve.org/CVERecord?id=CVE-2026-107819), CVE Terms of Use, modified 2026-10-09
- NVD: [CVE-2026-107819](https://nvd.nist.gov/vuln/detail/CVE-2026-107819), Public domain, modified 2026-10-13

---

Page: https://cve.day/CVE-2026-107819 · Whole record: https://cve.day/CVE-2026-107819.json · Rebuilt by cve.day 2026-11-25T22:59:43.344Z
