CVE-2026-144663

Discovered by AISLEPUBLISHEDCWE-121

Description

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.

CVSS Base Scores

CVSS v4.07.7

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 v3.1
7.5

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

Affected Products

VendorProductVersionStatus
MariaDBMariaDB Server0affected
MariaDBMariaDB Server10.7.0affected
MariaDBMariaDB Server11.0.0affected
MariaDBMariaDB Server11.5.0affected
MariaDBMariaDB Server12.0.0affected

Credits

  • Stanislav Fort (AISLE Research)(finder)

References