Appsecure logo

CVE-2022-27386: High Vulnerability in MariaDB Server

A high-severity segmentation fault vulnerability has been identified in MariaDB Server v10.7 and below. This issue affects availability and requires immediate action from organizations using the impacted versions.

HIGHCVSS 7.5 · Published April 12, 2022

Not a customer? See how AppSecure simulates real world attacks to protect your infrastructure.

Speak to Experts

This vulnerability allows MariaDB Server v10.7 and below to experience a segmentation fault, as identified in the component sql/sql_class.cc. With a CVSS score of 7.5, this vulnerability is classified as high severity. The potential impact is significant as it affects the availability of the database service. Organizations running these versions should take immediate action to mitigate the risk.

Risk to organizations includes service outages and potential disruptions to applications relying on MariaDB, making it critical to assess the exposure and prioritize remediation efforts. There is currently no public exploit known, but the vulnerability remains a concern for those operating vulnerable versions.

Organizations should prioritize patching immediately to prevent potential service interruptions. Given the nature of the vulnerability, it is advisable to monitor for any updates from the vendor regarding patches or workarounds.

The vulnerability was published on April 12, 2022, and has been modified since its initial release. Organizations are advised to keep abreast of any further updates regarding this vulnerability.

Vulnerability Details

The official description of the vulnerability states that MariaDB Server v10.7 and below was discovered to contain a segmentation fault via the component sql/sql_class.cc. This vulnerability falls under the CWE-89 classification, which pertains to SQL injection vulnerabilities.

The CVSS 3.1 score of 7.5 indicates a high severity level, primarily due to its potential impact on availability. The vulnerability allows attackers to exploit the software over a network without requiring privileges or user interaction.

The vulnerability affects multiple versions of MariaDB, specifically versions 10.2.0 to 10.2.44, 10.3.0 to 10.3.35, 10.4.0 to 10.4.25, 10.5.0 to 10.5.16, 10.6.0 to 10.6.8, and 10.7.0 to 10.7.4.

Technical Analysis

The root cause of this vulnerability is a segmentation fault occurring within the sql/sql_class.cc component of MariaDB. The attack vector is network-based, with low complexity, meaning that an attacker does not require special conditions or privileges to exploit this vulnerability.

No user interaction is required for exploitation, and the impact on availability is high, meaning that a successful attack could lead to a complete service interruption. This vulnerability poses a risk to organizations that rely on MariaDB for critical database services.

Risk & Impact Analysis

Real-world deployment risk is significant given the high potential for availability disruption. Organizations utilizing affected versions may face downtime, which could lead to financial losses and damage to reputation. The urgency for remediation is high, as the vulnerability's exploitability is rated high, and the impact on availability is critical.

Given the CVSS score of 7.5, organizations should incorporate this vulnerability into their risk management processes and prioritize it for immediate remediation efforts.

Signal

Status

Known Exploit

No

Public PoC

No

Actively Exploited

No

Ransomware Use

No

Affected Versions

The affected versions of MariaDB include those before 10.7, specifically: 10.2.0 to 10.2.44, 10.3.0 to 10.3.35, 10.4.0 to 10.4.25, 10.5.0 to 10.5.16, 10.6.0 to 10.6.8, and 10.7.0 to 10.7.4. Organizations should ensure they are running versions beyond these ranges to mitigate risk.

Mitigation & Remediation

Organizations should apply patches as soon as they are available to remediate this vulnerability. If a patch is unavailable, consider implementing configuration hardening measures and network controls to limit exposure.

For further assistance, organizations may explore penetration testing services to identify any vulnerabilities in their infrastructure.

Detection Guidance

Organizations should monitor logs for any signs of abnormal behavior that may indicate an attempt to exploit this vulnerability, as well as watch for any related network traffic anomalies.

AppSecure Threat Intelligence Insight

The long-term significance of this vulnerability is that it highlights the importance of maintaining up-to-date software versions to minimize exposure to known issues. It also serves as a reminder of the need for robust vulnerability management practices.

Security teams should focus on implementing comprehensive testing methodologies to catch such vulnerabilities early in the development lifecycle and ensure security measures are in place.

For more information on vulnerability management best practices, refer to our vulnerability management program guide.

Additionally, organizations should consider enhancing their security posture through penetration testing methodology to identify and remediate vulnerabilities proactively.

Finally, awareness training for development and operations teams can help mitigate risks associated with vulnerabilities like this one, ensuring that all personnel are equipped to handle security issues effectively.

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Latest CVEs. Recently published vulnerabilities from the NVD database.

View all vulnerabilities
CVE IDSeverity
CVE-2025-65418HIGH
CVE-2025-65417MEDIUM
CVE-2025-65416MEDIUM
CVE-2025-65415MEDIUM
CVE-2025-61314HIGH

Protect Your Business with Hacker-Focused Approach.