Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • 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-21522

CVE-2025-21522: Oracle MySQL Server DoS Vulnerability

CVE-2025-21522 is a denial of service vulnerability in Oracle MySQL Server's Parser component that allows attackers to crash the database. This article covers the technical details, affected versions, impact, and mitigation.

Updated: January 22, 2026

CVE-2025-21522 Overview

CVE-2025-21522 is a denial of service vulnerability in the MySQL Server product of Oracle MySQL, specifically affecting the Server: Parser 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 the MySQL Server.

The vulnerability is classified under CWE-770 (Allocation of Resources Without Limits or Throttling), indicating that the parser component fails to properly limit resource consumption during certain operations. This flaw is easily exploitable via multiple network protocols, making it a significant availability concern for organizations running affected MySQL Server versions.

Critical Impact

Successful exploitation allows authenticated attackers to cause complete denial of service of MySQL Server instances, potentially disrupting critical database operations and dependent applications.

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

Discovery Timeline

  • 2025-01-21 - CVE-2025-21522 published to NVD
  • 2025-11-03 - Last updated in NVD database

Technical Details for CVE-2025-21522

Vulnerability Analysis

This vulnerability resides in the Server: Parser component of Oracle MySQL Server. The parser is responsible for interpreting and processing SQL queries before execution. The flaw stems from improper resource allocation handling during query parsing, where specific input patterns can trigger excessive resource consumption.

An authenticated attacker with low privileges can craft malicious SQL queries that exploit the parser's resource handling weakness. When processed, these queries cause the server to enter a hung state or crash repeatedly, denying service to legitimate users and applications.

The vulnerability affects availability only—there is no impact on confidentiality or integrity of data. However, the ease of exploitation and the potential for repeated crashes make this a significant operational risk for production database environments.

Root Cause

The root cause is identified as CWE-770: Allocation of Resources Without Limits or Throttling. The MySQL Server Parser component fails to implement proper bounds checking or resource limits when processing certain query structures. This allows an attacker to submit queries that consume excessive server resources, ultimately leading to service disruption.

The parser's inability to handle malformed or specially crafted input gracefully results in a denial of service condition that persists until the malicious queries are stopped or the server is restarted.

Attack Vector

The attack vector is network-based and requires only low-privilege authentication to execute. An attacker can exploit this vulnerability through multiple protocols supported by MySQL Server. The attack does not require user interaction and can be launched remotely by any authenticated user with basic database access.

The attack flow involves:

  1. An attacker establishes an authenticated connection to the MySQL Server
  2. Specially crafted SQL queries are submitted to the parser component
  3. The parser fails to properly limit resource allocation during query processing
  4. The server enters a hung state or crashes, denying service to all users

Since no code examples are available from verified sources, organizations should consult the Oracle Critical Patch Update January 2025 for detailed technical information about the vulnerability mechanism and exploitation scenarios.

Detection Methods for CVE-2025-21522

Indicators of Compromise

  • Unexpected MySQL Server crashes or hangs without apparent cause
  • Elevated resource consumption (CPU, memory) during query parsing operations
  • Repeated connection failures from legitimate applications
  • Error logs showing parser-related exceptions or resource exhaustion messages

Detection Strategies

  • Monitor MySQL error logs for frequent crash events or parser-related errors
  • Implement query auditing to identify unusual or malformed SQL statements
  • Track authentication events to identify potential attack sources
  • Configure alerting for MySQL service availability and restart events

Monitoring Recommendations

  • Enable MySQL slow query logging and analyze for anomalous query patterns
  • Deploy database activity monitoring to track all authenticated sessions
  • Set up automated health checks for MySQL Server availability
  • Monitor system resource utilization for MySQL processes to detect resource exhaustion attacks

How to Mitigate CVE-2025-21522

Immediate Actions Required

  • Apply the security patches provided in Oracle Critical Patch Update January 2025
  • Audit database user accounts and revoke unnecessary privileges
  • Implement network segmentation to restrict MySQL Server access to trusted hosts
  • Enable enhanced logging and monitoring for MySQL Server instances

Patch Information

Oracle has released security patches addressing this vulnerability in the January 2025 Critical Patch Update. Organizations should upgrade to the following patched versions:

  • MySQL Server versions newer than 8.0.40
  • MySQL Server versions newer than 8.4.3
  • MySQL Server versions newer than 9.1.0

For detailed patch information and download instructions, refer to the Oracle Critical Patch Update January 2025. Additional guidance is available in the NetApp Security Advisory NTAP-20250131-0004.

Workarounds

  • Restrict network access to MySQL Server to trusted IP addresses only
  • Implement strict firewall rules to limit exposure of database ports
  • Review and minimize database user privileges following the principle of least privilege
  • Consider deploying a database firewall or proxy to filter malicious queries
bash
# Example: Restrict MySQL access to specific hosts using iptables
iptables -A INPUT -p tcp --dport 3306 -s trusted_network/24 -j ACCEPT
iptables -A INPUT -p tcp --dport 3306 -j DROP

# Example: Review and audit MySQL user privileges
mysql -e "SELECT user, host, authentication_string FROM mysql.user;"

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechMysql

  • 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-2026-34271: Oracle MySQL Server DoS Vulnerability

  • CVE-2026-34272: Oracle MySQL Server DoS Vulnerability

  • CVE-2026-21952: MySQL Server Parser DoS Vulnerability

  • CVE-2026-21950: MySQL Server Optimizer 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