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 Queryarena::setqueryarena function within the sql/sqlclass.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).

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-2025-30722MEDIUM6.8
  • MySQLMySQL
  • mecab-devel
NoYesApr 15, 2025
CVE-2025-30693MEDIUM5.5
  • MySQLMySQL
  • mariadb:10.11::mariadb-common
NoYesApr 15, 2025
CVE-2023-52971MEDIUM4.9
  • MariaDB ServerMariaDB Server
  • mariadb-bench
NoYesMar 08, 2025
CVE-2023-52970MEDIUM4.9
  • MariaDB ServerMariaDB Server
  • mariadb:10.5::mariadb-gssapi-server
NoYesMar 08, 2025
CVE-2025-13699N/AN/A
  • MariaDB ServerMariaDB Server
  • mariadb:10.5::mariadb-test
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