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-21968

CVE-2026-21968: MySQL Server Optimizer DoS Vulnerability

CVE-2026-21968 is a denial of service vulnerability in MySQL Server Optimizer that allows attackers to crash the database. This post covers technical details, affected versions 8.0-9.5, impact analysis, and mitigation.

Published: January 23, 2026

CVE-2026-21968 Overview

CVE-2026-21968 is a Denial of Service (DoS) vulnerability affecting the MySQL Server product of Oracle MySQL, specifically within the Server: Optimizer component. This vulnerability enables an authenticated attacker with low privileges and network access to cause a complete denial of service by triggering a hang or frequently repeatable crash of the MySQL Server.

Critical Impact

A low-privileged attacker can exploit this vulnerability remotely via multiple protocols to cause complete denial of service, resulting in MySQL Server becoming unavailable to legitimate users and applications.

Affected Products

  • MySQL Server 8.0.0 through 8.0.44
  • MySQL Server 8.4.0 through 8.4.7
  • MySQL Server 9.0.0 through 9.5.0

Discovery Timeline

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

Technical Details for CVE-2026-21968

Vulnerability Analysis

This vulnerability resides in the MySQL Server Optimizer component, which is responsible for determining the most efficient execution plan for SQL queries. The flaw allows authenticated users with minimal privileges to craft specific queries that trigger resource exhaustion or an unhandled condition within the optimizer logic, leading to server instability.

The vulnerability is easily exploitable as it requires no user interaction and can be triggered via multiple network protocols supported by MySQL. While the attack does not compromise data confidentiality or integrity, the availability impact is severe—the server can be forced into a hang state or crash repeatedly, disrupting all database operations for connected applications.

Root Cause

The root cause lies within the query optimization logic of MySQL Server. When processing certain malformed or specially crafted SQL statements, the optimizer fails to properly handle edge cases, leading to either an infinite loop condition causing server hangs or an unhandled exception resulting in server crashes. This represents a classic resource exhaustion or algorithmic complexity vulnerability within the database engine's query processing pipeline.

Attack Vector

The attack is network-based and can be executed by any authenticated user with basic database privileges. The attacker connects to the MySQL Server using standard MySQL protocols and submits crafted SQL queries designed to trigger the vulnerable code path in the optimizer. No specialized tools are required—the attack can be performed using standard MySQL client utilities.

The exploitation mechanism involves:

  1. Establishing an authenticated connection to the target MySQL Server
  2. Submitting SQL queries that exercise the vulnerable optimizer code path
  3. The optimizer enters a hang state or crashes during query planning
  4. The MySQL Server becomes unavailable to all users

Since the vulnerability allows for "frequently repeatable crash" behavior, an attacker can continuously disrupt service even after the server is restarted, making this particularly impactful for high-availability database deployments.

Detection Methods for CVE-2026-21968

Indicators of Compromise

  • Unusual patterns of MySQL Server crashes or restarts in system logs
  • Repeated crash events originating from the optimizer component in MySQL error logs
  • Database connections from suspicious sources followed immediately by server unavailability
  • Abnormal query patterns targeting the optimizer with complex or malformed statements

Detection Strategies

  • Monitor MySQL error logs for optimizer-related crash signatures and stack traces
  • Implement query analysis rules to detect unusual or malicious SQL patterns
  • Deploy network monitoring to identify repeated connection attempts correlating with server crashes
  • Use SentinelOne Singularity Platform to monitor for abnormal MySQL process behavior and crash events

Monitoring Recommendations

  • Configure MySQL audit logging to capture all queries from low-privileged users
  • Set up alerting for MySQL Server process crashes or unexpected restarts
  • Monitor system resource utilization for signs of resource exhaustion attacks
  • Implement database activity monitoring (DAM) solutions to baseline normal query behavior

How to Mitigate CVE-2026-21968

Immediate Actions Required

  • Upgrade MySQL Server to the latest patched version as soon as Oracle releases a security update
  • Review and restrict database user privileges to the minimum required
  • Implement network segmentation to limit MySQL Server exposure
  • Enable connection rate limiting to slow down potential attack attempts

Patch Information

Oracle has addressed this vulnerability in their January 2026 Critical Patch Update. Administrators should apply the security patches immediately by upgrading to a fixed version of MySQL Server. Refer to the Oracle January 2026 Security Alert for detailed patch information and download links.

Workarounds

  • Restrict network access to MySQL Server to trusted IP addresses only using firewall rules
  • Review and audit all database users, removing unnecessary accounts and reducing privileges
  • Consider implementing a database proxy or application firewall that can filter malicious queries
  • Monitor for unusual query patterns and implement query timeout limits to mitigate impact
bash
# Example: Restrict MySQL access at the firewall level
# Only allow connections from trusted application servers
iptables -A INPUT -p tcp --dport 3306 -s 10.0.0.0/8 -j ACCEPT
iptables -A INPUT -p tcp --dport 3306 -j DROP

# Set query timeout to limit impact of hanging queries
# Add to my.cnf under [mysqld] section
# max_execution_time=30000

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

  • CVE-2026-21950: MySQL Server Optimizer DoS Vulnerability

  • CVE-2026-21949: MySQL Server DOS Vulnerability

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