Denial of Service Vulnerability in MariaDB Server

mariadb Updated 02 Oct 2025

Summary

12/04/2022
N/A
Yes i
High
7.5

CVE-2022-27380: An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. Affects mariadb across 2 version ranges.

< 10.4.25-r0 >= 9664240c948a92c22ccda0e1f5a420eb776ddcb1, < 0ba528fe56f6c637d9fbc9d177a62610038fd519

Fixed in 10.4.25-r0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

MariaDB Server is an open-source relational database management system that is a fork of MySQL. It provides a wide range of features and is widely used in various applications. However, a vulnerability has been discovered in versions 10.6.3 and below that can lead to a Denial of Service (DoS) attack.

Vulnerability Detail

The vulnerability, identified as CVE-2022-27380, resides in the my_decimal::operator= component of MariaDB Server. Attackers can exploit this issue by crafting specially crafted SQL statements. When executed, these statements can cause the server to crash or become unresponsive, resulting in a DoS condition. The impact of this vulnerability can be severe, as it can disrupt the availability of the database and potentially affect the entire application relying on it.

How To Fix

Minimum fixed version

10.4.25-r0

This is the first release that contains the fix.

sudo apk add --upgrade mariadb

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

At present, no known workarounds exist for this vulnerability. It is crucial to apply the recommended fix by upgrading to a patched version of MariaDB Server.

Conclusion

In conclusion, the Denial of Service vulnerability in MariaDB Server can be exploited by attackers through specially crafted SQL statements, leading to server crashes or unresponsiveness. To mitigate this risk, it is essential to upgrade to a fixed version of MariaDB Server. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for mariadb →

Share this vulnerability

FAQ

This vulnerability can lead to a Denial of Service (DoS) attack, causing the MariaDB Server to crash or become unresponsive. This can result in the unavailability of the database and potential disruption of the application relying on it.

You can check the version of MariaDB Server installed on your system and compare it with the affected versions mentioned in the vulnerability details. If your version is equal to or lower than the affected versions, it is recommended to upgrade to a fixed version.

No, currently there are no known workarounds for this vulnerability. The recommended approach is to upgrade to a patched version of MariaDB Server.

Yes, this vulnerability can be exploited remotely by sending specially crafted SQL statements to the vulnerable MariaDB Server.

At the time of this report, there is no evidence of active exploitation of this vulnerability. However, it is crucial to apply the recommended fix to mitigate the risk.

Related vulnerabilities

Recent vulnerabilities recorded for mariadb.

How To Fix

Minimum fixed version

10.4.25-r0

This is the first release that contains the fix.

sudo apk add --upgrade mariadb

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback