CVE-2022-27455
MariaDB Server vulnerability analysis and mitigation

Overview

MariaDB Server v10.6.3 and below contains a use-after-free vulnerability in the component my_wildcmp_8bit_impl at /strings/ctype-simple.c. The vulnerability was discovered in March 2022 and affects multiple versions of MariaDB including 10.4, 10.5, 10.6, and 10.7 (MariaDB Issue).

Technical details

The vulnerability is classified with 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 specifically occurs in the my_wildcmp_8bit_impl function within the ctype-simple.c file, where a use-after-free condition can be triggered when processing certain SQL queries involving subqueries with outer references in HAVING clauses (NetApp Advisory, NVD).

Impact

Successful exploitation of this vulnerability could lead to Denial of Service (DoS) conditions in affected MariaDB server installations. The high CVSS score indicates that the vulnerability can be exploited remotely without requiring privileges or user interaction (NetApp Advisory).

Mitigation and workarounds

The vulnerability has been fixed in MariaDB versions 10.4.25, 10.5.16, 10.6.8, and 10.7.4. Users are advised to upgrade to these or later versions to address the vulnerability (MariaDB Issue).

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-13699HIGH7
  • MariaDB ServerMariaDB Server
  • galera
NoYesDec 23, 2025
CVE-2025-30722MEDIUM6.8
  • MySQLMySQL
  • mysql-server-debuginfo
NoYesApr 15, 2025
CVE-2025-30693MEDIUM5.5
  • MySQLMySQL
  • mariadb10.11
NoYesApr 15, 2025
CVE-2023-52971MEDIUM4.9
  • MariaDB ServerMariaDB Server
  • mariadb-embedded-devel
NoYesMar 08, 2025
CVE-2023-52970MEDIUM4.9
  • MariaDB ServerMariaDB Server
  • mariadb-sphinx-engine
NoYesMar 08, 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