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-2026-21998

CVE-2026-21998: Oracle MySQL Server DOS Vulnerability

CVE-2026-21998 is a denial of service flaw in Oracle MySQL Server's Optimizer component that allows privileged attackers to crash the database. This article covers technical details, affected versions, and mitigations.

Published: April 23, 2026

CVE-2026-21998 Overview

CVE-2026-21998 is a Denial of Service vulnerability affecting the MySQL Server product of Oracle MySQL, specifically within the Server: Optimizer component. This vulnerability allows a highly 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.

Critical Impact

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

Affected Products

  • Oracle MySQL Server 8.0.0 through 8.0.45
  • Oracle MySQL Server 8.4.0 through 8.4.8
  • Oracle MySQL Server 9.0.0 through 9.6.0

Discovery Timeline

  • April 21, 2026 - CVE-2026-21998 published to NVD
  • April 23, 2026 - Last updated in NVD database

Technical Details for CVE-2026-21998

Vulnerability Analysis

This vulnerability resides in the MySQL Server's Optimizer component, which is responsible for determining the most efficient execution plan for SQL queries. The flaw is classified under CWE-400 (Uncontrolled Resource Consumption), indicating that the vulnerability involves improper handling of resource allocation that can be exploited to exhaust system resources.

The vulnerability is easily exploitable but requires the attacker to have high privileges on the MySQL Server. Once exploited, the attack results in an availability impact only—there is no compromise of data confidentiality or integrity. The attack can be executed remotely via network access using multiple protocols supported by MySQL.

Root Cause

The root cause of CVE-2026-21998 lies in the MySQL Server's query optimizer, which fails to properly validate or limit resource consumption during query optimization processes. This resource exhaustion vulnerability (CWE-400) allows specially crafted queries to trigger excessive resource usage, leading to a denial of service condition.

When the optimizer processes certain malformed or complex query structures, it can enter a state where it consumes excessive CPU, memory, or other system resources, ultimately causing the server to hang or crash repeatedly.

Attack Vector

The attack is conducted over the network and requires the attacker to have high-level privileges on the target MySQL Server. The attacker sends specially crafted SQL queries that exploit the optimizer's resource handling weakness. Since no user interaction is required and the attack complexity is low, a privileged attacker can reliably trigger the denial of service condition.

The attack does not require any special conditions beyond network access and appropriate privileges, making it straightforward for attackers who have already gained administrative or elevated access to the MySQL instance.

Detection Methods for CVE-2026-21998

Indicators of Compromise

  • Unusual patterns of MySQL Server crashes or hangs correlating with specific query executions
  • Excessive CPU or memory consumption by the mysqld process without corresponding legitimate workload increases
  • Error logs showing repeated optimizer-related failures or resource exhaustion warnings
  • Abnormal query patterns from high-privileged accounts that deviate from baseline behavior

Detection Strategies

  • Monitor MySQL error logs for optimizer-related crashes, hangs, or resource exhaustion messages
  • Implement query logging and analysis to identify unusual or potentially malicious query patterns from privileged users
  • Deploy database activity monitoring (DAM) solutions to track and alert on anomalous administrative queries
  • Use SentinelOne Singularity to monitor for process anomalies and resource exhaustion patterns on database servers

Monitoring Recommendations

  • Enable MySQL's Performance Schema and sys schema to track query execution metrics and resource usage
  • Set up alerts for MySQL Server availability and automatic restart events
  • Monitor privileged user account activity and implement session logging for administrative connections
  • Establish baseline resource consumption metrics and configure threshold-based alerting for deviations

How to Mitigate CVE-2026-21998

Immediate Actions Required

  • Upgrade MySQL Server to the latest patched version as identified in Oracle's April 2026 Critical Patch Update
  • Review and audit all high-privileged MySQL accounts to ensure least privilege principles are enforced
  • Implement network segmentation to restrict MySQL Server access to authorized hosts only
  • Enable query timeout limits using max_execution_time to prevent long-running queries from consuming excessive resources

Patch Information

Oracle has released patches for this vulnerability as part of the Oracle Security Alert April 2026. Organizations should apply the appropriate patches for their MySQL Server version:

  • MySQL Server 8.0.x: Upgrade to version 8.0.46 or later
  • MySQL Server 8.4.x: Upgrade to version 8.4.9 or later
  • MySQL Server 9.x: Upgrade to version 9.6.1 or later

Review the official Oracle security advisory for detailed patch instructions and download links.

Workarounds

  • Restrict network access to MySQL Server using firewall rules to limit exposure to trusted networks only
  • Implement strict privilege management by reviewing and reducing the number of accounts with high-level privileges
  • Configure resource limits using MySQL's resource group feature to constrain resource consumption per session
  • Enable connection rate limiting and implement IP-based access controls through MySQL's host-based authentication
bash
# Configuration example - Implement query timeout and resource limits
# Add to my.cnf or my.ini configuration file

[mysqld]
# Set maximum query execution time (in milliseconds)
max_execution_time=30000

# Limit connections per user to reduce impact of compromised accounts
max_user_connections=50

# Enable slow query log to identify problematic queries
slow_query_log=1
slow_query_log_file=/var/log/mysql/slow-query.log
long_query_time=10

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.9

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-400
  • Vendor Resources
  • Oracle Security Alert April 2026
  • Related CVEs
  • CVE-2026-35235: Oracle MySQL Server DoS Vulnerability

  • CVE-2026-35234: Oracle MySQL Server DOS Vulnerability

  • CVE-2026-34308: Oracle MySQL Server DOS Vulnerability

  • CVE-2026-34304: 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