Description
get_sort_by_table in MariaDB before 10.6.2 allows an application crash via certain subquery uses of ORDER BY.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 11 | mariadb-10.5 | 1:10.5.11-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | mariadb-10.3 | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8 | Judy | 1.0.5-18.module+el8.4.0+9031+9abc7af9 | RHSA-2022:1557, RHSA-2022:1556 |
| RHEL 8 | galera | 25.3.34-4.module+el8.5.0+14124+14ced695 | RHSA-2022:1557, RHSA-2022:1556 |
| RHEL 8 | mariadb +12 | 3:10.3.32-2.module+el8.5.0+14124+14ced695 | RHSA-2022:1557, RHSA-2022:1556 |
| RHEL 8 | mariadb-pam | 3:10.5.13-1.module+el8.5.0+14125+d11efe18 | RHSA-2022:1557 |
| RHEL 3 | rh-mariadb103-galera | 25.3.34-4.el7 | RHSA-2022:1010 |
| RHEL 3 | rh-mariadb103-mariadb +18 | 3:10.3.32-2.el7 | RHSA-2022:1010 |
| RHEL 3 | rh-mariadb105-galera | 26.4.9-3.el7 | RHSA-2022:1007 |
| RHEL 3 | rh-mariadb105-mariadb +20 | 3:10.5.13-1.el7 | RHSA-2022:1007 |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8.4 TUS | Judy | 1.0.5-18.module+el8.4.0+9031+9abc7af9 | RHSA-2023:6821 |
| RHEL 8.4 TUS | galera | 26.4.14-1.module+el8.4.0+20291+fd32d29c | RHSA-2023:6821 |
| RHEL 8.4 TUS | mariadb +13 | 3:10.5.22-1.module+el8.4.0+20291+fd32d29c | RHSA-2023:6821 |
| RHEL 8.4 EUS | Judy | 1.0.5-18.module+el8+2765+cfa4f87b | RHSA-2022:4818 |
| RHEL 8.4 EUS | galera | 25.3.34-4.module+el8.4.0+15058+0c3d11c7 | RHSA-2022:4818 |
| RHEL 8.4 EUS | mariadb +12 | 3:10.3.32-2.module+el8.4.0+15058+0c3d11c7 | RHSA-2022:4818 |
| RHEL 8.4 E4S | Judy | 1.0.5-18.module+el8.4.0+9031+9abc7af9 | RHSA-2023:6821 |
| RHEL 8.4 E4S | galera | 26.4.14-1.module+el8.4.0+20291+fd32d29c | RHSA-2023:6821 |
| RHEL 8.4 E4S | mariadb +13 | 3:10.5.22-1.module+el8.4.0+20291+fd32d29c | RHSA-2023:6821 |
| RHEL 8.4 AUS | Judy | 1.0.5-18.module+el8.4.0+9031+9abc7af9 | RHSA-2023:6821 |
| RHEL 8.4 AUS | galera | 26.4.14-1.module+el8.4.0+20291+fd32d29c | RHSA-2023:6821 |
| RHEL 8.4 AUS | mariadb +13 | 3:10.5.22-1.module+el8.4.0+20291+fd32d29c | RHSA-2023:6821 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 8 | Judy | 1.0.5-18.module_el8.5.0+2632+14ced695 | ALSA-2022:1557, ALSA-2022:1556 |
| AlmaLinux 8 | galera | 25.3.34-4.module_el8.5.0+2632+14ced695 | ALSA-2022:1557, ALSA-2022:1556 |
| AlmaLinux 8 | mariadb +12 | 3:10.3.32-2.module_el8.5.0+2632+14ced695 | ALSA-2022:1557, ALSA-2022:1556 |
| AlmaLinux 8 | mariadb-pam | 3:10.5.13-1.module_el8.5.0+2637+d11efe18 | ALSA-2022:1557 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 8 | Judy | 1.0.5-18.module+el8.4.0+427+adf35707 | RLSA-2022:1557, RLSA-2022:1556 |
| Rocky Linux 8 | galera | 25.3.34-4.module+el8.5.0+777+18007c86 | RLSA-2022:1557, RLSA-2022:1556 |
| Rocky Linux 8 | mariadb | 3:10.3.32-2.module+el8.5.0+777+18007c86 | RLSA-2022:1557, RLSA-2022:1556 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP4 | mariadb | 10.6.8-150400.3.7.1 | SUSE-SU-2022:2561-1 |
| SLES 15 SP3 | mariadb | 10.5.15-150300.3.15.1 | SUSE-SU-2022:0731-1 |
| SLES 15 SP2 | mariadb | 10.4.24-3.25.1 | SUSE-SU-2022:0726-1 |
| SLES 15 SP1 | mariadb | 10.2.43-3.51.1 | SUSE-SU-2022:0725-1 |
| SLES 15 SP1 | mariadb104 | 10.4.30-150100.3.5.10 | SUSE-RU-2023:3956-1 |
| SLES 15 SP1 | python-mysqlclient | 1.4.6-150100.3.3.7 | SUSE-RU-2023:3956-1 |
| SLES 15 | mariadb | 10.2.43-3.51.1 | SUSE-SU-2022:0725-1 |
Show 18 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP5 | lz4 | 1.8.0-3.5.2 | SUSE-RU-2023:4991-1 |
| SLES 12 SP5 | mariadb | 10.2.43-3.47.1 | SUSE-SU-2022:0782-1 |
| SLES 12 SP5 | mariadb-connector-c | 3.1.22-2.35.1 | SUSE-RU-2023:4991-1 |
| SLES 12 SP5 | mariadb104 | 10.4.30-8.5.46 | SUSE-RU-2023:4991-1 |
| SLES 12 SP5 | python-mysqlclient | 1.3.14-8.9.2 | SUSE-RU-2023:4991-1 |
| SLES 12 SP4 | mariadb | 10.2.43-3.47.1 | SUSE-SU-2022:0782-1 |
| SLES for SAP 15 SP2 | mariadb | 10.4.24-3.25.1 | SUSE-SU-2022:0726-1 |
| SLES for SAP 15 SP1 | mariadb | 10.2.43-3.51.1 | SUSE-SU-2022:0725-1 |
| SLES for SAP 15 SP1 | mariadb104 | 10.4.30-150100.3.5.10 | SUSE-RU-2023:3956-1 |
| SLES for SAP 15 SP1 | python-mysqlclient | 1.4.6-150100.3.3.7 | SUSE-RU-2023:3956-1 |
| SLES for SAP 15 | mariadb | 10.2.43-3.51.1 | SUSE-SU-2022:0725-1 |
| SLES for SAP 12 SP5 | lz4 | 1.8.0-3.5.2 | SUSE-RU-2023:4991-1 |
| SLES for SAP 12 SP5 | mariadb | 10.2.43-3.47.1 | SUSE-SU-2022:0782-1 |
| SLES for SAP 12 SP5 | mariadb-connector-c | 3.1.22-2.35.1 | SUSE-RU-2023:4991-1 |
| SLES for SAP 12 SP5 | mariadb104 | 10.4.30-8.5.46 | SUSE-RU-2023:4991-1 |
| SLES for SAP 12 SP5 | python-mysqlclient | 1.3.14-8.9.2 | SUSE-RU-2023:4991-1 |
| SLES for SAP 12 SP4 | mariadb | 10.2.43-3.47.1 | SUSE-SU-2022:0782-1 |
| SLE Real Time 15 SP2 | mariadb | 10.4.24-3.25.1 | SUSE-SU-2022:0726-1 |
| SLE HPC 15 SP2 | mariadb | 10.4.24-3.25.1 | SUSE-SU-2022:0726-1 |
| SLE HPC 15 SP1 | mariadb | 10.2.43-3.51.1 | SUSE-SU-2022:0725-1 |
| SLE HPC 15 SP1 | mariadb104 | 10.4.30-150100.3.5.10 | SUSE-RU-2023:3956-1 |
| SLE HPC 15 SP1 | python-mysqlclient | 1.4.6-150100.3.3.7 | SUSE-RU-2023:3956-1 |
| SLE HPC 15 | mariadb | 10.2.43-3.51.1 | SUSE-SU-2022:0725-1 |
| SUSE OpenStack Cloud Crowbar 9 | mariadb | 10.2.43-3.47.1 | SUSE-SU-2022:0782-1 |
| SUSE OpenStack Cloud 9 | mariadb | 10.2.43-3.47.1 | SUSE-SU-2022:0782-1 |
| SUSE Manager Server 4.1 | mariadb | 10.4.24-3.25.1 | SUSE-SU-2022:0726-1 |
| SUSE Manager Retail Branch Server 4.1 | mariadb | 10.4.24-3.25.1 | SUSE-SU-2022:0726-1 |
| SUSE Manager Proxy 4.1 | mariadb | 10.4.24-3.25.1 | SUSE-SU-2022:0726-1 |
| SUSE Enterprise Storage 7 | mariadb | 10.4.24-3.25.1 | SUSE-SU-2022:0726-1 |
| SUSE Enterprise Storage 6 | mariadb | 10.2.43-3.51.1 | SUSE-SU-2022:0725-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | mariadb | 10.7.3-1.1 | openSUSE-SU-2024:11867-1 |
| openSUSE Leap 15.4 | mariadb | 10.5.15-150300.3.15.1 | SUSE-SU-2022:2561-1, SUSE-SU-2022:0731-2 |
| openSUSE Leap 15.3 | mariadb | 10.5.15-150300.3.15.1 | openSUSE-SU-2022:0731-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | mariadb +7 | 1:5.5.68-1.amzn2.0.1 | ALAS2-2023-2057 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 2 (CBL-Mariner) | mariadb | 10.6.7-1 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 8 | Judy | 1.0.5-18.module+el8.4.0+20040+caf70fad | ELSA-2022-1557, ELSA-2022-1556 |
| Oracle Linux 8 | galera | 25.3.34-4.module+el8.5.0+20629+e1b20d6b | ELSA-2022-1557, ELSA-2022-1556 |
| Oracle Linux 8 | mariadb +12 | 3:10.3.32-2.0.1.module+el8.5.0+20629+e1b20d6b | ELSA-2022-1557, ELSA-2022-1556 |
| Oracle Linux 8 | mariadb-pam | 3:10.5.13-1.module+el8.5.0+20630+d7805586 | ELSA-2022-1557 |
Advisories 24
- ALSA-2022:1556 Moderate: mariadb:10.3 security and bug fix update AlmaLinux Security Advisories · Nov 2, 2026
- ALSA-2022:1557 Moderate: mariadb:10.5 security, bug fix, and enhancement update AlmaLinux Security Advisories · Nov 2, 2026
- RHSA-2023:6821 Red Hat Security Advisory: mariadb:10.5 security update Red Hat Security Advisories (RHSA) · Aug 4, 2026
- RHSA-2022:4818 Red Hat Security Advisory: mariadb:10.3 security and bug fix update Red Hat Security Advisories (RHSA) · Jun 28, 2026
- RHSA-2022:1557 Red Hat Security Advisory: mariadb:10.5 security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jun 28, 2026
- RHSA-2022:1556 Red Hat Security Advisory: mariadb:10.3 security and bug fix update Red Hat Security Advisories (RHSA) · Jun 28, 2026
- RHSA-2022:1010 Red Hat Security Advisory: rh-mariadb103-mariadb security and bug fix update Red Hat Security Advisories (RHSA) · Jun 28, 2026
- RHSA-2022:1007 Red Hat Security Advisory: rh-mariadb105-mariadb security and bug fix update Red Hat Security Advisories (RHSA) · Jun 28, 2026
- RLSA-2022:1557 Moderate: mariadb:10.5 security, bug fix, and enhancement update Rocky Linux Security Advisories · Feb 5, 2026
- RLSA-2022:1556 Moderate: mariadb:10.3 security and bug fix update Rocky Linux Security Advisories · Feb 4, 2026
- SUSE-SU-2022:0782-1 Security update for mariadb SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:0731-1 Security update for mariadb SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-RU-2023:4991-1 Recommended update for mariadb104 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2022:0731-1 Security update for mariadb SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:0726-1 Security update for mariadb SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:11867-1 libmariadbd-devel-10.7.3-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-RU-2023:3956-1 Recommended update for mariadb104 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:0725-1 Security update for mariadb SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:2561-1 Security update for mariadb SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:0731-2 Security update for mariadb SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2022-0843 MariaDB: Mehrere Schwachstellen ermöglichen Denial of Service BSI CERT-Bund (WID) · Sep 27, 2023
- ALAS2-2023-2057 Moderate: mariadb security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Jun 1, 2023
- ELSA-2022-1557 Moderate: mariadb:10.5 security, bug fix, and enhancement update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · May 3, 2022
- ELSA-2022-1556 Moderate: mariadb:10.3 security and bug fix update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Apr 28, 2022