cvelo
P2 · HighCVSS 7.5

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

  • CVE-2026-144663
  • GHSA-g6c2-9gq9-h4x4
  • EUVD-2026-143951

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.

Text from the CVE.org record.

Recommendation

  • MariaDB MariaDB Server

    • If you run a version from 12.0.0 to before 12.2.2update to 12.2.2 or laterMinor version change: check the release notes
    • If you run a version from 11.5.0 to before 11.8.6update to 11.8.6 or laterMinor version change: check the release notes
    • If you run a version from 11.0.0 to before 11.4.10update to 11.4.10 or laterMinor version change: check the release notes
    • If you run a version from 10.7.0 to before 10.11.16update to 10.11.16 or laterMinor version change: check the release notes
    • If you run a version before 10.6.25update to 10.6.25 or later

Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • MariaDB MariaDB Server

    Affected versionsFixed in
    from 12.0.0 to before 12.2.212.2.2
    from 11.5.0 to before 11.8.611.8.6
    from 11.0.0 to before 11.4.1011.4.10
    from 10.7.0 to before 10.11.1610.11.16
    before 10.6.2510.6.25

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.