The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-21518

CVE-2025-21518: Oracle MySQL Cluster DoS Vulnerability

CVE-2025-21518 is a denial of service flaw in Oracle MySQL Cluster's Server Optimizer component that allows low-privileged attackers to crash the server. This article covers technical details, affected versions, and mitigation.

Updated: January 22, 2026

CVE-2025-21518 Overview

CVE-2025-21518 is a Denial of Service vulnerability in the MySQL Server product of Oracle MySQL, specifically affecting the Server: Optimizer component. This vulnerability allows a low privileged attacker with network access to cause a complete denial of service condition, resulting in a hang or frequently repeatable crash of MySQL Server.

The flaw is classified under CWE-770 (Allocation of Resources Without Limits or Throttling), indicating that the vulnerability stems from improper resource management within the query optimizer. Attackers can exploit this weakness via multiple network protocols, making it easily exploitable by authenticated users with minimal privileges.

Critical Impact

Successful exploitation enables attackers to completely disrupt MySQL Server availability, causing service outages that can impact dependent applications and business operations.

Affected Products

  • Oracle MySQL Server 8.0.40 and prior versions
  • Oracle MySQL Server 8.4.3 and prior versions
  • Oracle MySQL Server 9.1.0 and prior versions
  • Oracle MySQL Cluster (multiple affected versions)

Discovery Timeline

  • 2025-01-21 - CVE-2025-21518 published to NVD
  • 2025-01-21 - Oracle releases security patch in Critical Patch Update January 2025
  • 2025-11-03 - Last updated in NVD database

Technical Details for CVE-2025-21518

Vulnerability Analysis

This vulnerability resides in the Server: Optimizer component of MySQL Server. The optimizer is responsible for determining the most efficient execution plan for SQL queries. When malformed or specially crafted queries are submitted, the optimizer fails to properly limit resource allocation during query processing.

The vulnerability is easily exploitable and requires only low-level privileges, meaning any authenticated database user with basic query execution capabilities can trigger the flaw. The attack does not require user interaction and can be executed remotely over the network via multiple protocols supported by MySQL.

The impact is limited to availability—there is no confidentiality or integrity impact. However, the ability to cause a complete denial of service can be devastating for production database environments where uptime is critical.

Root Cause

The root cause is CWE-770: Allocation of Resources Without Limits or Throttling. The MySQL Server Optimizer component fails to properly constrain resource consumption when processing certain query patterns. This allows an attacker to exhaust server resources, leading to service unavailability.

The optimizer's handling of specific query structures does not include adequate bounds checking or resource limits, enabling resource exhaustion attacks that can crash the server or cause it to hang indefinitely.

Attack Vector

The attack vector is network-based, allowing exploitation from remote locations. An attacker needs:

  1. Network connectivity to the MySQL Server
  2. Valid credentials with low-level database privileges
  3. Ability to execute queries against the database

The attacker can submit specially crafted SQL queries that trigger the vulnerable code path in the optimizer. These queries cause the server to consume excessive resources without proper limits, ultimately resulting in a denial of service condition. The attack can be repeated to maintain service disruption or triggered during critical business operations for maximum impact.

Since multiple protocols are affected, attackers may use standard MySQL client connections, JDBC/ODBC drivers, or other MySQL-compatible interfaces to deliver the malicious queries.

Detection Methods for CVE-2025-21518

Indicators of Compromise

  • Unusual spikes in MySQL Server CPU or memory utilization without corresponding increase in legitimate workload
  • Repeated MySQL Server crashes or unexpected service restarts in error logs
  • Query execution patterns showing abnormally long-running optimizer phases
  • Connection timeouts and client errors indicating server unavailability

Detection Strategies

  • Monitor MySQL error logs for optimizer-related crashes and exceptions
  • Implement query profiling to identify anomalous query patterns targeting the optimizer
  • Configure performance schema monitoring to track resource consumption spikes
  • Deploy database activity monitoring (DAM) solutions to detect suspicious query behavior
  • Review slow query logs for queries with unusual execution plans

Monitoring Recommendations

  • Enable MySQL Performance Schema and monitor events_stages_* tables for optimizer anomalies
  • Set up alerts for MySQL service availability and automatic restart events
  • Configure resource usage thresholds for CPU, memory, and connection counts
  • Implement network-level monitoring for unusual connection patterns to MySQL ports

How to Mitigate CVE-2025-21518

Immediate Actions Required

  • Apply the Oracle Critical Patch Update January 2025 to all affected MySQL Server instances
  • Upgrade MySQL Server to the latest patched version (post-8.0.40, post-8.4.3, or post-9.1.0)
  • Review and restrict database user privileges to minimize attack surface
  • Implement network segmentation to limit exposure of MySQL servers
  • Enable query timeouts and resource limits as temporary protective measures

Patch Information

Oracle has released patches for this vulnerability as part of the Oracle Critical Patch Update January 2025. Organizations should consult the advisory for specific patch instructions and version upgrade paths.

Additional security guidance is available from NetApp Security Advisory NTAP-20250131-0004 for environments using NetApp storage solutions with MySQL.

Workarounds

  • Implement strict network access controls to limit MySQL Server exposure to trusted networks only
  • Review and revoke unnecessary database user accounts and privileges
  • Configure max_execution_time system variable to limit query execution duration
  • Use MySQL Enterprise Firewall or similar solutions to filter malicious query patterns
  • Deploy a database proxy or load balancer with query inspection capabilities to filter suspicious requests
bash
# Configuration example - Set query execution limits in MySQL
# Add to my.cnf or my.ini configuration file
[mysqld]
max_execution_time=30000
max_connections=100
interactive_timeout=300
wait_timeout=300

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechOracle Mysql

  • SeverityMEDIUM

  • CVSS Score6.5

  • EPSS Probability0.28%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-770
  • Technical References
  • NetApp Security Advisory NTAP-20250131-0004
  • Vendor Resources
  • Oracle Critical Patch Update January 2025
  • Related CVEs
  • CVE-2025-21521: Oracle MySQL Server DoS Vulnerability

  • CVE-2025-21574: Oracle MySQL Cluster DOS Vulnerability

  • CVE-2025-50078: Oracle MySQL Server DML DOS Vulnerability

  • CVE-2023-22084: Oracle MySQL Server InnoDB DoS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English