CVE-2026-144663 PUBLISHED

MariaDB Server Stack-Based Buffer Overflow in WSREP Key Serialization for BLOB/TEXT Prefixes

Assigner: AISLE
Reserved: 04.12.2026 Published: 04.12.2026 Updated: 04.12.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CVSS Score: 7.7

Product Status

Vendor MariaDB
Product MariaDB Server
Versions Default: unaffected
  • affected from 0 to 10.6.25 (excl.)
  • affected from 10.7.0 to 10.11.16 (excl.)
  • affected from 11.0.0 to 11.4.10 (excl.)
  • affected from 11.5.0 to 11.8.6 (excl.)
  • affected from 12.0.0 to 12.2.2 (excl.)

Credits

  • Pavel Kohout (AISLE Research) finder

References

Problem Types

  • Stack-based Buffer Overflow CWE