Skip to main content

CVE-2026-107819: CWE-297: Improper Validation of Certificate with Host Mismatch in MariaDB server

0
Medium
VulnerabilityCVE-2026-107819cvecve-2026-107819cwe-297
Published: 10/09/2026 (10/09/2026, 17:25:45 UTC)
Source: CVE Database V5
Vendor/Project: MariaDB
Product: server

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.

CVSS v3.1

Score 5.9medium

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected software

MariaDB

server

Affected versions
>=3.4.1 <3.4.10
GitHub Actionsmore threats →ai
mariadb-corporation/mariadb-connector-c
pkg:github/mariadb-corporation/mariadb-connector-c
Affected versions
>=3.4.1 <3.4.10

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/09/2026, 18:03:45 UTC

Technical Analysis

MariaDB Connector/C, a client library for MariaDB and MySQL databases, had an improper validation of certificates with host mismatch in its Zero-Configuration SSL authentication-switch logic from versions 3.4.1 until 3.4.10. While the library checked for certificate trust failure, it did not reject TLS hostname verification mismatches before selecting a non-hashing authentication plugin. This allowed an active man-in-the-middle attacker possessing a valid certificate for a different hostname to request the mysql_clear_password authentication method and retrieve the database password within the attacker-controlled TLS session. Other MariaDB connectors are not affected by this vulnerability. The issue was resolved in version 3.4.10.

Potential Impact

An attacker capable of performing a man-in-the-middle attack with a valid certificate for a hostname different from the intended server can bypass hostname verification and obtain the database password via the mysql_clear_password authentication method. This compromises the confidentiality of database credentials but does not affect data integrity or availability.

Mitigation Recommendations

Upgrade MariaDB Connector/C to version 3.4.10 or later, where the vulnerability is fixed. No other mitigation is required as the issue is resolved in this official fix.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-10-08T21:23:59.823Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6ac9291a2cdf04f656733beb

Added to database: 10/09/2026, 17:49:14 UTC

Last enriched: 10/09/2026, 18:03:45 UTC

Last updated: 10/09/2026, 18:57:31 UTC

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses