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).

Exploitability

A proof of concept exploit has been publicly documented that demonstrates how the vulnerability can be triggered using specific SQL queries involving temporary tables and subqueries with LIKE operations (MariaDB Issue).

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-2026-44171HIGH7.8
  • MariaDB Server logoMariaDB Server
  • mariadb-gssapi-server-debuginfo
NoYesJun 12, 2026
CVE-2026-48165HIGH7.2
  • MariaDB Server logoMariaDB Server
  • mariadb11.8-embedded
NoYesJun 12, 2026
CVE-2026-48163HIGH7.2
  • MariaDB Server logoMariaDB Server
  • mariadb:11.8::galera
NoYesJun 12, 2026
CVE-2026-44172MEDIUM6.9
  • MariaDB Server logoMariaDB Server
  • mariadb-connector-c-debuginfo
NoYesJun 12, 2026
CVE-2026-44173MEDIUM5.3
  • MariaDB Server logoMariaDB Server
  • mariadb1011-test
NoYesJun 12, 2026

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