MariaDB 12.1.1 → 12.3.4
7 releases · 7 breaking changes · 36 security fixes · 1 advisory fixed
36security7breaking3deprecated71feature34fix
Vulnerabilities fixed by this upgrade
- 6.5 CVE-2026-35549 An issue was discovered in MariaDB Server before 11.4.10, 11.5.x through 11.8.x before 11.8.6, and 12.x before 12.2.2. If the caching_sha2_password authentication plugin is installed, and some user…
Breaking changes
- breaking Installing on SLES 15SP7 has added an explicit dependency on liburing-2.8 due to an earlier of SLES that had an ABI incompatible liburing-2.2. The later version now matches the built package (MDEV-41870) in 12.3.4
- breaking Removed unnecessary steps in Windows service startup, that could cause service to start like a normal console program. Added even log messages to help analyze failed service startup (MDEV-41080) in 12.3.4
- breaking Remove deprecated wsrep_causal_reads as a configuration option from provided wsrep.cnf (MDEV-39691) in 12.3.3
- breaking Under --bootstrap mode, used in mariadb-install-db, an unwanted delay was removed and it now calls the plugin clean up functions (MDEV-39585) in 12.3.3
- breaking The Galera package dependency has been removed from server packages and the Galera package is no longer included in the MariaDB repositories (MDEV-38744) in 12.3.1
- breaking Remove depth limit of 32 from JSON functions (MDEV-32854) in 12.2.2
- breaking Remove depth limit of 32 from JSON functions (MDEV-32854) in 12.2.1
Security changes
- security Fix Static Application Security Testing(SAST) warnings in Connect storage engine (MDEV-40316) in 12.3.3
- security CVE-2026-107823 (CVSS base score (v3.1): 7.2) in 12.3.3
- security CVE-2026-107822 (CVSS base score (v3.1): 6.4) in 12.3.3
- security CVE-2026-107821 (CVSS base score (v3.1): 8.0) in 12.3.3
- security CVE-2026-107819 (CVSS base score (v3.1): 5.9) in 12.3.3
- security CVE-2026-107818 (CVSS base score (v3.1): 8.4) in 12.3.3
- security CVE-2026-107817 (CVSS base score (v3.1): 4.4) in 12.3.3
- security CVE-2026-107816 (CVSS base score (v3.1): 6.4) in 12.3.3
- security CVE-2026-107815 (CVSS base score (v3.1): 8.5) in 12.3.3
- security CVE-2026-107814 (CVSS base score (v3.1): 8.4) in 12.3.3
- security CVE-2026-102523 (CVSS base score (v3.1): 8.0) in 12.3.3
- security CVE-2026-97380 (CVSS base score (v3.1): 8.8) in 12.3.3
- security CVE-2026-92262 (CVSS base score (v3.1): 9.9) in 12.3.3
- security CVE-2026-86047 (CVSS base score (v3.1): 7.7) in 12.3.3
- security CVE-2026-85985 (CVSS base score (v3.1): 5.4) in 12.3.3
- security CVE-2026-85748 (CVSS base score (v3.1): 9.9) in 12.3.3
- security CVE-2026-85746 (CVSS base score (v3.1): 9.9) in 12.3.3
- security CVE-2026-85745 (CVSS base score (v3.1): 4.3) in 12.3.3
- security CVE-2026-61081 (CVSS base score (v3.1): 2.7) in 12.3.3
- security CVE-2026-60585 (CVSS base score (v3.1): 6.6) in 12.3.3
- security CVE-2026-60331 (CVSS base score (v3.1): 6.4) in 12.3.3
- security CVE-2026-60747 (CVSS base score (v3.1): 6.2) in 12.3.3
- security CVE-2026-47023 (CVSS base score (v3.1): 4.9) in 12.3.3
- security CVE-2026-60184 (CVSS base score (v3.1): 4.4) in 12.3.3
- security CVE-2026-47064 (CVSS base score (v3.1): 6.5) in 12.3.2
- security CVE-2026-44173 (CVSS base score (v3.1): 5.0) in 12.3.2
- security CVE-2026-44172 (CVSS base score (v3.1): 5.0) in 12.3.2
- security CVE-2026-44171 (CVSS base score (v3.1): 6.3) in 12.3.2
- security CVE-2026-44170 (CVSS base score (v3.1): 5.0) in 12.3.2
- security CVE-2026-44169 (CVSS base score (v3.1): 4.3) in 12.3.2
- security CVE-2026-44168 (CVSS base score (v3.1): 8.0) in 12.3.2
- security Fixes CVE-2026-35549: An issue was discovered in MariaDB Server before 11.4.10, 11.5.x through 11.8.x before 11.8.6, and 12.x before 12.2.2. If the caching_sha2_password authentication plugin is installed, and some user… in 12.2.2
- security Fixes for the following security vulnerabilities: in 12.2.2
- security CVE-2026-32710 in 12.2.2
- security Fixes for the following security vulnerabilities: in 12.1.2
- security CVE-2026-21968 in 12.1.2
Deprecations
- deprecated As per the MariaDB Deprecation Policy, this will be the last release of MariaDB 12.3 for Debian 11 "Bullseye" (i386, amd64 and arm64) in 12.3.3
- deprecated Use of the MYSQLD_OPTS as an environment variable for systemd services is deprecated and will be removed in a later release. Place configuration option in configuration files in 12.3.2
- deprecated As per the MariaDB Deprecation Policy, this will be the last release of MariaDB 12.3 for OpenSUSE Leap 15.6, Ubuntu 25.10 "Questing Quokka", Ubuntu 25.04 "Plucky Puffin", and Fedora 42 in 12.3.2
Every release in between
fixFixed memory leak message when using large pages (MDEV-38918)
fixFixed stale encryption metadata on compressed-only pages by clearing it, and fixed an assertion failure during extent reservation (MDEV-39795)
fixWhen executing crash recovery in multiple batches, InnoDB may fail to extend a file and crash on a subsequent write to it (MDEV-40756)
fixInnoDB could crash if the parameter innodb_buffer_pool_size_auto_min was set and it failed to shrink the buffer pool in response to a Linux memory pressure event (MDEV-40950)
fixFix LRU scan reset condition that lowered eviction probability under pressure. Port of percona/percona-server@dc344fba7e3d272ac18e8d6589b37c678f1e1ad5 by Paweł Olchawa (PS-11446) (MDEV-41201)
fixInnoDB acquires metadata locks for transactions recovered after a crash, so that DDL is blocked until no conflicting recovered transaction remains (MDEV-41207)
fixCrash recovery could overwrite a renamed old table with the contents of a newly created table using the old name (MDEV-41318)
fixInnoDB could fail to start up if crash recovery involves multiple RENAME operations (MDEV-41548)
fixFixed client error message sent when adding an undo log page fails due to file space running out (MDEV-41616)
fixFixed a crash when a statement was rolled back after a cascaded ON UPDATE/DELETE SET NULL. It happened when the foreign key column was the base of an indexed virtual column that shared an index with other virtual columns (MDEV-41666)
fixFixed a heap buffer overflow in InnoDB UPDATE on tables with several indexed virtual columns (MDEV-41667)
fixFixed a gap in InnoDB MVCC handling that caused the read view returning wrong data after DDL execution, instead of the ER_TABLE_DEF_CHANGED error, when table definition was reloaded (MDEV-41694)
fixCONNECT jfile_convert crashes on invalid file (MDEV-41613)
fixCONNECT: table option value used as printf format string, crash in ha_connect::GetRealString (MDEV-41946)
featureallow to use 'duckdb' literal as db/schema name (MDEV-40917)
fixMEMORY BTREE index: DELETE by key prefix skips a row after a previous lookup (regression from MDEV-40186) (MDEV-41738)
featureSHOW DATABASES allows users with only GRANT OPTION privilege to read all databases names (MDEV-40730)
featureMariaDB matches a client certificate against a REQUIRE ISSUER/REQUIRE SUBJECT value exactly, but SSL libraries render a / or + inside a certificate field differently: OpenSSL 3.0+ escapes it with a backslash, OpenSSL 1.1/WolfSSL don't. So a working grant could silently stop matching after an SSL…
fixmariadb-backup --backup crashes on database and table names that expand to nearly 255 bytes in the file system (MDEV-40862)
fixCrash recovery or applying a backup that involves InnoDB data file creation might fail in rare cases (MDEV-41152)
fixMemory corruption & crash in check_key_in_list upon using JSON_KEYS after modifying character set name/collation (MDEV-39049)
fixFixed an “Illegal mix of collations” error that could occur when comparing a user-variable assignment against a string (regression from 11.4) (MDEV-39530)
fixOOB write with RPAD() crash and multi-byte charsets and uservar (MDEV-41496)
fixAn ALTER TABLE on a system-versioned table that contains virtual columns and a fulltext index could crash (MDEV-40985)
fixAn ALTER TABLE involving a named FOREIGN KEY constraint invoked undefined behaviour, which caused a crash on OpenBSD (MDEV-41221)
featureCompressed column always gets default value added (MDEV-40417)
fixFixed bug where dropping a temporary table would occasionally cause the server to crash (MDEV-37521)
fixCrash using YEAR type as key value (MDEV-38801)
fixINSERT crashes on deeply nested GeometryCollection (MDEV-41622)
fixCrash on a FOR loop with a row comparison in the upper bound (MDEV-37563)
fixFixed JSON_TABLE so JSON numbers loaded into BIT columns keep their correct values (MDEV-39969)
fixA field of an assoc array element as OUT parameter crashes the server (MDEV-41530)
featureAllow ROW_NUMBER as unquoted column name (MDEV-41566)
featureFailed ADD PARTITION with a #mysql50# partition name removes the table (MDEV-41480)
featureChanging INTERVAL of SYSTEM_TIME partitioning does not move history to the new partitions (MDEV-41543)
breakingInstalling on SLES 15SP7 has added an explicit dependency on liburing-2.8 due to an earlier of SLES that had an ABI incompatible liburing-2.2. The later version now matches the built package (MDEV-41870)
breakingRemoved unnecessary steps in Windows service startup, that could cause service to start like a normal console program. Added even log messages to help analyze failed service startup (MDEV-41080)
featureRevert the default for @@slave_connections_needed_for_purge to 0 to match 10.11’s automatic binlog purge policy; instead, add a one-time warning about this automatic purge and the 0 default’s lack of retention when a slave connects but @@slave_connections_needed_for_purge is left at the default…
featureAdd Missing Binlog Log Event Validation (MDEV-41732)
featureAFTER UPDATE trigger reads wrong NEW value of BLOB/TEXT virtual column in system-versioned table (MDEV-41493)
+164 more items in the release notesfixIn --bootstrap mode, it was possible for a partially initialized InnoDB to be shutdown, and it was possible that this could crash the server (MDEV-39541)
fixFixed stale encryption metadata on compressed-only pages by clearing it, and fixed an assertion failure during extent reservation (MDEV-39795)
fixTruncate of temporary table with ENCRYPTED=NO crashes under innodb_encrypt_tables=FORCE (MDEV-40085)
fixFixed a rare InnoDB race during XA PREPARE where a concurrent buffer-pool resize could cause the wrong lock latch to be released, risking a hang or crash (MDEV-40218)
fixWhen executing crash recovery in multiple batches, InnoDB may fail to extend a file and crash on a subsequent write to it (MDEV-40756)
fixFixed an assertion failure with spatial index predicate locks (MDEV-39800)
featureA new innodb_index_shrink system variable allows disabling InnoDB's ability to shrink a B-tree, by merging or reorganizing pages, on record-growing UPDATEs, such as NULL to not-NULL. The default ON matches the previous behavior. Setting it to OFF favors page splits in those cases, reducing index…
securityFix Static Application Security Testing(SAST) warnings in Connect storage engine (MDEV-40316)
featureSHOW TABLES allows users with only GRANT OPTION privilege to read all table names in the database "mysql" (MDEV-37951)
featureA 0xHHHH / b'..' literal kept its hex_hybrid type through COALESCE/IF/CASE/..., but was evaluated, sized and stored as a string, so it behaved differently from a bare literal (10+COALESCE(0x31) gave 11, not 59); type_handler_hex_hybrid now implements the numeric side to match the bare literal:…
featureEight new options are added, read from the [sst] (or [mysqld]) option group. Each one overrides the corresponding generic ssl-* option for its role when set; when it is not set, the generic ssl-* option is used, so existing configurations behave exactly as before.
featureThese are SST options read by the wsrep\sst\* scripts, not server system variables. When none of the new options are set, SST behavior is identical to previous releases; the change is fully backward compatible.
breakingRemove deprecated wsrep_causal_reads as a configuration option from provided wsrep.cnf (MDEV-39691)
featureJSON functions added in 11.4 are now interruptible with a KILL QUERY, or exceeding the max_statement_time, including JSON_ARRAY_INTERSECT, JSON_OBJECT_TO_ARRAY, JSON_SCHEMA_VALID; the JSON_KEY_VALUE function as a quick function added isn't applicable; all the functions now produce warnings on…
featureIt was possible for a user with FILE privileges and a secure_file_priv system variable configuration that can write to /run/mysqld (enabled by default), to create the environment file /run/mysqld/wsrep-new-cluster that the mariadb service will use on the next restart. (MDEV-40629)
breakingUnder --bootstrap mode, used in mariadb-install-db, an unwanted delay was removed and it now calls the plugin clean up functions (MDEV-39585)
deprecatedAs per the MariaDB Deprecation Policy, this will be the last release of MariaDB 12.3 for Debian 11 "Bullseye" (i386, amd64 and arm64)
securityCVE-2026-107823 (CVSS base score (v3.1): 7.2)
securityCVE-2026-107822 (CVSS base score (v3.1): 6.4)
securityCVE-2026-107821 (CVSS base score (v3.1): 8.0)
securityCVE-2026-107819 (CVSS base score (v3.1): 5.9)
securityCVE-2026-107818 (CVSS base score (v3.1): 8.4)
securityCVE-2026-107817 (CVSS base score (v3.1): 4.4)
securityCVE-2026-107816 (CVSS base score (v3.1): 6.4)
securityCVE-2026-107815 (CVSS base score (v3.1): 8.5)
securityCVE-2026-107814 (CVSS base score (v3.1): 8.4)
securityCVE-2026-102523 (CVSS base score (v3.1): 8.0)
securityCVE-2026-97380 (CVSS base score (v3.1): 8.8)
securityCVE-2026-92262 (CVSS base score (v3.1): 9.9)
securityCVE-2026-86047 (CVSS base score (v3.1): 7.7)
securityCVE-2026-85985 (CVSS base score (v3.1): 5.4)
securityCVE-2026-85748 (CVSS base score (v3.1): 9.9)
securityCVE-2026-85746 (CVSS base score (v3.1): 9.9)
securityCVE-2026-85745 (CVSS base score (v3.1): 4.3)
securityCVE-2026-61081 (CVSS base score (v3.1): 2.7)
securityCVE-2026-60585 (CVSS base score (v3.1): 6.6)
securityCVE-2026-60331 (CVSS base score (v3.1): 6.4)
securityCVE-2026-60747 (CVSS base score (v3.1): 6.2)
securityCVE-2026-47023 (CVSS base score (v3.1): 4.9)
securityCVE-2026-60184 (CVSS base score (v3.1): 4.4)
+200 more items in the release notesfeatureOracle TO_DATE() function (MDEV-19683)
featureSupport for cursors on prepared statements (MDEV-33830)
featureSQL Standard SET PATH statement (MDEV-34391)
featureSQL Standard IS JSON predicate (MDEV-37072)
featureAllow UPDATE/DELETE to read from a CTE (MDEV-37220)
featureBasic XML data type (MDEV-37261)
featureConfigurable defaults for MASTER_SSL_* settings for CHANGE MASTER (MDEV-28302)
featureFragment ROW replication events larger than max_packet_size (MDEV-32570)
featureImproving performance of binary logging by removing the need of syncing it (MDEV-34705)
featureHashicorp Plugin: Implement cache flush for forced key rotation (MDEV-30847)
featureNew hash algorithms for PARTITION BY KEY (MDEV-9826)
otherOptimize reorderable LEFT JOINs statements (MDEV-36055)
otherOptimize ordered scans over PARTITION BY RANGE (MDEV-37330)
featureA new mariadb-server-galera package now exists for Deb and RPM packages for ease of installing a galera system and pulling in its dependencies. Without galera, mariadb-server can be used
otherThose on Galera systems will need to install mariadb-server-galera explicitly as an upgrade from previous versions will result in galera dependencies being installed but not updated having a package dependency of MariaDB requiring them. Also the systemd service definitions will not be…
otherRPMs currently require explicit installation of galera-4 along with the any dependencies used for SST, such as rsync, socat, lsof, grep, gawk, iproute, coreutils, findutils, and/or tar
otherThe wsrep_info plugin is installed by default with the mariadb-server-galera package
otherOn an error in CREATE TEMPORARY TABLE ... SELECT, InnoDB internally aborted a transaction, while the server thought the transaction still existed. This caused various inconsistencies in the binary log, disappearing savepoints, and more. The issue was fixed differently in different versions. In…
otherAudit log plugin will now log events for MariaDB Cluster (Galera) replication applier operations with a generic user name: . Before this change the user name in audit logs has been empty (MDEV-35511)
deprecatedUse of the MYSQLD_OPTS as an environment variable for systemd services is deprecated and will be removed in a later release. Place configuration option in configuration files
deprecatedAs per the MariaDB Deprecation Policy, this will be the last release of MariaDB 12.3 for OpenSUSE Leap 15.6, Ubuntu 25.10 "Questing Quokka", Ubuntu 25.04 "Plucky Puffin", and Fedora 42
securityCVE-2026-47064 (CVSS base score (v3.1): 6.5)
securityCVE-2026-44173 (CVSS base score (v3.1): 5.0)
securityCVE-2026-44172 (CVSS base score (v3.1): 5.0)
securityCVE-2026-44171 (CVSS base score (v3.1): 6.3)
securityCVE-2026-44170 (CVSS base score (v3.1): 5.0)
securityCVE-2026-44169 (CVSS base score (v3.1): 4.3)
securityCVE-2026-44168 (CVSS base score (v3.1): 8.0)
featureOracle TO_DATE() function (MDEV-19683)
featureSupport for cursors on prepared statements (MDEV-33830)
featureSQL Standard SET PATH statement (MDEV-34391)
featureSQL Standard IS JSON predicate (MDEV-37072)
featureAllow UPDATE/DELETE to read from a CTE (MDEV-37220)
featureBasic XML data type (MDEV-37261)
featureConfigurable defaults for MASTER_SSL_* settings for CHANGE MASTER (MDEV-28302)
featureFragment ROW replication events larger than max_packet_size (MDEV-32570)
featureImproving performance of binary logging by removing the need of syncing it (MDEV-34705)
featureHashicorp Plugin: Implement cache flush for forced key rotation (MDEV-30847)
featureNew hash algorithms for PARTITION BY KEY (MDEV-9826)
otherOptimize reorderable LEFT JOIN statements (MDEV-36055)
otherOptimize ordered scans over PARTITION BY RANGE (MDEV-37330)
breakingThe Galera package dependency has been removed from server packages and the Galera package is no longer included in the MariaDB repositories (MDEV-38744)
otherOn an error in CREATE TEMPORARY TABLE ... SELECT, InnoDB internally aborted a transaction, while the server thought the transaction still existed. This caused various inconsistencies in the binary log, disappearing savepoints, and more. The issue was fixed differently in different versions. In…
otherAudit log plugin will now log events for MariaDB Cluster (Galera) replication applier operations with a generic user name: . Before this change the user name in audit logs has been empty (MDEV-35511)
securityFixes CVE-2026-35549: An issue was discovered in MariaDB Server before 11.4.10, 11.5.x through 11.8.x before 11.8.6, and 12.x before 12.2.2. If the caching_sha2_password authentication plugin is installed, and some user…
featureImplement Oracle TO_NUMBER function (MDEV-20022)
featureImplement Oracle TRUNC function (MDEV-20023)
featureJoin optimizer is now able to infer that derived table with GROUP BY clause has distinct GROUP BY columns (MDEV-36321)
featureOptimizer hint: [NO_]ROWID_FILTER (MDEV-36089)
featureOptimizer hint: [NO_]INDEX_MERGE (MDEV-36125)
featureOptimizer hints: Implicit query block names (MDEV-37511)
breakingRemove depth limit of 32 from JSON functions (MDEV-32854)
featureAdd INFORMATION_SCHEMA.TRIGGERED_UPDATE_COLUMNS (MDEV-36996)
featureImplement INFORMATION_SCHEMA.PARAMETERS.PARAMETER_DEFAULT column (MDEV-37054)
otherOn an error in CREATE TEMPORARY TABLE ... SELECT, InnoDB internally aborted a transaction, while the server thought the transaction still existed. This caused various inconsistencies in the binary log, disappearing savepoints, and more. The issue was fixed differently in different versions. In…
otherAudit log plugin will now log events for MariaDB Cluster (Galera) replication applier operations with a generic user name: . Before this change the user name in audit logs has been empty (MDEV-35511)
securityFixes for the following security vulnerabilities:
securityCVE-2026-32710
featureOptimizer hint: [NO_]ROWID_FILTER (MDEV-36089)
featureOptimizer hint: [NO_]INDEX_MERGE (MDEV-36125)
featureOptimizer hints: Implicit query block names (MDEV-37511)
featureImplement Oracle TO_NUMBER function (MDEV-20022)
featureImplement Oracle TRUNC function (MDEV-20023)
breakingRemove depth limit of 32 from JSON functions (MDEV-32854)
otherIndexes on derived tables with GROUP BY produce wrong out_rows estimates (MDEV-36321)
featureAdd INFORMATION_SCHEMA.TRIGGERED_UPDATE_COLUMNS (MDEV-36996)
featureImplement INFORMATION_SCHEMA.PARAMETERS.PARAMETER_DEFAULT column (MDEV-37054)
featureSegmented key cache for Aria storage engine (MDEV-24)
featureThe new aria_pagecache_segments system variable defines how many segments are used, default is 1, maximum 128
featureMDL scalability improvements (MDEV-19749)
featureAsynchronous replication between two Galera Clusters can now use parallel replication
featureThis is managed by the new wsrep_applier_retry_count system variable (MDEV-20065)
featureThe audit plugin now supports buffered logging
featureThe size of the buffer is defined using the new system variable server_audit_file_buffer_size (MDEV-34680)
featureFaster vector distance calculations via extrapolation (MDEV-36205)
featureNew authentication plugin caching_sha2_password for MySQL compatibility (MDEV-9804)
feature( + ) for outer join syntax in Oracle mode (MDEV-13817)
featureAssociative arrays: DECLARE TYPE .. TABLE OF .. INDEX BY (MDEV-34319) (blog post)
featureDROP USER will now by default issue a warning if the user has active sessions, or fail in Oracle mode (MDEV-35617)
featureOptimizer hints: [NO\]JOIN_INDEX, [NO\]GROUP\INDEX, [NO\]ORDER\INDEX, [NO\]INDEX (MDEV-35856)
featureOptimizer hints: [NO_]SPLIT_MATERIALIZED (MDEV-36092)
featureOptimizer hints: [NO\]DERIVED_CONDITION_PUSHDOWN, [NO\]MERGE (MDEV-36106)
otherRetry applying of write sets on Galera nodes (MDEV-36077)
otherControlled through the wsrep_applier_retry_count system variable
othermariadb-dump now supports wildcards with the -L or --wildcards option (MDEV-21376)
otherForeign key constraint names no longer need to be unique per database, only per table (MDEV-28933) (blog post)
featureSupport for functional indexes in GROUP/ORDER BY (MDEV-36132)
otherInclude definitions of tables and views in the optimizer trace (MDEV-36483)
otheroptimizer_record_context system variable.
securityFixes for the following security vulnerabilities:
securityCVE-2026-21968