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

CVE-2026-21950: MySQL Server Optimizer DoS Vulnerability

CVE-2026-21950 is a denial of service vulnerability in MySQL Server's Optimizer component affecting versions 9.0.0-9.5.0. Attackers can cause complete server crashes. This article covers technical details, impact, and mitigations.

Published: January 23, 2026

CVE-2026-21950 Overview

CVE-2026-21950 is a Denial of Service vulnerability affecting the MySQL Server product of Oracle MySQL, specifically within 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 the MySQL Server.

The vulnerability exists in the query optimizer component, which is responsible for determining the most efficient execution plan for SQL queries. By crafting specific queries, an attacker can trigger resource exhaustion conditions that lead to service unavailability.

Critical Impact

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

Affected Products

  • Oracle MySQL Server versions 9.0.0 through 9.5.0
  • MySQL Server Optimizer component
  • Systems accessible via network protocols (MySQL, X Protocol)

Discovery Timeline

  • January 20, 2026 - CVE-2026-21950 published to NVD
  • January 21, 2026 - Last updated in NVD database

Technical Details for CVE-2026-21950

Vulnerability Analysis

This vulnerability is classified under CWE-400 (Uncontrolled Resource Consumption), indicating that the MySQL Server Optimizer fails to properly limit resource consumption when processing certain types of queries. The flaw resides in the query optimization phase where malformed or specially crafted queries can consume excessive system resources.

The attack requires only low-level privileges, meaning any authenticated user with basic database access could potentially exploit this vulnerability. The attack is easily exploitable and does not require user interaction, making it particularly concerning for multi-tenant database environments or systems with less trusted users.

Root Cause

The root cause of this vulnerability lies in the MySQL Server's Optimizer component failing to implement proper resource bounds checking during query plan generation. When processing complex or maliciously crafted queries, the optimizer enters a state that leads to uncontrolled resource consumption, ultimately causing the server to hang or crash.

This type of vulnerability typically occurs when:

  • Query complexity metrics are not properly validated
  • Recursive optimization paths lack termination conditions
  • Memory allocation during plan generation is unbounded

Attack Vector

The attack vector is network-based, allowing exploitation via multiple MySQL protocols. An attacker with low-level database privileges can execute specially crafted SQL queries that trigger the vulnerable code path in the optimizer. The attack does not require any user interaction and can be repeated reliably to maintain a denial of service condition.

The exploitation path typically involves:

  1. Establishing a valid MySQL connection with low-privileged credentials
  2. Submitting queries designed to stress the optimizer's resource handling
  3. Causing the server to enter a hung state or crash repeatedly

Since no verified code examples are available for this vulnerability, organizations should consult the Oracle Security Alert January 2026 for detailed technical information and specific query patterns that trigger this issue.

Detection Methods for CVE-2026-21950

Indicators of Compromise

  • Unexpected MySQL server crashes or service restarts with optimizer-related error messages in logs
  • Abnormally high CPU or memory consumption by MySQL processes during query execution
  • Error logs showing repeated query optimization failures or timeout conditions
  • Unusual patterns of complex queries from specific database users or applications

Detection Strategies

  • Monitor MySQL error logs for optimizer-related crashes, stack traces, or assertion failures
  • Implement query execution monitoring to detect anomalous resource consumption patterns
  • Enable MySQL Performance Schema to track query execution metrics and identify resource-intensive operations
  • Configure alerting for MySQL service availability and automatic restart events

Monitoring Recommendations

  • Set up real-time monitoring of MySQL server availability with rapid alerting on unexpected downtime
  • Track query execution times and resource consumption, establishing baselines to detect anomalies
  • Monitor system resources (CPU, memory) allocated to MySQL processes for unusual spikes
  • Implement log aggregation to correlate crash events across MySQL server instances

How to Mitigate CVE-2026-21950

Immediate Actions Required

  • Apply the security patch from Oracle's January 2026 Critical Patch Update immediately
  • Review and restrict database privileges, ensuring users have only the minimum required permissions
  • Implement query timeout limits using max_execution_time to prevent long-running queries from impacting server stability
  • Consider implementing connection throttling and rate limiting for database access

Patch Information

Oracle has released security patches addressing this vulnerability as part of the January 2026 Critical Patch Update. Organizations running MySQL Server versions 9.0.0 through 9.5.0 should upgrade to the latest patched version immediately.

For detailed patch information and download links, refer to the Oracle Security Alert January 2026.

Workarounds

  • Implement strict query timeout configurations using MySQL's max_execution_time system variable
  • Restrict network access to MySQL servers using firewall rules, allowing only trusted hosts
  • Review and minimize user privileges, removing unnecessary SELECT or query privileges where possible
  • Deploy MySQL behind a database proxy that can implement additional query filtering and rate limiting
bash
# Configuration example - MySQL timeout and resource limits
# Add to my.cnf or my.ini configuration file

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

# Limit optimizer search depth for complex queries
optimizer_search_depth=10

# Set connection timeout to prevent hung connections
wait_timeout=300
interactive_timeout=300

# Limit maximum connections to prevent resource exhaustion
max_connections=150

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.04%

  • 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-400
  • Technical References
  • Oracle Security Alert January 2026
  • Related CVEs
  • CVE-2026-21952: MySQL Server Parser DoS Vulnerability

  • CVE-2026-21949: MySQL Server DOS Vulnerability

  • CVE-2026-21948: MySQL Server DOS Vulnerability

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