Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-101731 Overview
CVE-2026-101731 is a denial of service vulnerability in the Oracle MySQL Server and MySQL Cluster products. The flaw resides in the Server: Optimizer component and affects MySQL Server versions 8.4.0-8.4.12, 9.7.0-9.7.3, and 26.7.0-26.7.1. MySQL Cluster versions 8.0.0-8.0.49, 8.4.0-8.4.12, 9.7.0-9.7.3, and 26.7.0-26.7.1 are also affected. An authenticated, high-privileged attacker with network access can trigger a hang or repeatable crash of the database server. The weakness is categorized as improper access control [CWE-284].
Critical Impact
Successful exploitation causes a complete denial of service of MySQL Server or MySQL Cluster instances, disrupting dependent applications and services.
Affected Products
- Oracle MySQL Server versions 8.4.0-8.4.12, 9.7.0-9.7.3, and 26.7.0-26.7.1
- Oracle MySQL Cluster versions 8.0.0-8.0.49 and 8.4.0-8.4.12
- Oracle MySQL Cluster versions 9.7.0-9.7.3 and 26.7.0-26.7.1
Discovery Timeline
- 2026-10-20 - CVE-2026-101731 published to NVD as part of the Oracle Critical Patch Update
- 2026-10-22 - Last updated in NVD database
Technical Details for CVE-2026-101731
Vulnerability Analysis
The vulnerability resides in the query Optimizer component of MySQL Server and MySQL Cluster. The optimizer is responsible for planning and executing SQL queries efficiently by evaluating indexes, join orders, and execution paths. A specially constructed query processed by the optimizer causes the server to hang or crash, producing a complete denial of service condition. The flaw is classified under [CWE-284] Improper Access Control, indicating that privileged database operations lack sufficient restriction against inputs that destabilize the engine.
Attackers require high privileges, meaning valid credentials with elevated database rights are needed before exploitation. Oracle rates the issue as easily exploitable once that threshold is met. The EPSS probability of 0.44% reflects a low observed likelihood of exploitation in the near term.
Root Cause
The root cause is improper validation and access handling within the query optimizer logic. When the optimizer processes certain query shapes or operator combinations, internal state becomes inconsistent, producing an infinite loop or a fatal error that terminates the server process. Because the bug lies in optimization rather than storage execution, both standalone MySQL Server and the clustered NDB engine are impacted.
Attack Vector
Exploitation is remote and uses the standard MySQL network protocols. An authenticated attacker with elevated privileges submits a crafted SQL statement over any supported protocol. The query triggers the defective optimizer path, after which the server hangs or crashes. No user interaction is required, and the attacker needs no local access to the database host. Verified public exploitation code is not available, and the issue is not listed in the CISA Known Exploited Vulnerabilities catalog.
// No verified exploitation code is available for CVE-2026-101731.
// Refer to the Oracle Critical Patch Update advisory for
// vendor-published technical details.
Detection Methods for CVE-2026-101731
Indicators of Compromise
- Repeated unexpected restarts or hangs of mysqld or ndbd processes without resource exhaustion from legitimate workloads
- Server error log entries referencing optimizer assertions, signal handlers, or stack traces originating in optimizer modules
- Long-running or stalled queries submitted by privileged accounts shortly before a crash event
Detection Strategies
- Correlate MySQL general query log entries from high-privilege accounts with subsequent service restart events
- Monitor for anomalous SQL submitted by administrative users, especially from unusual source hosts or outside maintenance windows
- Baseline normal optimizer error log output and alert on new signal-handler or crash signatures
Monitoring Recommendations
- Enable the MySQL audit log plugin to capture statements executed by privileged roles and ship them to a central SIEM
- Track database uptime, connection failures, and replication lag as leading indicators of a denial of service event
- Alert on failed health checks for clustered MySQL and NDB nodes that recur across multiple instances
How to Mitigate CVE-2026-101731
Immediate Actions Required
- Apply the fixes published in the Oracle Critical Patch Update advisory of October 2026 to all affected MySQL Server and MySQL Cluster deployments
- Audit database accounts and remove unnecessary high-privilege grants that could satisfy the exploitation precondition
- Restrict network access to MySQL listener ports so only trusted application tiers and administrative hosts can connect
Patch Information
Oracle addressed CVE-2026-101731 in the October 2026 Critical Patch Update. Administrators should upgrade MySQL Server beyond 8.4.12, 9.7.3, and 26.7.1, and upgrade MySQL Cluster beyond 8.0.49, 8.4.12, 9.7.3, and 26.7.1. Refer to the Oracle Security Alert - October 2026 for complete patch availability and version mapping.
Workarounds
- Enforce least privilege by revoking administrative rights from service accounts that do not require them
- Place MySQL behind a database firewall or proxy that restricts the SQL verbs permitted by privileged accounts
- Configure automatic restart of mysqld through systemd or the clustered node manager to reduce downtime if the server crashes
# Example: restrict MySQL network exposure and enable auditing
# /etc/mysql/mysql.conf.d/hardening.cnf
[mysqld]
bind-address = 10.0.0.25
skip_name_resolve = ON
max_connections = 200
plugin-load-add = audit_log.so
audit_log_policy = ALL
audit_log_format = JSON
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

