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

CVE-2026-35240: Oracle MySQL Server DOS Vulnerability

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

Published: April 23, 2026

CVE-2026-35240 Overview

CVE-2026-35240 is a Denial of Service vulnerability in the MySQL Server product of Oracle MySQL, specifically within the Server: Optimizer component. This vulnerability allows a high-privileged attacker with network access to cause a complete denial of service by triggering a hang or frequently repeatable crash of the MySQL Server.

Critical Impact

Successful exploitation enables attackers with administrative privileges 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

  • 2026-04-21 - CVE-2026-35240 published to NVD
  • 2026-04-23 - Last updated in NVD database

Technical Details for CVE-2026-35240

Vulnerability Analysis

This vulnerability resides in the Query Optimizer component of MySQL Server, which is responsible for determining the most efficient execution plan for SQL queries. The flaw is classified under CWE-284 (Improper Access Control), indicating that the vulnerability stems from insufficient restrictions on actions that can be performed by authenticated users with elevated privileges.

The attack can be executed remotely over multiple network protocols supported by MySQL, and exploitation is considered relatively straightforward once an attacker has obtained high-privilege access to the database server. While the vulnerability requires elevated privileges, the impact is severe as it enables complete service disruption.

Root Cause

The vulnerability originates from improper handling within the Optimizer component when processing certain query patterns. When specific conditions are met during query optimization, the server enters a state that results in either a hang condition or a crash, leading to service unavailability. The improper access control classification suggests that the Optimizer fails to adequately validate or restrict certain operations that can trigger the denial of service condition.

Attack Vector

The attack is network-based and requires the attacker to have authenticated access with high privileges (such as database administrator rights). The exploitation does not require user interaction and can be reliably reproduced once the triggering conditions are identified.

An attacker with elevated MySQL privileges could craft specific SQL queries that trigger the vulnerable code path in the Optimizer component. When these queries are executed, the server process either hangs indefinitely or crashes, requiring manual intervention to restore service. The easily exploitable nature of this vulnerability means that once an attacker identifies the triggering pattern, exploitation can be repeated at will to maintain a denial of service condition.

Detection Methods for CVE-2026-35240

Indicators of Compromise

  • Unexpected MySQL Server crashes or restarts without apparent cause
  • MySQL error logs showing optimizer-related errors or assertion failures
  • Repeated service unavailability correlated with specific query patterns from privileged accounts
  • Unusual query activity from administrative accounts targeting database optimization functions

Detection Strategies

  • Monitor MySQL error logs for crash dumps and optimizer component errors
  • Implement audit logging for all administrative database queries to identify suspicious patterns
  • Configure alerting for MySQL service availability and unexpected restarts
  • Deploy database activity monitoring solutions to detect anomalous queries from privileged users

Monitoring Recommendations

  • Enable MySQL general query log temporarily during investigation periods to capture potential exploit attempts
  • Configure process monitoring to alert on MySQL daemon crashes or excessive resource consumption
  • Implement database health checks that verify query processing functionality
  • Review administrative account access patterns for unusual query volumes or timing

How to Mitigate CVE-2026-35240

Immediate Actions Required

  • Review and restrict administrative privileges to only essential personnel
  • Implement network segmentation to limit MySQL server access to trusted hosts only
  • Enable comprehensive audit logging for all privileged database operations
  • Apply the Oracle Critical Patch Update as soon as possible

Patch Information

Oracle has addressed this vulnerability in the April 2026 Critical Patch Update. Organizations should upgrade their MySQL Server installations to patched versions as specified in the Oracle Critical Patch Update Advisory.

For MySQL Server 8.0.x, upgrade to a version newer than 8.0.45. For MySQL Server 8.4.x, upgrade to a version newer than 8.4.8. For MySQL Server 9.x, upgrade to a version newer than 9.6.0.

Workarounds

  • Restrict network access to MySQL Server to only trusted administrative hosts using firewall rules
  • Implement strict role-based access control to minimize the number of high-privilege accounts
  • Enable MySQL Enterprise Firewall (if licensed) to whitelist expected query patterns
  • Consider read-only replicas for non-critical operations to reduce primary server attack surface
bash
# Example: Restrict MySQL access to trusted hosts via firewall
iptables -A INPUT -p tcp --dport 3306 -s 10.0.0.0/8 -j ACCEPT
iptables -A INPUT -p tcp --dport 3306 -j DROP

# Review privileged users in MySQL
mysql -e "SELECT user, host FROM mysql.user WHERE Super_priv='Y' OR Grant_priv='Y';"

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

  • 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-284
  • Vendor Resources
  • Oracle Critical Patch Update
  • 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