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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| MariaDB | MariaDB Server | < 10.6.25, 10.7.0 – < 10.11.16, 11.0.0 – < 11.4.10, 11.5.0 – < 11.8.6, 12.0.0 – < 12.2.2 | 10.6.25 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | mariadb | 1:11.8.6-1 | — |
| Debian 13 | mariadb | 1:11.8.6-0+deb13u1 | — |
| Debian 12 | mariadb | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Hardened Images 1 | mariadb10.11 +19 | 3:10.11.20-1.hum1 | RHSA-2026:101228 |
| Red Hat Hardened Images 1 | mariadb11.8 +20 | 3:11.8.10-1.hum1 | RHSA-2026:101236 |
Advisories 3
- RHSA-2026:101228 Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update Red Hat Security Advisories (RHSA) · Dec 5, 2026
- RHSA-2026:101236 Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update Red Hat Security Advisories (RHSA) · Dec 5, 2026
- WID-SEC-2026-5003 MariaDB: Mehrere Schwachstellen ermöglichen Denial of Service BSI CERT-Bund (WID) · Dec 3, 2026