CVE-2022-31623: MariaDB

Medium severity, CVSS 5.5. EPSS: 0.2% chance of exploitation in the next 30 days.

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.

Affected products

  • MariaDB MariaDB: before 10.2.42 (fixed in 10.2.42); from 10.3.0, before 10.3.33 (fixed in 10.3.33); from 10.4.0, before 10.4.23 (fixed in 10.4.23); from 10.5.0, before 10.5.14 (fixed in 10.5.14); from 10.6.0, before 10.6.6 (fixed in 10.6.6); from 10.7.0, before 10.7.2 (fixed in 10.7.2)

Published 2022-05-25. Last modified 2026-06-17.