CVE-2022-27386
MariaDB Server vulnerability analysis and mitigation

Overview

MariaDB Server v10.7 and below contains a segmentation fault vulnerability in the component sql/sql_class.cc. The vulnerability was discovered and reported on March 21, 2022, as identified by CVE-2022-27386 (CVE Mitre).

Technical details

The vulnerability manifests as a segmentation fault in the Query_arena::set_query_arena function within the sql/sql_class.cc component. The issue occurs during specific SQL query operations involving DEFAULT values and hex functions. The vulnerability has been assigned a CVSS v3.1 score of 7.5 (HIGH) with a vector of CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (NetApp Advisory).

Impact

When successfully exploited, this vulnerability can lead to a Denial of Service (DoS) condition in the affected MariaDB server installations. The segmentation fault can cause the database server to crash, potentially disrupting database operations and service availability (NetApp Advisory).

Exploitability

The vulnerability can be triggered through specific SQL queries involving DEFAULT values and hex functions. A proof of concept exists that demonstrates the segmentation fault using a series of SQL commands involving table creation and SELECT statements with specific conditions (MariaDB Jira).

Mitigation and workarounds

The vulnerability has been addressed in subsequent MariaDB releases. Users are advised to upgrade their MariaDB installations to versions newer than 10.7. For Debian 10 (buster) users, the fix is available in version 1:10.3.36-0+deb10u1 (Debian LTS).

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-tools
NoYesJun 12, 2026
CVE-2026-48165HIGH7.2
  • MariaDB Server logoMariaDB Server
  • mariadb:10.11::mariadb-common
NoYesJun 12, 2026
CVE-2026-48163HIGH7.2
  • MariaDB Server logoMariaDB Server
  • mariadb10.11-cracklib-password-check
NoYesJun 12, 2026
CVE-2026-44172MEDIUM6.9
  • MariaDB Server logoMariaDB Server
  • mariadb10.11-devel
NoYesJun 12, 2026
CVE-2026-44173MEDIUM5.3
  • MariaDB Server logoMariaDB Server
  • mariadb1011-gssapi-server
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