5.5

CVE-2022-31623: mariadb Improper Locking

Modified
AliasesALPINE-CVE-2022-31623DEBIAN-CVE-2022-31623
Published 25-05-2022Last modified 29-10-2024

Vulnerability summary

CVE-2022-31623 is a medium (CVSS 5.5) Improper Locking vulnerability in mariadb. EPSS estimates a 0.23% chance of exploitation in the next 30 days, higher than 15% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.5/10
010
Medium · v3.1 (NVD)
EPSS score
0.23%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 6

Timeline

  1. 25-05-2022
    PublishedVulnerability first disclosed.
  2. 29-10-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

0.23%

Chance of exploitation in the next 30 days

Percentile

15%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.23% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Alpine1 product
  • mariadb≥ 10.3.0, < 10.6.7-r0 | ≥ 10.6.0, < 10.6.7-r0
Debian1 product
  • mariadb-10.5< 1:10.5.15-0+deb11u1
Mariadb1 product
  • mariadb< 10.2.42 | ≥ 10.3.0, < 10.3.33 | ≥ 10.4.0, < 10.4.23 | ≥ 10.5.0, < 10.5.14 | ≥ 10.6.0, < 10.6.6 | ≥ 10.7.0, < 10.7.2

3 vendors · 3 products

References

8 links