Databases

MariaDB CVE-2026-92262: Check If You Are Affected and Patch

Rocky Linux and AlmaLinux still had no fixed MariaDB build on 25 November 2026, one day after Red Hat shipped its errata for CVE-2026-92262. Every Rocky and Alma box we built on 9 and 10 installed 10.11.18, and dnf updateinfo returned nothing for the CVE. Debian 12, Debian 13 and Amazon Linux 2023 were patched cleanly, and on Debian 12 the restarted server reported an uptime of 8 seconds when we checked it.

Original content from computingforgeeks.com - post 195922

CVE-2026-92262 is the #mysql50# table-name bypass, scored 9.9 by the CNA and 8.8 Important by Red Hat, and it ships alongside CVE-2026-85746, a 9.9 out-of-bounds write in ST_AsText(). Both need nothing more than a database login. Below are the fixed packages per distro, the version check, the upgrade on each family, an interim path for Rocky and Alma, and a privilege stopgap for servers that cannot update yet. The patched Debian 12 server reported 10.11.19 (tested November 2026 on Debian 12, with Rocky Linux 10 and AlmaLinux 9 checked the same day).

Fixed MariaDB packages for CVE-2026-92262

Compare the distro package release, not just the upstream number. Upstream fixed both CVEs in 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3 and 13.0.2, according to the MariaDB GHSA-65jj-h265-3m7h advisory. Rows marked “Lab” were installed or queried on our machines on 25 November 2026; the rest come from the vendor trackers on the same day.

DistroPackage or streamFixed buildAdvisoryChecked
Debian 13 trixiemariadb-server1:11.8.9+ds-0+deb13u1Point release (no DSA)Lab
Debian 12 bookwormmariadb-server1:10.11.19-0+deb12u1DLA-4835-1Lab
RHEL 10mariadb-server (10.11)3:10.11.19-1.el10_3RHSA-2026:103237Advisory
RHEL 10mariadb11.8-serverNot yet released as of 2026-11-25 (listed as affected)None yetAdvisory
RHEL 9.9mariadb:11.8 module3:11.8.9-2.module+el9.9.0+25321+ead5f6b6RHSA-2026:102830Advisory
RHEL 9.9mariadb:10.11 moduleNot yet released as of 2026-11-25 (listed as affected)None yetAdvisory
RHEL 9.8 EUSmariadb:10.11 and mariadb:11.83:10.11.19-1.module+el9.8.0+25317+d875c4f2, 3:11.8.9-2.module+el9.8.0+25320+6ca107ebRHSA-2026:103194, RHSA-2026:102942Advisory
RHEL 9 and 8mariadb 10.5 base, mariadb:10.3 and 10.11 on 8Not yet released as of 2026-11-25 (listed as affected)None yetAdvisory
Rocky Linux 10mariadb-server, mariadb11.8-serverNot yet released as of 2026-11-25 (10.11.18 and 11.8.8 in AppStream)None yetLab
Rocky Linux 9mariadb:10.11 and 11.8 modulesNot yet released as of 2026-11-25 (10.11.18 installed, no advisory)None yetLab
AlmaLinux 10mariadb-server, mariadb11.8-serverNot yet released as of 2026-11-25 (10.11.18 installed, no advisory)None yetLab
AlmaLinux 9mariadb:10.11 and 11.8 modulesNot yet released as of 2026-11-25 (10.11.18 installed, no advisory)None yetLab
Amazon Linux 2023mariadb1011, mariadb114, mariadb118, mariadb12310.11.19-1, 11.4.13-1, 11.8.9-1, 12.3.3-2 (amzn2023.0.1 builds)ALAS2023-2026-3308 to 3311Lab (mariadb1011)
Amazon Linux 2023mariadb105No fix plannedNoneAdvisory
Amazon Linux 2mariadb (5.5 core); mariadb10.5 and lamp-mariadb10.2 extrasPending fix (core); no fix planned (extras)None yetAdvisory
Ubuntu 26.04, 24.04mariadbNot yet released as of 2026-11-25 (Needs evaluation)No USNTracker
Ubuntu 22.04mariadb-10.6Not yet released as of 2026-11-25 (Needs evaluation)No USNTracker

The gaps cluster on the Red Hat side. The Red Hat CVE-2026-92262 page links four errata published on 24 November, but the RHEL 9.9 mariadb:10.11 module stream and the RHEL 10 mariadb11.8 packages are still marked affected. Rocky and AlmaLinux rebuild from those sources, so expect their builds within days, not hours. Ubuntu had not evaluated the CVE on any supported release when we checked.

What the two flaws let a database user do

MariaDB stores a table such as a-b on disk under an encoded file name. The #mysql50# prefix exists so tables created by MySQL 5.0, before that encoding, stay reachable under their raw names. The MariaDB advisory says this bypass led to crashes, data corruption, data exfiltration and remote code execution, and its tracker entry MDEV-40362 shows rows written through a #mysql50# name surfacing in a different table. The fix closes the confusion between the two names.

The Red Hat statement is the useful one for scoping: any authenticated user with table-level access can trigger it, no admin rights required. That places the risk on shared servers, hosting panels, and any application account that can create tables, which covers most ORMs that run their own migrations. CVE-2026-85746 is narrower in effect but easier to reach, because it only needs a query that calls ST_AsText() on a crafted nested GeometryCollection, and MariaDB notes it becomes code execution when chained with another bug.

Neither CVE is in the CISA Known Exploited Vulnerabilities catalog (version 2026.11.24, 1,795 entries). The EPSS model from FIRST on 24 November 2026 scored CVE-2026-92262 at 0.01451, the 74th percentile, and CVE-2026-85746 at 0.00970, the 63rd. Those are low numbers. They do not change the order of work on a server where untrusted or semi-trusted accounts can log in, because the bar for an attacker there is a password they already have.

Step 1: Check the running MariaDB version

Check the server process, not only the package database, because a host that upgraded packages but never restarted still runs the old binary. These three commands cover the client, the live server and the package state on Debian and Ubuntu:

mariadb --version
sudo mariadb -e "SELECT VERSION();"
apt-cache policy mariadb-server

Our Debian 12 test box reported the vulnerable 10.11.18 build, with the fix already waiting as the candidate from bookworm-security:

VERSION()
10.11.18-MariaDB-0+deb12u1
mariadb-server:
  Installed: 1:10.11.18-0+deb12u1
  Candidate: 1:10.11.19-0+deb12u1
  Version table:
     1:10.11.19-0+deb12u1 500
        500 mirror+file:/etc/apt/mirrors/debian-security.list bookworm-security/main amd64 Packages
 *** 1:10.11.18-0+deb12u1 500
        500 mirror+file:/etc/apt/mirrors/debian.list bookworm/main amd64 Packages
        100 /var/lib/dpkg/status

The same check as it appeared in the terminal on bench-deb12:

MariaDB 10.11.18 version check on Debian 12 with apt-cache policy showing the 10.11.19 security candidate

On RHEL, Rocky, AlmaLinux and Amazon Linux, query the RPM and ask dnf whether any advisory names the CVE. An empty updateinfo result means your repositories carry no fix yet, which is a different answer from “not affected”.

rpm -qa 'mariadb*server*' 'MariaDB-server*'
sudo mariadb -e "SELECT VERSION();"
sudo dnf updateinfo list --cve CVE-2026-92262

Read the result against the fixed versions as a simple rule:

  • 10.6 series: 10.6.27 or older is affected; 10.6.28 is the last 10.6 release and carries the fix.
  • 10.11 and 11.4 series: below 10.11.19 or 11.4.13 is affected, unless an advisory from your distro names a backport.
  • 11.8, 12.3 and 13.0 series: below 11.8.9, 12.3.3 or 13.0.2 is affected.
  • 10.5 and older: outside the upstream affected range as listed, yet Red Hat and Amazon still mark their 10.5 and 5.5 packages affected or pending, so treat them as exposed.

Running this across a fleet is mostly grep, awk and a loop over ssh. If those are rusty, the Linux Commands Cheat Sheet covering files, grep, find and processes is a compact reference for the filters used above.

Step 2: Patch Debian 12 and Debian 13

On Debian 12 the fix comes from the security suite. Upgrade only the MariaDB packages if you do not want a full apt upgrade on a database host during business hours:

sudo apt-get update
sudo apt-get install --only-upgrade -y mariadb-server mariadb-client

apt pulled ten packages to the same release, including the compression plugin providers, so nothing was left on a mixed version:

The following packages will be upgraded:
  mariadb-client mariadb-client-core mariadb-common
  mariadb-plugin-provider-bzip2 mariadb-plugin-provider-lz4
  mariadb-plugin-provider-lzma mariadb-plugin-provider-lzo
  mariadb-plugin-provider-snappy mariadb-server mariadb-server-core
10 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Unpacking mariadb-server (1:10.11.19-0+deb12u1) over (1:10.11.18-0+deb12u1) ...
Setting up mariadb-server (1:10.11.19-0+deb12u1) ...

The Debian package restarts the service itself. Confirm the running server, its uptime and the package state:

sudo mariadb -e "SELECT VERSION(); SHOW GLOBAL STATUS LIKE 'Uptime';"
systemctl is-active mariadb
dpkg -l "mariadb-server*" | grep ^ii

An uptime of 8 seconds proves the new binary is the one answering, not a package sitting on disk behind an old process:

MariaDB 10.11.19 running on Debian 12 after the security upgrade, uptime 8 seconds

That restart drops every open connection, so on a primary with long transactions, schedule it the way you would any minor upgrade.

Debian 13 took a different route. The fixed 11.8.9 build landed in trixie/main through a point release rather than trixie-security, and a fresh install from the 13.7 image was already patched, and 13.8 carries the same build:

mariadb-server:
  Installed: 1:11.8.9+ds-0+deb13u1
  Candidate: 1:11.8.9+ds-0+deb13u1
  Version table:
 *** 1:11.8.9+ds-0+deb13u1 500
        500 mirror+file:/etc/apt/mirrors/debian.list trixie/main amd64 Packages
        100 /var/lib/dpkg/status
VERSION()
11.8.9-MariaDB-0+deb13u1 from Debian

An existing Debian 13 host that only installs from trixie-security, as some unattended-upgrades setups do, will not pick this build up on its own. Run the same --only-upgrade command after a normal apt-get update and check the server version again. Hosts installed with our MariaDB on Debian guide use the MariaDB repository instead, so they take the upstream 11.4.13 or later build.

Step 3: Patch RHEL 10 and RHEL 9

On a subscribed RHEL host, dnf can select the fix by CVE, which keeps the change to the MariaDB packages and anything they need:

sudo dnf updateinfo list --cve CVE-2026-92262
sudo dnf upgrade --cve CVE-2026-92262
sudo systemctl restart mariadb

The RPM scriptlet tries a restart on its own, but restart explicitly to be sure, then confirm with SELECT VERSION() and the Uptime status variable as in Step 2. Which stream you run decides whether the first command returns anything:

  • RHEL 10, mariadb-server: fixed in 10.11.19-1.el10_3 by RHSA-2026:103237.
  • RHEL 10, mariadb11.8-server: still affected; nothing to install yet.
  • RHEL 9.9, mariadb:11.8 module: fixed in 11.8.9-2 by RHSA-2026:102830.
  • RHEL 9.9, mariadb:10.11 module and the 10.5 base package: still affected; only 9.8 EUS has a 10.11 fix.

Switching a 9.9 host from the 10.11 stream to 11.8 to pick up the fix is a major version upgrade with its own mariadb-upgrade run, not a patch. Take a backup first, the kind our MariaDB point-in-time recovery guide builds, and test the application on 11.8 before doing it on a primary.

Step 4: Handle Rocky Linux and AlmaLinux before the rebuilds land

We installed the default MariaDB on Rocky Linux 9 and 10 and AlmaLinux 9 and 10, then asked each for the CVE. All four returned an empty advisory list. On Rocky 10 the full package list shows why:

sudo dnf -q list --showduplicates "mariadb*-server"

Only the vulnerable 10.11.18 and 11.8.8 builds exist in AppStream:

Rocky Linux 10 still offering MariaDB 10.11.18 and 11.8.8 with no advisory for CVE-2026-92262

AlmaLinux 9.9 told the same story on the module stream, with check-update exiting 0, which means no update of any kind for MariaDB:

AlmaLinux 9 mariadb 10.11 module stream at 10.11.18 with no pending update

You have two choices here. Wait for the RLSA or ALSA and apply Step 6 in the meantime, or switch the host to the MariaDB Foundation repository, which already carries 10.11.20 and 11.8.10 for EL9 and EL10. Switching works, but it replaces the distro packages with differently named ones, so treat it as a one-way door for that host. We ran the swap on AlmaLinux 10; on EL9 the same file applies, with the module stream overridden by the line explained below. Create the repository file for the 10.11 series:

sudo vi /etc/yum.repos.d/MariaDB.repo

Paste the definition we used. The module_hotfixes line lets it override the EL9 module stream; for 11.8 change both the name and the 10.11 in the URL:

[mariadb]
name = MariaDB 10.11
baseurl = https://rpm.mariadb.org/10.11/rhel/$releasever/$basearch
gpgkey = https://rpm.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck = 1
module_hotfixes = 1

Our first install attempt on AlmaLinux 10 failed. The upstream MariaDB-server package obsoletes mariadb-server, but the distro packages mariadb-gssapi-server and mariadb-client-utils pin the old version, so dnf refuses. Stop the service and allow dnf to remove those two. If any account authenticates with Kerberos through auth_gssapi, add MariaDB-gssapi-server to the install line so the plugin is back before the server starts:

sudo systemctl stop mariadb
sudo dnf -y install --allowerasing MariaDB-server MariaDB-client
sudo systemctl enable --now mariadb

The three-row test table we created beforehand survived, and the server came up on 10.11.20:

Switching AlmaLinux 10 to the MariaDB 10.11 repository with dnf allowerasing and the 10.11.20 result

dnf history info last showed what that swap costs: 14 packages in, the GSSAPI authentication plugin and client utilities out, and mariadb-connector-c replaced by MariaDB-shared. mariadb-upgrade reported nothing to do, since both builds are 10.11. Our MariaDB 12.3 on Rocky and AlmaLinux guide covers the same repository if you would rather move up a series at the same time.

Step 5: Patch Amazon Linux 2023

Amazon Linux 2023 ships MariaDB as versioned packages (mariadb1011, mariadb114, mariadb118, mariadb123), and each has its own ALAS released on 26 October 2026. We installed the vulnerable mariadb1011-server 10.11.18 build, listed the advisory and upgraded by CVE:

sudo dnf updateinfo list --cve CVE-2026-92262
sudo dnf upgrade -y --cve CVE-2026-92262
rpm -q mariadb1011-server

dnf picked the newer amzn2023.0.2 rebuild rather than the .0.1 the advisory names, and moved all nine mariadb1011 packages together:

Amazon Linux 2023 dnf upgrade by CVE moving mariadb1011-server from 10.11.18 to 10.11.19

Restart with sudo systemctl restart mariadb afterwards. ALAS2023-2026-3308 bundles 20 CVEs, among them CVE-2026-85746 and CVE-2026-102523, a related filename encoding bug in partition names. The mariadb105 package is marked “No Fix Planned” on the Amazon Linux CVE page, so a host still on it needs to move to mariadb1011 or newer. On Amazon Linux 2 the core mariadb package is “Pending Fix”.

Step 6: Restrict CREATE on servers that cannot update yet

The MariaDB advisory says there is no workaround, and the only mitigation Red Hat lists is the upgrade. What you can do on an unpatched Rocky, Alma, Ubuntu or RHEL 9.9 host is shrink who can feed a new table name to the server. Start by listing every account holding CREATE at global or database level. Save this as audit.sql; it does not show table-level grants or privileges held through roles, so follow up with SHOW GRANTS on any account you are unsure of:

SELECT GRANTEE, 'GLOBAL' AS LEVEL, '*' AS TABLE_SCHEMA FROM information_schema.USER_PRIVILEGES WHERE PRIVILEGE_TYPE='CREATE'
UNION ALL
SELECT GRANTEE, 'SCHEMA', TABLE_SCHEMA FROM information_schema.SCHEMA_PRIVILEGES WHERE PRIVILEGE_TYPE='CREATE';

Run it, and revoke CREATE from any application account that does not need to make tables in normal operation. Our test account shopapp had ALL PRIVILEGES on its database, the usual result of a quick install. Applications keep their old rights on pooled connections already sitting in the database, so recycle the pool or restart the app after the revoke:

sudo mariadb -t < audit.sql
sudo mariadb -e "REVOKE CREATE ON shopdb.* FROM 'shopapp'@'10.0.1.%';"
sudo mariadb -e "SHOW GRANTS FOR 'shopapp'@'10.0.1.%';"

To test the result from the server shell, we gave a 'shopapp'@'localhost' twin the same GRANT ALL and the same REVOKE CREATE, then logged in as it. It could no longer create a table or rename one, because RENAME TABLE and ALTER TABLE ... RENAME both need CREATE on the new name:

Auditing MariaDB CREATE privileges and the CREATE command denied error after REVOKE

Be clear about what this buys. It narrows the #mysql50# path for that account, and it does nothing for CVE-2026-85746, which a plain SELECT can reach. The revoke also left CREATE TEMPORARY TABLES, ALTER and DROP in place, and the same release fixed a partition-name variant reached through ALTER TABLE, so this is damage limitation, not a fix. Three controls round it out:

  • Migrations: run schema changes under a separate deploy account that holds CREATE and is used only during releases.
  • Network: bind MariaDB to a private address and allow port 3306 only from the application hosts, so stolen credentials alone are not enough.
  • Accounts: drop or lock logins nobody uses, especially '%' host accounts left from testing.

Write down each grant you change. Once the patched build is in, restore what the application genuinely needs, keeping the deploy account split if it worked. On a Galera cluster such as the one in our MariaDB Galera with HAProxy and Keepalived build, grants replicate, so one REVOKE covers every node.

Step 7: Confirm every node and watch the next 24 hours

Patching is done when the version the server reports, not the package manager, is at or above the fixed build on every node. Collect these from each host after the restart:

CheckCommandPass value
Server versionSELECT VERSION();10.11.19, 11.4.13, 11.8.9, 12.3.3, 13.0.2 or later in its series
Restarted since patchSHOW GLOBAL STATUS LIKE 'Uptime';Seconds since the upgrade, not days
Package state, Debiandpkg -l "mariadb-server*"Release in the table at the top
Package state, RPMdnf updateinfo list --cve CVE-2026-92262Empty, after the upgrade has installed the advisory
Interim grantssudo mariadb -t < audit.sqlOnly deploy and admin accounts hold CREATE

An empty updateinfo result appears twice in this guide with opposite meanings. Before an upgrade on Rocky or Alma, it meant no fix had been published; after the upgrade on Amazon Linux, it meant nothing was left to install. Pair it with the version check every time. For the next day, watch the error log for crash or assertion messages and replication lag on replicas restarted mid-stream, then repeat the Rocky and Alma check daily until the rebuild appears.

Keep reading

Java4Shell (CVE-2026-114938): Find and Patch Vulnerable JVMs Security Java4Shell (CVE-2026-114938): Find and Patch Vulnerable JVMs UFW Firewall Commands with Examples on Ubuntu 26.04 / 24.04 Security UFW Firewall Commands with Examples on Ubuntu 26.04 / 24.04 nginx HTTP/2 RCE CVE-2026-123007: Check, Disable HTTP/2, Patch Security nginx HTTP/2 RCE CVE-2026-123007: Check, Disable HTTP/2, Patch MariaDB 13.1 New Features Tested: DENY, JSON Arrows, utf8mb4 Databases MariaDB 13.1 New Features Tested: DENY, JSON Arrows, utf8mb4 agent-framework PyPI Malware: Check 1.26.1/1.26.2 and Rotate Keys AI agent-framework PyPI Malware: Check 1.26.1/1.26.2 and Rotate Keys Set Default Login Shell on SSSD for AD users using FreeIPA Security Set Default Login Shell on SSSD for AD users using FreeIPA

Leave a Comment

Press ESC to close