CVE-2022-27385
MariaDB Server vulnerability analysis and mitigation

Overview

An issue in the component Usedtablesandconstcache::usedtablesandconstcache_join of MariaDB Server v10.7 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. The vulnerability was assigned CVE-2022-27385 and was discovered in March 2022 (CVE Mitre). The affected systems include MariaDB Server versions up to and including 10.7, specifically impacting versions 10.5, 10.6, and 10.7 (MariaDB Jira).

Technical details

The vulnerability has been assigned a CVSS v3.1 base score of 7.5 (HIGH) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. The issue lies in the component Usedtablesandconstcache::usedtablesandconstcache_join and can be triggered through specially crafted SQL statements (NetApp Advisory, NVD).

Impact

When successfully exploited, this vulnerability can lead to a Denial of Service (DoS) condition in the affected MariaDB server installations. The attack can be executed remotely, requires low attack complexity, and does not require any privileges or user interaction (NetApp Advisory).

Mitigation and workarounds

The vulnerability affects MariaDB Server versions up to and including 10.7. Users should upgrade to patched versions: 10.3.32, 10.4.22, 10.5.13, or 10.6.5 and above, depending on their current version track (Debian Security).

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
  • mariadb-test-debuginfo
NoYesApr 15, 2025
CVE-2025-30693MEDIUM5.5
  • MySQLMySQL
  • mariadb-test-debuginfo
NoYesApr 15, 2025
CVE-2023-52971MEDIUM4.9
  • MariaDB ServerMariaDB Server
  • libmariadbd19
NoYesMar 08, 2025
CVE-2023-52970MEDIUM4.9
  • MariaDB ServerMariaDB Server
  • libmariadbd-devel
NoYesMar 08, 2025
CVE-2025-13699N/AN/A
  • MariaDB ServerMariaDB Server
  • mariadb-embedded
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