CVE-2026-107819

Source
https://cve.org/CVERecord?id=CVE-2026-107819
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-107819.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-107819
Aliases
  • GHSA-fmq9-qjxj-qpf7
Published
2026-10-09T17:25:45Z
Modified
2026-10-10T07:06:00Z
Severity
  • 5.9 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
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.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-297"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/107xxx/CVE-2026-107819.json"
}
References

Affected packages

Git / github.com/mariadb-corporation/mariadb-connector-c

Affected ranges

Type
GIT
Repo
https://github.com/mariadb-corporation/mariadb-connector-c
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "introduced": "3.4.1"
        },
        {
            "fixed": "3.4.10"
        }
    ],
    "source": "AFFECTED_FIELD"
}

Affected versions

v3.*
v3.4.1
v3.4.2
v3.4.3
v3.4.4
v3.4.6
v3.4.7
v3.4.8
v3.4.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-107819.json"
vanir_signatures
[
    {
        "deprecated": false,
        "digest": {
            "function_hash": "249726968211302489602923545727773800479",
            "length": 1272
        },
        "id": "CVE-2026-107819-4394f37e",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/mariadb-corporation/mariadb-connector-c/commit/8153da40fe720b1d25db12aa3f993918da15bd3b",
        "target": {
            "file": "unittest/libmariadb/ps.c",
            "function": "test_vector"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "335824217201172825678247368787400597043",
                "117583078661513530238598940099431934653",
                "333449155896468801820679162423656675592"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2026-107819-e75aa4dc",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/mariadb-corporation/mariadb-connector-c/commit/8153da40fe720b1d25db12aa3f993918da15bd3b",
        "target": {
            "file": "unittest/libmariadb/ps.c"
        }
    }
]
vanir_signatures_modified
"2026-10-10T07:06:00Z"