REDHAT-BUG-2590560: Buffer Overflow

Published Dec 4, 2026
·
Updated

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 wsrepstorekeyvalforrow() in storage/innobase/handler/hainnodb.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 hainnobase::wsrepappendkeys(). 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 Software

1 affected component
MariaDB MariaDB Server<10.6.25, >=10.7<10.11.16, >=11.0<11.4.10, >=11.5<11.8.6, >=12.0<12.2.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 10.6.25
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 10.11.16
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 11.4.10
  4. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 11.8.6
  5. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 12.2.2

Event History

Dec 4, 2026
Data Sourced
via Red Hat·01:32 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Exposure requires a MariaDB Galera cluster node using WSREP protocol version 2 or later. The affected operation must involve an InnoDB table and a key that Galera serializes, including a primary, unique, or foreign key, or any key on a table without a primary key.

2

What access does an attacker need?

An attacker must be authenticated and able to insert or update rows in a relevant InnoDB table. Exploitation also requires supplying a long BLOB, TEXT, or GEOMETRY key prefix in a serialized key.

3

What is the likely impact of successful exploitation?

The flaw can allow an authenticated user to write approximately 3 KB of controlled data past a stack buffer. This can crash the MariaDB server or corrupt stack memory.

4

Which MariaDB versions need to be updated?

Update to 10.6.25, 10.11.16, 11.4.10, 11.8.6, or 12.2.2 or later, as applicable to the deployed release line. Versions in the affected ranges before those releases are vulnerable.

5

How can I identify systems that warrant priority review?

Prioritize Galera nodes running an affected MariaDB version with WSREP protocol version 2 or later. Review InnoDB tables that permit untrusted inserts or updates and have BLOB, TEXT, or GEOMETRY prefixes in primary, unique, foreign, or other serialized keys.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203