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
    • 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-30721

CVE-2025-30721: Oracle MySQL Server DoS Vulnerability

CVE-2025-30721 is a denial of service vulnerability in Oracle MySQL Server affecting versions 8.0.0-8.0.41, 8.4.0-8.4.4, and 9.0.0-9.2.0. Attackers can cause system crashes with high privileges. This article covers technical details, affected versions, impact, and mitigation.

Updated: January 22, 2026

CVE-2025-30721 Overview

CVE-2025-30721 is a Denial of Service (DoS) vulnerability in the MySQL Server product of Oracle MySQL, specifically affecting the Server: UDF (User-Defined Function) component. This vulnerability allows a highly privileged attacker with local access to the MySQL Server infrastructure to cause a complete denial of service condition, resulting in a hang or frequently repeatable crash of the MySQL Server.

The vulnerability requires both high privileges and local access to the system where MySQL Server executes. Additionally, successful exploitation depends on human interaction from a person other than the attacker, making it more difficult to exploit in practice. While the impact is limited to availability (no confidentiality or integrity impact), a complete DoS of a database server can have significant operational consequences for dependent applications and services.

Critical Impact

Successful exploitation can result in a complete denial of service of Oracle MySQL Server, causing database crashes or hangs that disrupt all dependent applications and services.

Affected Products

  • Oracle MySQL Server 8.0.0 through 8.0.41
  • Oracle MySQL Server 8.4.0 through 8.4.4
  • Oracle MySQL Server 9.0.0 through 9.2.0

Discovery Timeline

  • April 15, 2025 - CVE-2025-30721 published to NVD
  • November 3, 2025 - Last updated in NVD database

Technical Details for CVE-2025-30721

Vulnerability Analysis

This vulnerability resides in the User-Defined Function (UDF) component of Oracle MySQL Server. UDFs allow users to extend MySQL functionality by creating custom functions that can be called in SQL statements. The vulnerability enables an attacker with high privileges and local system access to trigger a denial of service condition through the UDF mechanism.

The exploitation scenario requires a combination of factors: the attacker must have high privileges on the MySQL Server, must have local access to the infrastructure where the server executes, and must rely on some form of human interaction from another party. These requirements significantly limit the attack surface and make remote exploitation infeasible.

When successfully exploited, the vulnerability results in either a hang or a frequently repeatable crash of the MySQL Server, effectively achieving a complete denial of service. This impacts only availability—there is no data breach or modification possible through this attack vector.

Root Cause

The specific root cause has not been publicly disclosed by Oracle (classified as NVD-CWE-noinfo). Based on the vulnerability characteristics in the UDF component, the issue likely relates to improper handling of certain inputs or states within user-defined function processing that can trigger an unrecoverable error condition or infinite loop, leading to server instability.

Attack Vector

The attack requires local access to the MySQL Server infrastructure. An attacker must:

  1. Have high-level privileges on the MySQL Server instance
  2. Have direct access (local login) to the system where MySQL Server runs
  3. Trigger specific conditions in the UDF component that cause the server to crash or hang
  4. Rely on some form of human interaction to complete the attack chain

The local access requirement and need for high privileges significantly reduces the likelihood of exploitation in most deployment scenarios. This vulnerability cannot be exploited remotely over the network.

Detection Methods for CVE-2025-30721

Indicators of Compromise

  • Unexpected MySQL Server crashes or restarts, particularly following UDF-related operations
  • MySQL error logs showing repeated crashes associated with user-defined function execution
  • Abnormal system behavior on hosts running MySQL Server, especially from privileged local accounts
  • Unusual UDF creation or execution patterns from administrative accounts

Detection Strategies

  • Monitor MySQL Server error logs for crash events and correlate with UDF activity timestamps
  • Implement process monitoring to detect unexpected MySQL Server terminations or hangs
  • Audit UDF creation, modification, and execution activities, particularly from privileged accounts
  • Deploy endpoint detection solutions to identify suspicious local activity on database servers

Monitoring Recommendations

  • Configure alerting for MySQL Server process crashes and unexpected restarts
  • Enable MySQL audit logging to track administrative operations and UDF usage
  • Monitor system resource utilization for anomalies indicating potential DoS conditions
  • Review and baseline normal UDF usage patterns to identify deviations

How to Mitigate CVE-2025-30721

Immediate Actions Required

  • Apply the Oracle Critical Patch Update from April 2025 to all affected MySQL Server installations
  • Review and restrict high-privilege accounts that have local access to MySQL Server hosts
  • Audit current UDF configurations and remove any unnecessary user-defined functions
  • Implement principle of least privilege for database administrative accounts

Patch Information

Oracle has addressed this vulnerability in the Oracle Critical Patch Update April 2025. Organizations should upgrade to the following fixed versions:

  • MySQL Server 8.0.42 or later (for 8.0.x branch)
  • MySQL Server 8.4.5 or later (for 8.4.x branch)
  • MySQL Server 9.2.1 or later (for 9.x branch)

Additional advisory information is available from NetApp Security Advisory NTAP-20250502-0006.

Workarounds

  • Restrict local login access to MySQL Server hosts to essential personnel only
  • Implement strict access controls and monitoring for administrative database accounts
  • Consider disabling UDF functionality if not required for business operations by restricting the plugin_dir permissions
  • Deploy network segmentation to limit exposure of database infrastructure
bash
# Configuration example - Restrict UDF loading privileges
# Add to my.cnf or my.ini configuration file

[mysqld]
# Restrict plugin directory permissions
plugin_dir=/usr/lib64/mysql/plugin

# Consider disabling UDF loading by revoking INSERT privilege on mysql.func
# Run as MySQL root:
# REVOKE INSERT ON mysql.func FROM 'user'@'host';

# Enable audit logging for administrative operations
audit_log=ON
audit_log_format=JSON
audit_log_policy=LOGINS

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 Server

  • SeverityMEDIUM

  • CVSS Score4.0

  • EPSS Probability0.06%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • NVD-CWE-noinfo
  • Technical References
  • NetApp Security Advisory NTAP-20250502-0006
  • Vendor Resources
  • Oracle Critical Patch Update April 2025
  • Related CVEs
  • CVE-2025-21559: Oracle MySQL Server DoS Vulnerability

  • CVE-2025-21555: Oracle MySQL Server DOS Vulnerability

  • CVE-2025-21534: Oracle MySQL Server DoS Vulnerability

  • CVE-2025-21523: Oracle MySQL Server 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