CVE-2026-144663

Description

A flaw was found in MariaDB. An authenticated database user can trigger a stack-based buffer overflow when inserting or updating rows containing long data key prefixes while Write Set Replication (WSREP) is active in a Galera cluster node. This flaw allows controlled data to be written beyond allocated buffer boundaries, enabling an attacker to crash the database server, resulting in a denial of service, or potentially corrupt stack memory.

Statement

This flaw is rated as Important severity because an authenticated database user with write access can trigger a stack-based memory overwrite in MariaDB, potentially leading to a service crash or arbitrary code execution. Exploitation requires MariaDB to be running in a multi-node cluster environment with Galera write-set replication active. Standalone database installations and configurations where Galera replication is disabled are not affected by this issue.

Mitigation

To mitigate this flaw, disable Galera cluster replication if high-availability cluster synchronization is not required, or restrict write privileges for untrusted database accounts.

To disable Galera replication, add or modify the following directive under the `[mysqld]` section in `/etc/my.cnf.d/galera.cnf` (or `/etc/my.cnf`):

[mysqld]
wsrep_on = OFF

Warning: Changing this configuration requires restarting the MariaDB service by running `systemctl restart mariadb`. Disabling Galera replication will stop cluster synchronization across database nodes.

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 Score7.5N/A7.5
Attack VectorNetworkN/ANetwork
Attack ComplexityHighN/AHigh
Privileges RequiredLowN/ALow
User InteractionNoneN/ANone
ScopeUnchangedN/AUnchanged
ConfidentialityHighN/AHigh
Integrity ImpactHighN/AHigh
Availability ImpactHighN/AHigh

Vector

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

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

Understanding the Weakness (CWE)

Integrity

Technical Impact: Modify Memory; Execute Unauthorized Code or Commands

Write operations could cause memory corruption. In some cases, an adversary can modify control data such as return addresses in order to execute unexpected code.

Availability

Technical Impact: DoS: Crash, Exit, or Restart

Attempting to access out-of-range, invalid, or unauthorized memory could cause the product to crash.

Other

Technical Impact: Unexpected State

Subsequent write operations can produce undefined or unexpected results.

Frequently Asked Questions

Want to get errata notifications? Sign up here.