MariaDB 12.1.1 → 12.3.3
6 releases · 5 breaking changes · 36 security fixes · 1 advisory fixed
36security5breaking3deprecated61feature6fix
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 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
fixIn --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