CVE-2022-31624 in Mariadb
MariaDB Server before 10.7 is vulnerable to Denial of Service. While executing the plugin/server_audit/server_audit.c method log_statement_ex, the held lock lock_bigbuffer is not released correctly, which allows local users to trigger a denial of service due to the deadlock.
Affects 1 product from 1 vendor. Facts below cite their sources.
Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Mariadb | Mariadb | < 10.2.41 ≥ 10.3.0, < 10.3.32 ≥ 10.4.0, < 10.4.22 ≥ 10.5.0, < 10.5.13 ≥ 10.6.0, < 10.6.5 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
MariaDB Server before 10.7 is vulnerable to Denial of Service. While executing the plugin/server_audit/server_audit.c method log_statement_ex, the held lock lock_bigbuffer is not released correctly, which allows local users to trigger a denial of service due to the deadlock.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2022-31624 |
|---|---|
| BreachSpider ID | BS-2022-GLOBAL-068369-M |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| Published | 2022-05-25 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-667: CWE-667
Related attack patterns (CAPEC)
CAPEC-27 Leveraging Race Conditions via Symbolic Links via CWE-667
CAPEC-25 Forced Deadlock via CWE-667
CAPEC-26 Leveraging Race Conditions via CWE-667
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
MariaDB Server versions prior to 10.7 are susceptible to a Denial of Service (DoS) attack due to an improper release of a lock in the server_audit plugin, leading to potential deadlock.
The vulnerability exists in the log_statement_ex method within the plugin/server_audit/server_audit.c file. Local users can exploit this by causing the lock_bigbuffer lock to not be released correctly, resulting in a deadlock and DoS condition.
Questions
What is CVE-2022-31624?
MariaDB Server versions prior to 10.7 are susceptible to a Denial of Service (DoS) attack due to an improper release of a lock in the server_audit plugin, leading to potential deadlock.
What is the CVSS score for CVE-2022-31624?
CVE-2022-31624 has CVSS 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. EPSS: 0.3%.
Is CVE-2022-31624 actively exploited?
No confirmed active exploitation of CVE-2022-31624 as of 2026-09-25.
How do I remediate CVE-2022-31624?
Priority: HIGH.
What systems are affected by CVE-2022-31624?
CVE-2022-31624 affects Mariadb Mariadb.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Mariadb","product":"Mariadb","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.