CVE-2026-144662

Description

A flaw was found in MariaDB's CONNECT storage engine. An authenticated user with FILE privileges can trigger a stack-based buffer overflow by creating and querying an OEM table with an excessively long SUBTYPE parameter. Successful exploitation allows the attacker to crash the database server, resulting in a denial of service (DoS).

Statement

This flaw is evaluated as having a Moderate impact because successful exploitation requires an authenticated attacker to possess elevated FILE privileges and requires the CONNECT storage engine to be enabled. In default Red Hat deployments where MariaDB is installed, the CONNECT storage engine is optional and FILE privileges are restricted to administrative accounts, significantly reducing the default attack surface. An attacker with the necessary privileges could create a specially formatted OEM table to trigger a stack-based buffer overflow, causing the MariaDB server daemon to crash and resulting in a denial of service.

Mitigation

To mitigate this vulnerability, perform one of the following operational controls:

1. Revoke the FILE privilege from non-administrative database accounts that do not require file import/export capabilities:

REVOKE FILE ON *.* FROM 'username'@'host';
FLUSH PRIVILEGES;

2. Disable or uninstall the CONNECT storage engine plugin if it is not required for database operations:

UNINSTALL SONAME 'ha_connect';

Alternatively, remove the optional mariadb-plugin-connect package from the system if installed.

Caveats:
- Revoking the FILE privilege will prevent affected database accounts from executing file operations such as LOAD DATA INFILE or SELECT ... INTO OUTFILE.
- Uninstalling or removing the CONNECT storage engine will prevent access to any existing CONNECT tables.

Warning: Modifying database permissions or uninstalling plugins may require reloading configuration or restarting the mariadb service (systemctl restart mariadb), which can temporarily disrupt active database connections.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score4.4N/A4.4
Attack VectorNetworkN/ANetwork
Attack ComplexityHighN/AHigh
Privileges RequiredHighN/AHigh
User InteractionNoneN/ANone
ScopeUnchangedN/AUnchanged
ConfidentialityNoneN/ANone
Integrity ImpactNoneN/ANone
Availability ImpactHighN/AHigh

Vector

Red Hat: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H

cve.org: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H

Understanding the Weakness (CWE)

Integrity,Confidentiality,Availability

Technical Impact: Modify Memory; Execute Unauthorized Code or Commands

Buffer overflows often can be used to execute arbitrary code, which is usually outside the scope of the product's implicit security policy. This can often be used to subvert any other security service.

Availability

Technical Impact: Modify Memory; DoS: Crash, Exit, or Restart; DoS: Resource Consumption (CPU)

Buffer overflows generally lead to crashes. Other attacks leading to lack of availability are possible, including putting the product into an infinite loop.

Frequently Asked Questions

Want to get errata notifications? Sign up here.