# CVE-2022-31623: MariaDB Server before 10.7 is vulnerable to Denial of Service.

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 15% of CVEs (2026-12-01)
- Published: 2022-05-25T00:00:00.000Z
- Modified: 2026-09-08T08:48:24.168Z
- Also known as: BIT-MARIADB-2022-31623, BIT-MARIADB-MIN-2022-31623, BIT-MYSQL-CLIENT-2022-31623
- Weaknesses: CWE-667
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- mariadb mariadb: before 10.2.42; from 10.3.0 before 10.3.33; from 10.4.0 before 10.4.23; from 10.5.0 before 10.5.14; from 10.6.0 before 10.6.6; from 10.7.0 before 10.7.2
- mariadb (Bitnami): before 10.2.42; from 10.3.0 before 10.3.33; from 10.4.0 before 10.4.23; from 10.5.0 before 10.5.14; from 10.6.0 before 10.6.6; from 10.7.0 before 10.7.2
- mariadb-min (Bitnami): before 10.2.42; from 10.3.0 before 10.3.33; from 10.4.0 before 10.4.23; from 10.5.0 before 10.5.14; from 10.6.0 before 10.6.6; from 10.7.0 before 10.7.2
- mysql-client (Bitnami): before 10.2.42; from 10.3.0 before 10.3.33; from 10.4.0 before 10.4.23; from 10.5.0 before 10.5.14; from 10.6.0 before 10.6.6; from 10.7.0 before 10.7.2

## Every score

- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 2.1 Low `AV:L/AC:L/Au:N/C:N/I:N/A:P`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://github.com/MariaDB/server/pull/1938> (advisory, patch, third-party-advisory)
- <https://github.com/MariaDB/server/commit/7c30bc38a588b22b01f11130cfe99e7f36accf94> (advisory, patch, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20220707-0006/> (advisory, third-party-advisory)
- <https://jira.mariadb.org/browse/MDEV-26574> (web)
- <https://jira.mariadb.org/browse/MDEV-26561> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-31623> (web)

## Sources

- CVE List: [CVE-2022-31623](https://www.cve.org/CVERecord?id=CVE-2022-31623), CVE Terms of Use, modified 2024-10-29
- NVD: [CVE-2022-31623](https://nvd.nist.gov/vuln/detail/CVE-2022-31623), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-MARIADB-2022-31623](https://osv.dev/vulnerability/BIT-MARIADB-2022-31623), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-MARIADB-MIN-2022-31623](https://osv.dev/vulnerability/BIT-MARIADB-MIN-2022-31623), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-MYSQL-CLIENT-2022-31623](https://osv.dev/vulnerability/BIT-MYSQL-CLIENT-2022-31623), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2022-31623 · Whole record: https://cve.day/CVE-2022-31623.json · Rebuilt by cve.day 2026-11-25T22:58:11.941Z
