Read the docs

MariaDB Server Stack-Based Buffer Overflow in WSREP Key Serialization

Priority MEDIUM 49CWE-121Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
Present
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-121 and the CVSS impact.

Summary

MariaDB Server before 10.6.25, 10.7 through 10.11.x before 10.11.16, 11.0 through 11.4.x before 11.4.10, 11.5 through 11.8.x before 11.8.6, and 12.0 through 12.2.x before 12.2.2 has a stack-based buffer overflow (CWE-121) in wsrep_store_key_val_for_row(). With WSREP protocol version 2 or later, the function advances past a BLOB, TEXT or GEOMETRY key prefix before copying it, so the copy can overrun the 3500-byte stack buffer. An authenticated user who can insert or update rows with such a prefix in a WSREP-serialized key on a Galera node can write about 3 KB of controlled data past the buffer, crashing the server or corrupting stack memory.

Written with Claude Haiku 5.5 from the sources below · 2026-12-04

Description from the CNA

MariaDB Server before 10.6.25, 10.7 through 10.11.x before 10.11.16, 11.0 through 11.4.x before 11.4.10, 11.5 through 11.8.x before 11.8.6, and 12.0 through 12.2.x before 12.2.2 contains a stack-based buffer overflow in wsrep_store_key_val_for_row() in storage/innobase/handler/ha_innodb.cc. When building Galera write-set certification keys with WSREP protocol version 2 or later, the function advanced the destination pointer past a BLOB, TEXT or GEOMETRY key prefix before copying the prefix bytes, so the copy landed after the space reserved for it and could run past the end of the 3500-byte key buffer on the stack of ha_innobase::wsrep_append_keys(). Authenticated users who can insert or update rows in an InnoDB table with a long BLOB, TEXT or GEOMETRY prefix in a key that WSREP serializes (a primary, unique or foreign key, or any key of a table without a primary key) on a Galera cluster node can write up to about 3 KB of data they control past the buffer, crashing the server or corrupting stack memory.

Why it matters now

Fix Fixed MariaDB Server (MariaDB): 10.6.25, 10.11.16, 11.4.10 +2Red Hat: 2 advisories

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
MariaDBMariaDB Serverbefore 10.6.25; 10.7.0 to before 10.11.16; 11.0.0 to before 11.4.10; 11.5.0 to before 11.8.6; 12.0.0 to before 12.2.210.6.25, 10.11.16, 11.4.10, 11.8.6, 12.2.2Patch availableCNA
  • MariaDB Server VendorMariaDB Affected before 10.6.25; 10.7.0 to before 10.11.16; 11.0.0 to before 11.4.10; 11.5.0 to before 11.8.6; 12.0.0 to before 12.2.2 Fixed in 10.6.25, 10.11.16, 11.4.10, 11.8.6, 12.2.2 Patch available CNA

Remediation

Upgrade MariaDB Server to 10.6.25, 10.11.16, 11.4.10, 11.8.6 or 12.2.2, depending on the release branch in use. Red Hat rates the issue Important and ships the fix in Red Hat Hardened Images through RHSA-2026:101236 and RHSA-2026:101228.

Written with Claude Haiku 5.5 from the sources below · 2026-12-04

  • Fix · CNA MariaDB Server (MariaDB) Fixed in 10.6.25, 10.11.16, 11.4.10, 11.8.6, 12.2.2

Red Hat 2 advisories

  • RHSA-2026:101236 Released 2026-11-21 · Red Hat rating Important
    Red Hat Hardened Images RPMs bug fix and enhancement update
    • Red Hat Hardened Images mariadb11.8-3:11.8.10-1.hum1@aarch64, mariadb11.8-3:11.8.10-1.hum1@s390x, mariadb11.8-3:11.8.10-1.hum1@src +47
  • RHSA-2026:101228 Released 2026-11-21 · Red Hat rating Important
    Red Hat Hardened Images RPMs bug fix and enhancement update
    • Red Hat Hardened Images mariadb10.11-3:10.11.20-1.hum1@aarch64, mariadb10.11-3:10.11.20-1.hum1@s390x, mariadb10.11-3:10.11.20-1.hum1@src +47

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    MariaDB Server 10.11.16, 10.6.25 and 3 more versions

    2 records Highest priority Priority MEDIUM 2 MEDIUM

    Other records, highest priority first

    • TI-2026-104010 Stack exhaustion in MariaDB Server Spider engine via user variablePriority MEDIUM 42

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Hardened ImagesFixed RHSA-2026:101228, RHSA-2026:101236

Timeline

  1. 2026-12-04 Threatist record created from CVE-2026-144663
  2. 2026-12-04 Alias added: GHSA-g6c2-9gq9-h4x4
  3. 2026-12-04 Affected versions changed · Red Hat
  4. 2026-12-04 CVSS score added · Red Hat
  5. 2026-12-04 Fix available: RHSA-2026:101236 · Red Hat
  6. 2026-12-04 Fix available: RHSA-2026:101228 · Red Hat
  7. 2026-12-04 Fix available: Red Hat Hardened Images · Red Hat

References

  • TI-2023-11776 MariaDB v10.5 was discovered to contain a remote code execution (RCE) vulnerability via… CVSS 3.1CRITICAL 9.8
  • TI-2016-05707 Oracle MySQL through 5.5.52, 5.6.x through 5.6.33, and 5.7.x through 5.7.15; MariaDB… CVSS 3.0CRITICAL 9.8
  • TI-2022-00687 Infinite loop in BN_mod_sqrt() reachable when parsing certificates CVSS 3.1HIGH 7.5
  • TI-2014-00217 OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly… CVSS 3.1HIGH 7.4
  • TI-2014-00188 The dtls1_reassemble_fragment function in d1_both.c in OpenSSL before 0.9.8za, 1.0.0… CVSS 2.0MEDIUM 6.8
  • TI-2018-15259 zlib before 1.2.12 allows memory corruption when deflating (i.e., when compressing) if… CVSS 3.1HIGH 7.5
See all 462 →

Sources