Description
MariaDB Server before 10.7 is vulnerable to Denial of Service. In extra/mariabackup/ds_compress.cc, when an error occurs (i.e., going to the err label) while executing the method create_worker_threads, the held lock thd->ctrl_mutex is not released correctly, which allows local users to trigger a denial of service due to the deadlock. Note: The vendor argues this is just an improper locking bug and not a vulnerability with adverse effects.
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.15-0+deb11u1 | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9 | galera | 26.4.11-1.el9_0 | RHSA-2022:5948 |
| RHEL 9 | mariadb +13 | 3:10.5.16-2.el9_0 | RHSA-2022:5948 |
| RHEL 9 | mysql-selinux | 1.0.5-1.el9_0 | RHSA-2022:5948 |
| RHEL 8 | Judy | 1.0.5-18.module+el8.4.0+9031+9abc7af9 | RHSA-2022:6443, RHSA-2022:5826 |
| RHEL 8 | galera | 25.3.35-1.module+el8.6.0+15949+4ba4ec26 | RHSA-2022:6443, RHSA-2022:5826 |
| RHEL 8 | mariadb +12 | 3:10.3.35-1.module+el8.6.0+15949+4ba4ec26 | RHSA-2022:6443, RHSA-2022:5826 |
| RHEL 8 | mariadb-pam | 3:10.5.16-2.module+el8.6.0+15639+405b7427 | RHSA-2022:5826 |
| RHEL 3 | rh-mariadb103-mariadb +18 | 3:10.3.35-1.el7 | RHSA-2022:6306 |
| RHEL 3 | rh-mariadb105-mariadb +20 | 3:10.5.16-2.el7 | RHSA-2022:5759 |
Show 3 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 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 9 | mariadb +13 | 3:10.5.16-2.el9_0 | ALSA-2022:5948 |
| AlmaLinux 8 | Judy | 1.0.5-18.module_el8.6.0+3072+3c630e87 | ALSA-2022:6443, ALSA-2022:5826 |
| AlmaLinux 8 | galera | 25.3.35-1.module_el8.6.0+3265+230ed96b | ALSA-2022:6443, ALSA-2022:5826 |
| AlmaLinux 8 | mariadb +12 | 3:10.3.35-1.module_el8.6.0+3265+230ed96b | ALSA-2022:6443, ALSA-2022:5826 |
| AlmaLinux 8 | mariadb-pam | 3:10.5.16-2.module_el8.6.0+3072+3c630e87 | ALSA-2022:5826 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 9 | galera | 26.4.11-1.el9_0 | RLSA-2022:5948 |
| Rocky Linux 9 | mariadb | 3:10.5.16-2.el9_0 | RLSA-2022:5948 |
| Rocky Linux 9 | mysql-selinux | 1.0.5-1.el9_0 | RLSA-2022:5948 |
| Rocky Linux 8 | Judy | 1.0.5-18.module+el8.4.0+427+adf35707 | RLSA-2022:6443, RLSA-2022:5826 |
| Rocky Linux 8 | galera | 25.3.35-1.module+el8.6.0+1005+cdf19c22 | RLSA-2022:6443, RLSA-2022:5826 |
| Rocky Linux 8 | mariadb | 3:10.3.35-1.module+el8.6.0+1005+cdf19c22 | RLSA-2022:6443, RLSA-2022:5826 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | mariadb | 10.6.7-r0 | — |
| Alpine v3.23 | mariadb | 10.6.7-r0 | — |
| Alpine v3.22 | mariadb | 10.6.7-r0 | — |
| Alpine v3.21 | mariadb | 10.6.7-r0 | — |
| Alpine v3.20 | mariadb | 10.6.7-r0 | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | mariadb | 10.6.7-r0 | — |
| Alpine v3.18 | mariadb | 10.6.7-r0 | — |
| Alpine v3.17 | mariadb | 10.6.7-r0 | — |
| Alpine v3.16 | mariadb | 10.6.7-r0 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | mariadb105 +14 | 3:10.5.18-1.amzn2023.0.1 | ALAS2023-2023-155 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 9 | galera | 26.4.11-1.0.1.el9_0 | ELSA-2022-5948 |
| Oracle Linux 9 | mariadb +13 | 3:10.5.16-2.el9_0 | ELSA-2022-5948 |
| Oracle Linux 9 | mysql-selinux | 1.0.5-1.el9_0 | ELSA-2022-5948 |
| Oracle Linux 8 | Judy | 1.0.5-18.module+el8.4.0+20040+caf70fad | ELSA-2022-6443, ELSA-2022-5826 |
| Oracle Linux 8 | galera | 25.3.35-1.module+el8.6.0+20730+e6b28fc7 | ELSA-2022-6443, ELSA-2022-5826 |
| Oracle Linux 8 | mariadb +12 | 3:10.3.35-1.module+el8.6.0+20730+e6b28fc7 | ELSA-2022-6443, ELSA-2022-5826 |
| Oracle Linux 8 | mariadb-pam | 3:10.5.16-2.module+el8.6.0+20717+9b4a4c6e | ELSA-2022-5826 |
Advisories 17
- ALSA-2022:5826 Moderate: mariadb:10.5 security, bug fix, and enhancement update AlmaLinux Security Advisories · Nov 2, 2026
- ALSA-2022:5948 Moderate: galera, mariadb, and mysql-selinux security, bug fix, and enhancement update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2022:6443 Moderate: mariadb:10.3 security and bug fix update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2022:6443 Red Hat Security Advisory: mariadb:10.3 security and bug fix update Red Hat Security Advisories (RHSA) · Aug 5, 2026
- RHSA-2022:6306 Red Hat Security Advisory: rh-mariadb103-galera and rh-mariadb103-mariadb security and bug fix update Red Hat Security Advisories (RHSA) · Aug 5, 2026
- RHSA-2022:5948 Red Hat Security Advisory: galera, mariadb, and mysql-selinux security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Aug 5, 2026
- RHSA-2022:5826 Red Hat Security Advisory: mariadb:10.5 security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Aug 5, 2026
- RHSA-2022:5759 Red Hat Security Advisory: rh-mariadb105-galera and rh-mariadb105-mariadb security and bugfix update Red Hat Security Advisories (RHSA) · Aug 5, 2026
- RHSA-2023:6821 Red Hat Security Advisory: mariadb:10.5 security update Red Hat Security Advisories (RHSA) · Aug 4, 2026
- RLSA-2022:5948 Moderate: galera, mariadb, and mysql-selinux security, bug fix, and enhancement update Rocky Linux Security Advisories · Feb 5, 2026
- RLSA-2022:6443 Moderate: mariadb:10.3 security and bug fix update Rocky Linux Security Advisories · Feb 4, 2026
- RLSA-2022:5826 Moderate: mariadb:10.5 security, bug fix, and enhancement update Rocky Linux Security Advisories · Feb 4, 2026
- WID-SEC-2022-0017 MariaDB: Mehrere Schwachstellen ermöglichen Denial of Service BSI CERT-Bund (WID) · Sep 27, 2023
- ALAS2023-2023-155 Important: mariadb105 security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Apr 27, 2023
- ELSA-2022-6443 Moderate: mariadb:10.3 security and bug fix update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Sep 15, 2022
- ELSA-2022-5948 Moderate: galera, mariadb, and mysql-selinux security, bug fix, and enhancement update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Aug 10, 2022
- ELSA-2022-5826 Moderate: mariadb:10.5 security, bug fix, and enhancement update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Aug 3, 2022