Segmentation Fault in MariaDB Server v10.9 and below

mariadb Updated 02 Oct 2025

Summary

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

CVE-2022-27445: MariaDB Server v10.9 and below was discovered to contain a segmentation fault via the component sql/sql_window.cc. 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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

MariaDB Server is an open-source relational database management system. It provides a robust and scalable solution for storing and retrieving data. The server is widely used in various applications and environments. However, versions 10.9 and below are vulnerable to a segmentation fault in the sql/sql_window.cc component.

Vulnerability Detail

The vulnerability (CVE-2022-27445) in MariaDB Server v10.9 and below can lead to a segmentation fault. This can be exploited by an attacker to crash the server, causing a denial of service (DoS) condition. The vulnerability originates from a flaw in the sql/sql_window.cc component. It is important to note that this vulnerability does not directly allow for remote code execution or unauthorized access to data.

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

There is no known workaround for this vulnerability. It is necessary to apply the recommended fix by upgrading to a fixed version of MariaDB Server.

Conclusion

The segmentation fault vulnerability in MariaDB Server v10.9 and below can lead to a denial of service (DoS) condition. It is crucial to upgrade to a fixed version of MariaDB Server (10.4.25-r0, 10.5.16-r0, or 10.6.8-r0) to mitigate the risk. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for mariadb →

Share this vulnerability

FAQ

The vulnerability can lead to a segmentation fault and cause the MariaDB Server to crash, resulting in a denial of service (DoS) condition. However, it does not directly allow for remote code execution or unauthorized access to data.

Versions 10.9 and below of MariaDB Server are affected by this vulnerability.

There are no known exploits for this vulnerability at the time of this report. However, it is important to apply the recommended fix to mitigate the risk of a DoS attack.

No, there is no known workaround for this vulnerability. It is necessary to upgrade to a fixed version of MariaDB Server.

You can find more information about this vulnerability in the CVE-2022-27445.json file available at the following source: https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-27445.json

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