CVE-2022-27447
MariaDB Server v10.9 and below was discovered to contain a use-after-free via the component Binary_string::free_buffer() at /sql/sql_string.h.
What to do
Fixed builds are available from AlmaLinux, Alpine, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 22.04 | mariadb-10.6 | Fixed | 1:10.6.11-0ubuntu0.22.04.1 | UBUNTU-CVE-2022-27447 |
| Ubuntu 20.04 | mariadb-10.3 | Fixed | 1:10.3.37-0ubuntu0.20.04.1 | UBUNTU-CVE-2022-27447 |
| Ubuntu 18.04 | mariadb-10.1 | Fix pending | UBUNTU-CVE-2022-27447 | |
| Red Hat Enterprise Linux 9 | galera | Fixed | 0:26.4.11-1.el9_0 | RHSA-2022:5948 |
| Red Hat Enterprise Linux 9 | mariadb | Fixed | 3:10.5.16-2.el9_0 | RHSA-2022:5948 |
| Red Hat Enterprise Linux 9 | mariadb-backup | Fixed | 3:10.5.16-2.el9_0 | RHSA-2022:5948 |
| Red Hat Enterprise Linux 9 | mariadb-common | Fixed | 3:10.5.16-2.el9_0 | RHSA-2022:5948 |
| Red Hat Enterprise Linux 9 | mariadb-devel | Fixed | 3:10.5.16-2.el9_0 | RHSA-2022:5948 |
| Red Hat Enterprise Linux 9 | mariadb-embedded | Fixed | 3:10.5.16-2.el9_0 | RHSA-2022:5948 |
| Red Hat Enterprise Linux 9 | mariadb-embedded-devel | Fixed | 3:10.5.16-2.el9_0 | RHSA-2022:5948 |
| Red Hat Enterprise Linux 9 | mariadb-errmsg | Fixed | 3:10.5.16-2.el9_0 | RHSA-2022:5948 |
| Red Hat Enterprise Linux 9 | mariadb-gssapi-server | Fixed | 3:10.5.16-2.el9_0 | RHSA-2022:5948 |
| Red Hat Enterprise Linux 9 | mariadb-oqgraph-engine | Fixed | 3:10.5.16-2.el9_0 | RHSA-2022:5948 |
| Red Hat Enterprise Linux 9 | mariadb-pam | Fixed | 3:10.5.16-2.el9_0 | RHSA-2022:5948 |
| Red Hat Enterprise Linux 9 | mariadb-server | Fixed | 3:10.5.16-2.el9_0 | RHSA-2022:5948 |
| Red Hat Enterprise Linux 9 | mariadb-server-galera | Fixed | 3:10.5.16-2.el9_0 | RHSA-2022:5948 |
| Red Hat Enterprise Linux 9 | mariadb-server-utils | Fixed | 3:10.5.16-2.el9_0 | RHSA-2022:5948 |
| Red Hat Enterprise Linux 9 | mariadb-test | Fixed | 3:10.5.16-2.el9_0 | RHSA-2022:5948 |
| Red Hat Enterprise Linux 9 | mysql-selinux | Fixed | 0:1.0.5-1.el9_0 | RHSA-2022:5948 |
| Red Hat Enterprise Linux 8 | Judy | Fixed | 0:1.0.5-18.module+el8+2765+cfa4f87b | RHSA-2022:5826 |
| Red Hat Enterprise Linux 8 | galera | Fixed | 0:25.3.35-1.module+el8.6.0+15949+4ba4ec26 | RHSA-2022:5826 |
| Red Hat Enterprise Linux 8 | mariadb | Fixed | 3:10.5.16-2.module+el8.6.0+15639+405b7427 | RHSA-2022:6443 |
| Red Hat Enterprise Linux 8 | mariadb-backup | Fixed | 3:10.5.16-2.module+el8.6.0+15639+405b7427 | RHSA-2022:6443 |
| Red Hat Enterprise Linux 8 | mariadb-common | Fixed | 3:10.5.16-2.module+el8.6.0+15639+405b7427 | RHSA-2022:6443 |
| Red Hat Enterprise Linux 8 | mariadb-devel | Fixed | 3:10.5.16-2.module+el8.6.0+15639+405b7427 | RHSA-2022:6443 |
| Red Hat Enterprise Linux 8 | mariadb-embedded | Fixed | 3:10.3.35-1.module+el8.6.0+15949+4ba4ec26 | RHSA-2022:5826 |
| Red Hat Enterprise Linux 8 | mariadb-embedded-devel | Fixed | 3:10.3.35-1.module+el8.6.0+15949+4ba4ec26 | RHSA-2022:5826 |
| Red Hat Enterprise Linux 8 | mariadb-errmsg | Fixed | 3:10.3.35-1.module+el8.6.0+15949+4ba4ec26 | RHSA-2022:5826 |
| Red Hat Enterprise Linux 8 | mariadb-gssapi-server | Fixed | 3:10.3.35-1.module+el8.6.0+15949+4ba4ec26 | RHSA-2022:5826 |
| Red Hat Enterprise Linux 8 | mariadb-oqgraph-engine | Fixed | 3:10.5.16-2.module+el8.6.0+15639+405b7427 | RHSA-2022:6443 |
| Red Hat Enterprise Linux 8 | mariadb-pam | Fixed | 3:10.5.16-2.module+el8.6.0+15639+405b7427 | RHSA-2022:5826 |
| Red Hat Enterprise Linux 8 | mariadb-server | Fixed | 3:10.5.16-2.module+el8.6.0+15639+405b7427 | RHSA-2022:6443 |
| Red Hat Enterprise Linux 8 | mariadb-server-galera | Fixed | 3:10.3.35-1.module+el8.6.0+15949+4ba4ec26 | RHSA-2022:5826 |
| Red Hat Enterprise Linux 8 | mariadb-server-utils | Fixed | 3:10.3.35-1.module+el8.6.0+15949+4ba4ec26 | RHSA-2022:5826 |
| Red Hat Enterprise Linux 8 | mariadb-test | Fixed | 3:10.3.35-1.module+el8.6.0+15949+4ba4ec26 | RHSA-2022:5826 |
| Red Hat Enterprise Linux 7 | mariadb | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | mariadb-bench | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | mariadb-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | mariadb-embedded | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | mariadb-embedded-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | mariadb-libs | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | mariadb-server | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | mariadb-test | Will not fix Out of support scope | ||
| AlmaLinux 9 | mariadb | Fixed | 3:10.5.16-2.el9_0 | ALSA-2022:5948 |
| AlmaLinux 9 | mariadb-backup | Fixed | 3:10.5.16-2.el9_0 | ALSA-2022:5948 |
| AlmaLinux 9 | mariadb-common | Fixed | 3:10.5.16-2.el9_0 | ALSA-2022:5948 |
| AlmaLinux 9 | mariadb-devel | Fixed | 3:10.5.16-2.el9_0 | ALSA-2022:5948 |
| AlmaLinux 9 | mariadb-embedded | Fixed | 3:10.5.16-2.el9_0 | ALSA-2022:5948 |
| AlmaLinux 9 | mariadb-embedded-devel | Fixed | 3:10.5.16-2.el9_0 | ALSA-2022:5948 |
| AlmaLinux 9 | mariadb-errmsg | Fixed | 3:10.5.16-2.el9_0 | ALSA-2022:5948 |
| AlmaLinux 9 | mariadb-gssapi-server | Fixed | 3:10.5.16-2.el9_0 | ALSA-2022:5948 |
| AlmaLinux 9 | mariadb-oqgraph-engine | Fixed | 3:10.5.16-2.el9_0 | ALSA-2022:5948 |
| AlmaLinux 9 | mariadb-pam | Fixed | 3:10.5.16-2.el9_0 | ALSA-2022:5948 |
| AlmaLinux 9 | mariadb-server | Fixed | 3:10.5.16-2.el9_0 | ALSA-2022:5948 |
| AlmaLinux 9 | mariadb-server-galera | Fixed | 3:10.5.16-2.el9_0 | ALSA-2022:5948 |
| AlmaLinux 9 | mariadb-server-utils | Fixed | 3:10.5.16-2.el9_0 | ALSA-2022:5948 |
| AlmaLinux 9 | mariadb-test | Fixed | 3:10.5.16-2.el9_0 | ALSA-2022:5948 |
| AlmaLinux 8 | Judy | Fixed | 1.0.5-18.module_el8.6.0+3072+3c630e87 | ALSA-2022:6443 |
| AlmaLinux 8 | galera | Fixed | 25.3.35-1.module_el8.6.0+3265+230ed96b | ALSA-2022:5826 |
| AlmaLinux 8 | mariadb | Fixed | 3:10.5.16-2.module_el8.6.0+3072+3c630e87 | ALSA-2022:6443 |
| AlmaLinux 8 | mariadb-backup | Fixed | 3:10.5.16-2.module_el8.6.0+3072+3c630e87 | ALSA-2022:6443 |
| AlmaLinux 8 | mariadb-common | Fixed | 3:10.3.35-1.module_el8.6.0+3265+230ed96b | ALSA-2022:5826 |
| AlmaLinux 8 | mariadb-devel | Fixed | 3:10.3.35-1.module_el8.6.0+3265+230ed96b | ALSA-2022:5826 |
| AlmaLinux 8 | mariadb-embedded | Fixed | 3:10.5.16-2.module_el8.6.0+3072+3c630e87 | ALSA-2022:6443 |
| AlmaLinux 8 | mariadb-embedded-devel | Fixed | 3:10.3.35-1.module_el8.6.0+3265+230ed96b | ALSA-2022:5826 |
| AlmaLinux 8 | mariadb-errmsg | Fixed | 3:10.3.35-1.module_el8.6.0+3265+230ed96b | ALSA-2022:5826 |
| AlmaLinux 8 | mariadb-gssapi-server | Fixed | 3:10.5.16-2.module_el8.6.0+3072+3c630e87 | ALSA-2022:6443 |
| AlmaLinux 8 | mariadb-oqgraph-engine | Fixed | 3:10.5.16-2.module_el8.6.0+3072+3c630e87 | ALSA-2022:6443 |
| AlmaLinux 8 | mariadb-pam | Fixed | 3:10.5.16-2.module_el8.6.0+3072+3c630e87 | ALSA-2022:5826 |
| AlmaLinux 8 | mariadb-server | Fixed | 3:10.5.16-2.module_el8.6.0+3072+3c630e87 | ALSA-2022:6443 |
| AlmaLinux 8 | mariadb-server-galera | Fixed | 3:10.5.16-2.module_el8.6.0+3072+3c630e87 | ALSA-2022:6443 |
| AlmaLinux 8 | mariadb-server-utils | Fixed | 3:10.3.35-1.module_el8.6.0+3265+230ed96b | ALSA-2022:5826 |
| AlmaLinux 8 | mariadb-test | Fixed | 3:10.3.35-1.module_el8.6.0+3265+230ed96b | ALSA-2022:5826 |
| Rocky Linux 9 | galera | Fixed | 0:26.4.11-1.el9_0 | RLSA-2022:5948 |
| Rocky Linux 9 | mariadb | Fixed | 3:10.5.16-2.el9_0 | RLSA-2022:5948 |
| Rocky Linux 9 | mysql-selinux | Fixed | 0:1.0.5-1.el9_0 | RLSA-2022:5948 |
| Rocky Linux 8 | Judy | Fixed | 0:1.0.5-18.module+el8.4.0+427+adf35707 | RLSA-2022:5826 |
| Rocky Linux 8 | galera | Fixed | 0:26.4.11-1.module+el8.6.0+995+5ac2a483 | RLSA-2022:6443 |
| Rocky Linux 8 | mariadb | Fixed | 3:10.5.16-2.module+el8.6.0+995+5ac2a483 | RLSA-2022:6443 |
| Alpine Linux 3.24 | mariadb | Fixed | 10.6.8-r0 | ALPINE-CVE-2022-27447 |
| Alpine Linux 3.23 | mariadb | Fixed | 10.6.8-r0 | ALPINE-CVE-2022-27447 |
| Alpine Linux 3.22 | mariadb | Fixed | 10.6.8-r0 | ALPINE-CVE-2022-27447 |
| Alpine Linux 3.21 | mariadb | Fixed | 10.6.8-r0 | ALPINE-CVE-2022-27447 |
| Alpine Linux 3.20 | mariadb | Fixed | 10.6.8-r0 | ALPINE-CVE-2022-27447 |
| Alpine Linux 3.19 | mariadb | Fixed | 10.6.8-r0 | ALPINE-CVE-2022-27447 |
| Alpine Linux 3.18 | mariadb | Fixed | 10.6.8-r0 | ALPINE-CVE-2022-27447 |
| Alpine Linux 3.17 | mariadb | Fixed | 10.6.8-r0 | ALPINE-CVE-2022-27447 |
| Alpine Linux 3.16 | mariadb | Fixed | 10.6.8-r0 | ALPINE-CVE-2022-27447 |
| Alpine Linux 3.15 | mariadb | Fixed | 10.6.8-r0 | ALPINE-CVE-2022-27447 |
| Alpine Linux 3.14 | mariadb | Fixed | 10.5.16-r0 | ALPINE-CVE-2022-27447 |
| Alpine Linux 3.13 | mariadb | Fixed | 10.5.16-r0 | ALPINE-CVE-2022-27447 |
| Alpine Linux 3.12 | mariadb | Fixed | 10.4.25-r0 | ALPINE-CVE-2022-27447 |
References
- https://jira.mariadb.org/browse/MDEV-28099
- https://security.netapp.com/advisory/ntap-20220526-0006/
- https://lists.debian.org/debian-lts-announce/2022/09/msg00023.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.