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-101789 Overview
CVE-2026-101789 is a denial of service (DoS) vulnerability in the Oracle MySQL Server and MySQL Cluster Optimizer component. The flaw allows a low-privileged attacker with network access to crash or hang the database engine through multiple protocols. Successful exploitation produces a complete DoS condition affecting database availability.
Affected MySQL Server releases include 8.4.0 through 8.4.12, 9.7.0 through 9.7.3, and 26.7.0 through 26.7.1. Affected MySQL Cluster releases include 8.0.0 through 8.0.49, 8.4.0 through 8.4.12, 9.7.0 through 9.7.3, and 26.7.0 through 26.7.1. The vulnerability maps to [CWE-284: Improper Access Control].
Critical Impact
An authenticated attacker can trigger a repeatable crash or hang of MySQL Server or MySQL Cluster, resulting in complete loss of database availability.
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, 8.4.0-8.4.12, and 9.7.0-9.7.3
- Oracle MySQL Cluster version 26.7.0-26.7.1
Discovery Timeline
- 2026-10-20 - CVE-2026-101789 published to NVD
- 2026-10-22 - Last updated in NVD database
Technical Details for CVE-2026-101789
Vulnerability Analysis
The vulnerability resides in the Optimizer component of MySQL Server and MySQL Cluster. The MySQL Optimizer parses incoming SQL statements and determines execution plans by evaluating indexes, joins, and query rewrites. A defect in this logic allows crafted input to drive the server into an unrecoverable state.
Exploitation leads to either a hang of the database process or a frequently repeatable crash. Because the Optimizer runs for every query, repeated submissions produce sustained unavailability. The Exploit Prediction Scoring System (EPSS) rates the probability of exploitation activity at 0.393% as of 2026-10-22.
No authentication bypass or data exposure is reported for this issue. The impact is restricted to availability, which maps to the Oracle advisory classification of a complete denial of service.
Root Cause
The root cause is improper access control [CWE-284] within optimizer code paths. The Optimizer accepts input that is reachable by any authenticated session, including sessions holding only basic privileges. Insufficient validation of query structures allows those sessions to reach code paths that should be constrained.
Oracle has not published source-level details of the defect. Refer to the Oracle Critical Patch Update - October 2026 for the vendor advisory.
Attack Vector
The attack vector is network-based across multiple protocols supported by MySQL, including the classic MySQL protocol and the X Protocol. An attacker needs a valid low-privileged database account. User interaction is not required, and attack complexity is low.
Typical exploitation involves authenticating to the database, then issuing a crafted query that triggers the defective Optimizer path. Repeated submission reproduces the crash on demand, preventing service recovery until the input is blocked or the server is patched.
Detection Methods for CVE-2026-101789
Indicators of Compromise
- Repeated unexpected restarts of mysqld or MySQL Cluster data nodes correlated with specific client sessions
- Entries in the MySQL error log showing signal-induced termination or stack traces originating from Optimizer functions
- Spikes in failed query responses or dropped connections from a single authenticated account
- Core dumps generated by the MySQL Server process without a prior administrative action
Detection Strategies
- Enable the MySQL general query log or audit log on sensitive instances and alert on queries immediately preceding server crashes
- Monitor process supervisors (systemd, Kubernetes, mysqld_safe) for restart loops of the database service
- Correlate authentication events with abnormal query failure rates to identify low-privileged accounts triggering abort conditions
Monitoring Recommendations
- Forward MySQL error logs and audit logs to a centralized SIEM for pattern analysis across the fleet
- Track database uptime, connection reset counts, and query latency as availability health signals
- Baseline normal query shapes per application account and alert on anomalous Optimizer-heavy statements from service accounts
How to Mitigate CVE-2026-101789
Immediate Actions Required
- Apply the Oracle Critical Patch Update released in October 2026 to all affected MySQL Server and MySQL Cluster instances
- Audit MySQL user accounts and revoke unused low-privileged accounts that can authenticate from the network
- Restrict network access to MySQL ports (default 3306 and 33060) using firewall rules or security groups to trusted application hosts only
- Enable the MySQL audit log to capture pre-crash query activity for forensic review
Patch Information
Oracle published fixes as part of the October 2026 Critical Patch Update. Administrators should review the Oracle Critical Patch Update - October 2026 advisory and upgrade to the fixed releases listed for MySQL Server and MySQL Cluster. Patching is the only complete remediation.
Workarounds
- Place MySQL instances behind a database proxy or firewall that enforces strict allow-lists of client source addresses
- Enforce the principle of least privilege and remove CREATE SESSION-equivalent access from any account that does not require it
- Configure automatic process supervision with rate-limited restarts to limit sustained outage from crash loops while patches are deployed
# Configuration example: restrict MySQL account host and privileges
REVOKE ALL PRIVILEGES ON *.* FROM 'app_readonly'@'%';
CREATE USER 'app_readonly'@'10.20.0.0/255.255.0.0' IDENTIFIED BY '<strong-password>';
GRANT SELECT ON app_db.* TO 'app_readonly'@'10.20.0.0/255.255.0.0';
FLUSH PRIVILEGES;
# Firewall example: limit access to MySQL ports to application subnet
iptables -A INPUT -p tcp -s 10.20.0.0/16 --dport 3306 -j ACCEPT
iptables -A INPUT -p tcp -s 10.20.0.0/16 --dport 33060 -j ACCEPT
iptables -A INPUT -p tcp --dport 3306 -j DROP
iptables -A INPUT -p tcp --dport 33060 -j DROP
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

