Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-21581: Easily exploitable vulnerability allows high privileged attacker with network access via multiple protocols to compromise MySQL Server. Successful attacks of this vulnerability can result in unauthorized ability to cause a hang or frequently repeatable crash (complete DOS) of MySQL Server. in Oracle Corporation MySQL Server

0
Medium
VulnerabilityCVE-2025-21581cvecve-2025-21581
Published: Tue Apr 15 2025 (04/15/2025, 20:30:55 UTC)
Source: CVE Database V5
Vendor/Project: Oracle Corporation
Product: MySQL Server

Description

Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer). Supported versions that are affected are 8.0.0-8.0.41, 8.4.0-8.4.4 and 9.0.0-9.2.0. Easily exploitable vulnerability allows high privileged attacker with network access via multiple protocols to compromise MySQL Server. Successful attacks of this vulnerability can result in unauthorized ability to cause a hang or frequently repeatable crash (complete DOS) of MySQL Server. CVSS 3.1 Base Score 4.9 (Availability impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H).

AI-Powered Analysis

AILast updated: 11/03/2025, 20:11:13 UTC

Technical Analysis

CVE-2025-21581 is a vulnerability identified in the Oracle MySQL Server product, specifically within the Server Optimizer component. It affects multiple supported versions: 8.0.0 through 8.0.41, 8.4.0 through 8.4.4, and 9.0.0 through 9.2.0. The vulnerability allows an attacker with high privileges and network access via multiple protocols to cause the MySQL Server to hang or crash repeatedly, resulting in a complete denial-of-service (DoS) condition. The CVSS 3.1 vector indicates network attack vector (AV:N), low attack complexity (AC:L), requires high privileges (PR:H), no user interaction (UI:N), unchanged scope (S:U), and impacts only availability (A:H) with no confidentiality or integrity impact. The root cause relates to CWE-732, which involves incorrect permission assignment or management, suggesting that the vulnerability arises from improper handling of privileges or access control within the optimizer component. Although no public exploits are known at this time, the vulnerability is considered easily exploitable by a high-privileged attacker. The lack of patches at the time of publication means organizations must rely on interim mitigations until official fixes are released. The vulnerability's impact is primarily on service availability, potentially disrupting database operations critical to business continuity.

Potential Impact

For European organizations, the primary impact of CVE-2025-21581 is the risk of denial-of-service attacks against MySQL Server instances, which can lead to downtime of critical applications and services relying on these databases. This can affect sectors such as finance, healthcare, e-commerce, and public administration where MySQL is widely used. The disruption may cause operational delays, loss of productivity, and potential financial losses. Since the vulnerability requires high privileges, the risk is elevated in environments where internal threat actors or compromised privileged accounts exist. The absence of confidentiality or integrity impact reduces the risk of data breaches but does not mitigate the operational risks associated with service unavailability. European organizations with distributed MySQL deployments or those exposed to network access without adequate segmentation are particularly vulnerable. Additionally, the lack of known exploits currently provides a window for proactive defense, but the ease of exploitation once an exploit is developed could rapidly increase risk.

Mitigation Recommendations

1. Implement strict network segmentation and firewall rules to limit network access to MySQL Server only to trusted hosts and administrative users. 2. Enforce the principle of least privilege rigorously, ensuring that only necessary accounts have high-level privileges on MySQL instances. 3. Monitor MySQL server logs and system behavior for signs of unusual hangs or crashes that may indicate exploitation attempts. 4. Prepare for patch deployment by testing updates in controlled environments as soon as Oracle releases official patches addressing this vulnerability. 5. Consider deploying intrusion detection/prevention systems (IDS/IPS) tuned to detect anomalous MySQL traffic or repeated connection attempts that could precede exploitation. 6. Review and harden MySQL configuration settings to minimize exposure, such as disabling unused protocols or features that provide network access. 7. Conduct regular audits of privileged accounts and their access patterns to detect potential misuse. 8. Develop and test incident response plans specifically for database availability incidents to minimize downtime impact.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.2
Assigner Short Name
oracle
Date Reserved
2024-12-24T23:18:54.785Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 690908597fff0e30cee23a9a

Added to database: 11/3/2025, 7:54:01 PM

Last enriched: 11/3/2025, 8:11:13 PM

Last updated: 11/4/2025, 9:44:19 AM

Views: 13

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats