CVE-2026-107382: MariaDB Connector/Node.js Uncaught Exception Crashes Client During ed25519 Authentication

mariadb Updated 09 Oct 2026

Summary

08/10/2026
Yes i
Moderate
5.9

CVE-2026-107382: Description On the zero-configuration TLS path, the connector accepts a self-signed server certificate at the TLS level and then validates the server's identity from the fingerprint hash the server appends to the final O... Affects mariadb versions >= 3.3.0, < 3.5.4. Fixed in 3.5.4. How to fix ↓

Also tracked for

The same CVE-2026-107382 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

MariaDB Connector/Node.js is a library that allows Node.js applications to connect to MariaDB databases. It supports various authentication methods and provides features like zero-configuration TLS for secure connections. However, a vulnerability has been identified in the ed25519 authentication method when using zero-configuration TLS, which can lead to client crashes under certain conditions.

Vulnerability Detail

The vulnerability arises from a ReferenceError in the Ed25519PasswordAuth.hash() method, where a variable 'seed' is referenced but not defined in the method's scope. This error occurs during the socket data handling process, causing an uncaught exception that crashes the client application. The impact is a denial of service, as the client process terminates unexpectedly, affecting availability without disclosing credentials or altering data. An attacker can exploit this by intercepting the connection and presenting a self-signed certificate, leading to a crash when the client attempts to authenticate.

How To Fix

Latest published version: 3.5.4 as of 23 Oct 2026

npm install mariadb@3.5.4

The newest release already contains this fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, you can provide the server certificate to the client by configuring SSL options in your connection settings. Use the following code snippet:

const mariadb = require('mariadb');
const pool = mariadb.createPool({
  host: 'your-host',
  user: 'your-user',
  password: 'your-password',
  ssl: { ca: 'path/to/your/server-cert.pem' }
});

Alternatively, you can set 'rejectUnauthorized' to false:

const pool = mariadb.createPool({
  host: 'your-host',
  user: 'your-user',
  password: 'your-password',

ssl: { rejectUnauthorized: false }

});

Conclusion

In summary, CVE-2026-107382 affects the MariaDB Connector/Node.js, leading to client crashes during ed25519 authentication with zero-configuration TLS. The issue can be resolved by upgrading to version 3.5.4 or later, and temporary workarounds are available to mitigate the impact until an upgrade can be performed.

See every vulnerability recorded for mariadb →

Share this vulnerability

FAQ

The vulnerability is a ReferenceError in the Ed25519PasswordAuth.hash() method, leading to a client crash during authentication.

An attacker can exploit this vulnerability by intercepting the connection and presenting a self-signed certificate, causing the client to crash.

The primary consequence is a denial of service, where the client process terminates unexpectedly, affecting application availability.

No, the vulnerability does not disclose credentials or alter data; it only affects the availability of the client application.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

Related vulnerabilities

Recent vulnerabilities recorded for mariadb.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Latest published version: 3.5.4 as of 23 Oct 2026

npm install mariadb@3.5.4

The newest release already contains this fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback