CVE-2022-31624
MariaDB Server vulnerability analysis and mitigation

Overview

MariaDB Server before version 10.7 was identified with a Denial of Service vulnerability (CVE-2022-31624). The vulnerability was discovered in the plugin/serveraudit/serveraudit.c component, specifically in the logstatementex method, where a lock (lock_bigbuffer) is not properly released, creating a potential security risk (NVD, MITRE).

Technical details

The vulnerability stems from an improper locking mechanism in the serveraudit.c component. Specifically, the logstatementex method fails to correctly release the lockbigbuffer, which can result in a deadlock condition. The vulnerability has been assigned a CVSS score of 5.5 (MEDIUM) with the vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H, indicating local access is required for exploitation (NetApp).

Impact

When successfully exploited, this vulnerability can lead to a Denial of Service (DoS) condition due to the deadlock situation. The impact is primarily focused on system availability, with no direct effect on confidentiality or integrity of the system (NetApp).

Mitigation and workarounds

The vulnerability was addressed through a code fix that removes the global bigbuffer and modifies the lock handling mechanism in the serveraudit.c file. The fix was implemented in MariaDB Server version 10.7 (GitHub Commit).

Additional resources


SourceThis report was generated using AI

Related MariaDB Server vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-30722MEDIUM6.8
  • MySQLMySQL
  • mysql-devel
NoYesApr 15, 2025
CVE-2025-30693MEDIUM5.5
  • MySQLMySQL
  • mariadb:10.5::Judy
NoYesApr 15, 2025
CVE-2023-52971MEDIUM4.9
  • MariaDB ServerMariaDB Server
  • mariadb1011-cracklib-password-check
NoYesMar 08, 2025
CVE-2023-52970MEDIUM4.9
  • MariaDB ServerMariaDB Server
  • mariadb:10.5::mariadb-embedded-devel
NoYesMar 08, 2025
CVE-2025-13699N/AN/A
  • MariaDB ServerMariaDB Server
  • mariadb:10.5::mariadb-devel
NoYesNov 27, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management