Skip to content
OpenAdvisories
Medium · 5.9 CVE-2026-107382 BIT-mariadb-2026-107382BIT-mariadb-min-2026-107382BIT-mysql-client-2026-107382EUVD-2026-95141GHSA-cx2f-j9fh-8g68

MariaDB Connector/Node.js: Uncaught exception crashes the client during ed25519 authentication with zero-configuration TLS

Published Oct 8, 2026 · Updated Oct 8, 2026 · Assigned by GitHub_M

Description

MariaDB Connector/Node.js is used to connect applications developed on Node.js to MariaDB and MySQL databases. From 3.3.0 until 3.5.4, the zero-configuration TLS fingerprint-validation path calls Ed25519PasswordAuth.hash() through Authentication.validateFingerPrint, but Ed25519PasswordAuth.hash() references a seed identifier that is not in scope. Exposure requires a MariaDB server reached over TCP, TLS enabled with ssl: true or an ssl object whose rejectUnauthorized value is not false, a password set, no ssl.ca configured, and client_ed25519 negotiated as the authentication plugin. Under those conditions, a legitimate server, malicious server, or network attacker presenting a self-signed certificate can reach this path and cause a synchronous ReferenceError to escape the socket data handler. Under Node.js default uncaught-exception behavior, the client process terminates, causing denial of service. Configurations using a provided CA, rejectUnauthorized: false, another authentication plugin, or a Unix socket do not reach this vulnerable path. This issue is fixed in version 3.5.4.

Affected products

VendorProductAffectedFixed
mariadb-corporation mariadb-connector-nodejs >= 3.3.0, < 3.5.4 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling sqlpad 7.5.7-r49 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm mariadb >= 3.3.0, < 3.5.4 3.5.4 GHSA-cx2f-j9fh-8g68

Advisories 1

References