Segmentation Fault Vulnerability in MariaDB - CVE-2022-27451

mariadb Updated 02 Oct 2025

Summary

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

ALPINE-CVE-2022-27451: MariaDB Server v10.9 and below was discovered to contain a segmentation fault via the component sql/field_conv.cc. Affects mariadb versions < 10.4.25-r0. 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

MariaDB is an open-source relational database management system that is widely used for web applications and data storage. It is known for its high performance, scalability, and compatibility with MySQL. The vulnerability in question affects MariaDB versions 10.9 and below, where a segmentation fault can occur due to an issue in the component sql/field_conv.cc, potentially leading to application crashes and data loss.

Vulnerability Detail

The vulnerability identified as CVE-2022-27451 originates from a segmentation fault in the MariaDB server, specifically within the sql/field_conv.cc component. This flaw can be exploited to cause the server to crash, resulting in denial of service and potential data corruption. The CVSS score for this vulnerability is 7.5, indicating a high severity level, which underscores the importance of addressing this issue promptly.

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

As a temporary workaround, users can limit access to the MariaDB server or implement monitoring to detect crashes. However, the best course of action is to apply the patch as soon as possible.

Conclusion

In summary, CVE-2022-27451 is a significant vulnerability in MariaDB that can lead to severe operational issues. It is crucial for users to update to the latest patched versions to ensure the integrity and availability of their database systems.

See every vulnerability recorded for mariadb →

Share this vulnerability

FAQ

CVE-2022-27451 is a vulnerability in MariaDB that can cause a segmentation fault, leading to server crashes.

MariaDB versions 10.9 and below are affected by this vulnerability.

The vulnerability can lead to denial of service, application crashes, and potential data loss.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.

If immediate updates are not possible, consider implementing access restrictions and monitoring to mitigate risks until the patch can be applied.

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