MariaDB 12.3.4 → 13.1.1
3 releases · 0 breaking changes · 8 security fixes · 0 advisories fixed
8security0breaking1deprecated57feature0fix
Breaking changes
None in the release notes.
Security changes
- security Fixes CVE-2026-107815: MariaDB server is a community developed fork of MySQL server. From 10.6.1 until 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, and 13.0.2, the CONNECT engine's DOS table type used an incorrect boundar… in 13.0.2
- security Fixes CVE-2026-107818: MariaDB server is a community developed fork of MySQL server. From 10.6.1 until 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, and 13.0.2, the mariadb.service unit used /run/mysqld/wsrep-new-cluster d… in 13.0.2
- security Fixes CVE-2026-107814: MariaDB server is a community developed fork of MySQL server. From 10.6.1 until 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, and 13.0.2, MariaDB RPM packages created the dedicated mysql service acco… in 13.0.2
- security Fixes CVE-2026-107821: MariaDB server is a community developed fork of MySQL server. From 10.6.1 until 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, and 13.0.2, MariaDB insufficiently validated counts, offsets, lengths, an… in 13.0.2
- security Fixes CVE-2026-107823: MariaDB server is a community developed fork of MySQL server. From 10.6.1 until 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, and 13.0.2, the MariaDB view FRM parser did not safely encode embedded ne… in 13.0.2
- security Fixes CVE-2026-107822: MariaDB server is a community developed fork of MySQL server. From 10.6.1 until 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, and 13.0.2, MariaDB's ACL cache could generate the same database-privileg… in 13.0.2
- security Fixes CVE-2026-107816: MariaDB server is a community developed fork of MySQL server. From 10.6.1 until 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, and 13.0.2, the qc_info plugin could be confused by a query containing em… in 13.0.2
- security Fixes CVE-2026-107817: MariaDB server is a community developed fork of MySQL server. From 10.6.1 until 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, and 13.0.2, the mysql_json plugin assumed that imported MySQL tables cont… in 13.0.2
Deprecations
- deprecated As per the MariaDB Deprecation Policy, this will be the last release of MariaDB 13.0 for OpenSUSE Leap 15.6, Ubuntu 25.10 "Questing Quokka", Ubuntu 25.04 "Plucky Puffin", and Fedora 42 in 13.0.1
Every release in between
featureSupport for JSON operators column->path and column->>path (MDEV-13594)
featureDENY clause for access control a.k.a. "negative grants" (MDEV-14443)
featureAuto-adding new partitions for PARTITION BY RANGE (MDEV-15621)
featureImprove error reporting of mysqlbinlog when used with --flashback (MDEV-20749)
featureLocking full table scan fails to use table-level locking (MDEV-24813)
featureAdd formatted column support to JSON_TABLE (MDEV-25727)
featureIgnored domain ids skip validation when connecting to a master (MDEV-28213)
featureThe default utf8 character set is now utf8mb4 (MDEV-30041)
featureNew statement CREATE TRIGGER FOR { STARTUP | SHUTDOWN } (MDEV-30645)
featureOptional lengths for string types: VARCHAR[(N)] (MDEV-31414)
featuremariadbd --validate-config to check the configuration for validity without starting the server (MDEV-31527)
featuremariadb-dump no longer includes generated column values in a dump (MDEV-32362)
featureNEW and OLD in a trigger can be used as row variables (MDEV-34723)
featureINFORMATION_SCHEMA.VECTOR_INDEXES provides information about vector indexes (MDEV-34805)
featureparsec_iterations session variables allows to set the number of PBKDF2 rounds for PARSEC plugin (MDEV-35254)
featureADAPTIVE_HASH_INDEX = { YES | NO | DEFAULT } can specify per InnoDB table whether to use AHI (MDEV-37070)
featureXMLISVALID() schema validation function (MDEV-37262)
featureAND/OR can now short-circuit the execution for any argument not in a strictly left-to-right fashion (MDEV-37713, MDEV-37714)
featureXXH3 and XXH32 hash functions (MDEV-38180)
featureAdaptive hash index statistics is shown in ANALYZE FORMAT=JSON (MDEV-38305)
featureOptimizer Context Recorder to record the optimizer data and then analyze query optimization on another server instance (MDEV-38701)
featureinnodb_tablespace_size_warning_threshold and innodb_tablespace_size_warning_pct variables to get a warning when InnoDB tablespace is getting close to full (before it's 100% full and the service is disrupted) (MDEV-38936)
featureMEMORY tables support variable-length data types, VARCHAR and TEXT/BLOB (MDEV-38975)
featureLocal routine variables usable in PREPARE/EXECUTE/DEALLOCATE and OPEN ... FOR (MDEV-39022)
featurePackage-wide TYPE declarations (MDEV-39587)
featureCHECK TABLE supports MEMORY tables (MDEV-40030)
featureslave_skip_errors variable can be modified without server restart (MDEV-7394)
securityFixes CVE-2026-107815: MariaDB server is a community developed fork of MySQL server. From 10.6.1 until 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, and 13.0.2, the CONNECT engine's DOS table type used an incorrect boundar…
securityFixes CVE-2026-107818: MariaDB server is a community developed fork of MySQL server. From 10.6.1 until 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, and 13.0.2, the mariadb.service unit used /run/mysqld/wsrep-new-cluster d…
securityFixes CVE-2026-107814: MariaDB server is a community developed fork of MySQL server. From 10.6.1 until 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, and 13.0.2, MariaDB RPM packages created the dedicated mysql service acco…
securityFixes CVE-2026-107821: MariaDB server is a community developed fork of MySQL server. From 10.6.1 until 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, and 13.0.2, MariaDB insufficiently validated counts, offsets, lengths, an…
securityFixes CVE-2026-107823: MariaDB server is a community developed fork of MySQL server. From 10.6.1 until 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, and 13.0.2, the MariaDB view FRM parser did not safely encode embedded ne…
securityFixes CVE-2026-107822: MariaDB server is a community developed fork of MySQL server. From 10.6.1 until 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, and 13.0.2, MariaDB's ACL cache could generate the same database-privileg…
securityFixes CVE-2026-107816: MariaDB server is a community developed fork of MySQL server. From 10.6.1 until 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, and 13.0.2, the qc_info plugin could be confused by a query containing em…
securityFixes CVE-2026-107817: MariaDB server is a community developed fork of MySQL server. From 10.6.1 until 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, and 13.0.2, the mysql_json plugin assumed that imported MySQL tables cont…
featureAdd support for TYPE .. IS REF CURSOR (MDEV-10152)
featureIn 13.0, REF CURSOR can be declared inside package routines and in a PACKAGE BODY, and used as a package routine local variable, package routine parameter, or package function RETURN type. It cannot yet be used as a parameter or RETURN type for global (non-package) routines.
featureSupport RECORD in routine parameters and function RETURN clause (MDEV-38768)
featureSame scope as REF CURSOR above: usable as a package routine parameter or package function RETURN type, not yet as a parameter or RETURN type for global (non-package) routines.
featureAdd init_rpl_role to SHOW VARIABLES output (MDEV-38202)
featureThe replication role set via the --init-rpl-role startup option can now be queried with SHOW VARIABLES LIKE 'init_rpl_role' or SELECT @@init_rpl_role, instead of only being visible in the server's configuration file.
featureOne can specify timestamp format for the audit plugin log (MDEV-18386)
featureAtomic CREATE OR REPLACE TABLE (MDEV-25292)
featureImplement UPDATE ... RETURNING for single-table updates (MDEV-5092)
featureCombined with OLD_VALUE(), an application can read back both the pre- and post-update values of changed columns in one round trip, without a separate SELECT. Only single-table UPDATE supports RETURNING; multi-table UPDATE does not yet.
featureINFORMATION_SCHEMA.SYSTEM_VARIABLES shows if a variable is deprecated (MDEV-35369)
featureAdds IS_DEPRECATED and DEPRECATED_REPLACEMENT columns, so tooling can query deprecation status directly instead of relying on release notes.
featureINFORMATION_SCHEMA.STATISTICS and INFORMATION_SCHEMA.COLUMNS shows engine specific create options (MDEV-36444)
featureOptimizer Trace includes used optimizer statistics (MDEV-36511)
featureNew innodb_log_archive variable makes InnoDB preserve the write-ahead log in a continuous sequence of files instead of overwriting a ring buffer, enabling point-in-time recovery and incremental backups (MDEV-37949)
featuremariadb-backup does not yet support the innodb_log_archive=ON log format, and fails if run against a server running with it enabled. See InnoDB Log Archiving and Point-in-Time Recovery for the manual procedure in the meantime.
featureNew QB_NAME() optimizer hint (MDEV-38045)
featureEvery view, CTE, and derived table now automatically gets an implicit query block name based on its own alias, so hints can target objects inside them without adding an explicit QB_NAME() hint first.
featureA new locator form of QB_NAME(), QB_NAME(name, query_block_path), lets a hint specify a path to a query block nested inside a view, CTE, or derived table that isn't reachable by its implicit or explicit name alone.
featureReversed executable comments (MDEV-7381)
otherCHANGE MASTER now resets Master_Server_Id in SHOW SLAVES STATUS (MDEV-15327)
otherFaster unique indexes over CHAR columns in MEMORY tables (incl. temporary tables) (MDEV-21543)
otherPERFORMANCE_SCHEMA now uses XXH3_128 hash for digest. Looks like MD5, but much faster and no problems in FIPS mode. (MDEV-31669)
otherbinlog_row_event_max_size default value was increased to 64k (MDEV-37608)
otherdefault_master_connection can now be set on global level (MDEV-9247)
featureAdd support for TYPE .. IS REF CURSOR (MDEV-10152)
featureOne can specify timestamp format for the audit plugin log (MDEV-18386)
featureAtomic CREATE OR REPLACE TABLE (MDEV-25292)
featureINFORMATION_SCHEMA.SYSTEM_VARIABLES shows if a variable is deprecated (MDEV-35369)
featureINFORMATION_SCHEMA.STATISTICS and INFORMATION_SCHEMA.COLUMNS shows engine specific create options (MDEV-36444)
featureOptimizer Trace includes used optimizer statistics (MDEV-36511)
featureNew innodb_log_archive variable makes InnoDB preserve the write-ahead log in a continuous sequence of files instead of overwriting a ring buffer, enabling point-in-time recovery and incremental backups (MDEV-37949)
featureNew QB_NAME() optimizer hint (MDEV-38045)
featureSupport RECORD in routine parameters and function RETURN clause (MDEV-38768)
featureReversed executable comments (MDEV-7381)
otherCHANGE MASTER now resets Master_Server_Id in SHOW SLAVES STATUS (MDEV-15327)
otherFaster unique indexes over CHAR columns in MEMORY tables (incl. temporary tables) (MDEV-21543)
otherPERFORMANCE_SCHEMA now uses XXH3_128 hash for digest. Looks like MD5, but much faster and no problems in FIPS mode. (MDEV-31669)
otherbinlog_row_event_max_size default value was increased to 64k (MDEV-37608)
otherdefault_master_connection can now be set on global level (MDEV-9247)
deprecatedAs per the MariaDB Deprecation Policy, this will be the last release of MariaDB 13.0 for OpenSUSE Leap 15.6, Ubuntu 25.10 "Questing Quokka", Ubuntu 25.04 "Plucky Puffin", and Fedora 42