CVE-2026-107819
published medium CVSS 3.1 · 5.9MariaDB Connector/C: libmariadb allowed cleartext password leakage on TLS hostname verification failure
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| MariaDB | — | server>= 3.4.1, < 3.4.10 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.9 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| MariaDB | server | >= 3.4.1, < 3.4.10 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-297 CWE-297: Improper Validation of Certificate with Host Mismatch
References
4- 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
Provider assertions
2GitHub_M · cna
MariaDB Connector/C: libmariadb allowed cleartext password leakage on TLS hostname verification failure
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7081e4507733971d10f77cfe98d11fdc1d3343a3f06c29daeed5821d738e50e5
- Ingested
- 09 Oct 2026, 18:14:33 UTC
- Source record
- Official CVE record