# CVE-2022-31622: 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 14% of CVEs (2026-12-01)
- Published: 2022-05-25T00:00:00.000Z
- Modified: 2026-09-08T08:48:24.249Z
- Also known as: BIT-MARIADB-2022-31622, BIT-MARIADB-MIN-2022-31622, BIT-MYSQL-CLIENT-2022-31622
- Weaknesses: CWE-667
- 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 (pthread_create returns a nonzero value) while executing the method create_worker_threads, the held lock 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://jira.mariadb.org/browse/MDEV-26561?filter=-2> (advisory, issue-tracking, permissions-required, third-party-advisory)
- <https://github.com/MariaDB/server/commit/e1eb39a446c30b8459c39fd7f2ee1c55a36e97d2> (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-31622> (web)

## Sources

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

---

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