MySQL Server
CVE-2025-53040
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with high-privilege MySQL account
-
DeliveryConnect over network protocol
-
ExploitSubmit crafted optimizer-triggering query
-
ExecutionExhaust server resources (CWE-400)
-
ImpactHang or repeatable crash (complete DoS)
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an authenticated session with HIGH MySQL privileges (CVSS PR:H) and network reachability to the server over one of MySQL's supported protocols; it does not require user interaction or a non-default configuration. The crafted input targets the Server: Optimizer component, so the attacker must be able to run queries the optimizer processes. The dominant limiting factor is the high-privilege prerequisite: the attacker must already possess a privileged account, which confines realistic exploitation to malicious insiders or compromised administrative/service credentials rather than anonymous remote attackers. Impact is limited to availability (hang or repeatable crash) - no data disclosure or modification is possible. |
| Impact | This is a moderate-severity availability-only vulnerability (CVSS 3.1 base 4.9) in the MySQL Server Optimizer component, and the signals are internally consistent rather than conflicting. The CVSS vector (AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H) indicates a network-reachable, low-complexity attack that nonetheless requires HIGH privileges (PR:H) and yields only an availability impact - a hang or repeatable crash (complete DoS) of the server, with no confidentiality or integrity loss. The EPSS score is low (0.58%, 46th percentile), there is no CISA KEV listing and no public exploit identified, so all exploitation signals point to low real-world urgency. The practical risk ceiling is further constrained by the PR:H requirement: an attacker able to supply the malicious query already holds high database privileges, so the primary threat model is an authenticated insider or a compromised high-privilege account degrading availability rather than mass, unauthenticated exploitation. Net assessment: a legitimate but low-to-moderate priority patch-management item, not an emergency - prioritize on normal Oracle Critical Patch Update cadence unless untrusted parties hold privileged MySQL accounts. |
| Exploit ScenarioDerived | An attacker who already holds high MySQL privileges connects over the network via a supported protocol and submits a specially crafted query that the Optimizer mishandles, triggering uncontrolled resource consumption (CWE-400). The server hangs or crashes repeatedly, producing a complete denial of service for all database clients. No public proof-of-concept exploit has been identified at the time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 08, 2026
Denial of service in Oracle MySQL Server 8.0.x (through 8.0.43), 8.4.x (through 8.4.6) and 9.x (through 9.4.0) allows a high-privileged, authenticated attacker with network access to hang or repeatedly crash the server by submitting crafted input that is processed by the Server: Optimizer component. The vulnerability is availability-only: there is no data disclosure or modification, and the CVSS 3.1 base score is 4.9 (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H), with the high-privilege requirement being the dominant limiting factor. No public exploit code has been identified at time of analysis and there is no confirmed active exploitation (CISA KEV); EPSS is 0.58% (46th percentile), indicating low predicted exploitation activity.
RemediationAI
Apply the fix delivered in Oracle's October 2025 Critical Patch Update for MySQL Server; the advisory at https://www.oracle.com/security-alerts/cpuoct2025.html is the authoritative source for the exact patched release corresponding to each affected train (affected ranges terminate at 8.0.43, 8.4.6, and 9.4.0, so patched builds supersede those versions). Patch status is therefore 'patch available per vendor advisory' with a vendor-released CPU as the reference; no separate exact fix version number is confirmed in the provided data. Because exploitation requires a high-privilege account, the most effective compensating controls are privilege-based and can be deployed immediately while patching is scheduled: audit and trim accounts holding administrative/DBA or broad OPTIMIZER-related privileges, remove or disable unused high-privilege and service accounts, and enforce least privilege so that only necessary personnel can submit arbitrary optimizer-processed queries - the trade-off being reduced operational flexibility and possible disruption of automation that relies on such accounts. Network-layer controls (firewalling MySQL ports 3306 and 33060 to trusted hosts, restricting management interfaces to jump hosts) reduce reachability but add management overhead and do not protect against malicious insiders. Add process supervision (systemd Restart=on-failure, monitoring/alerting on crash-restart loops and on abnormal server hangs) so a successful crash is detected and recovered automatically - accepting that restarts cause brief service interruptions and degrade availability for legitimate users. If the optimizer feature surface can be narrowed without breaking workloads, avoid exposing optimizer-heavy functionality to non-essential accounts; this is a partial mitigation only and must not substitute for applying the CPU.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is rooted in CWE-400 (Uncontrolled Resource Consumption) within MySQL Server's Optimizer, the component responsible for parsing and rewriting SQL statements, choosing execution plans, and evaluating access paths. Because the issue is triggered through the Optimizer rather than the storage engine or the network protocol layer, it is reached by ordinary authenticated SQL traffic - connections over MySQL's supported protocols (classic 3306 and X Protocol 33060) using queries the optimizer processes. Consistent with the provided CVSS vector (AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H), exploitation requires network reachability, no user interaction, and, critically, a session holding HIGH MySQL privileges (PR:H) - such as a DBA-level, administrative, or service account - which confines realistic scenarios to malicious insiders or attackers who have already compromised privileged credentials. The Oracle CPE strings (cpe:2.3:a:oracle:mysql_server) confirm the affected platform is Oracle MySQL Server itself rather than a downstream fork or connector. Successful exploitation produces a hang or a frequently repeatable crash - a complete denial of service against the server - but the impact remains strictly availability-bound, with no confidentiality or integrity consequences.
Know when Mysql Server gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
Network-reachable via MySQL protocols (AV:N) with low complexity (AC:L) but requires an existing high-privilege account (PR:H); impact is availability-only DoS (C:N/I:N/A:H).
Primary rating from Vendor (oracle).
CVSS VectorVendor: oracle
DescriptionCVE.org
Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer). Supported versions that are affected are 8.0.0-8.0.43, 8.4.0-8.4.6 and 9.0.0-9.4.0. Easily exploitable vulnerability allows high privileged attacker with network access via multiple protocols to compromise MySQL Server. Successful attacks of this vulnerability can result in unauthorized ability to cause a hang or frequently repeatable crash (complete DOS) of MySQL Server. CVSS 3.1 Base Score 4.9 (Availability impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H).
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Affected Products (CPE)CVE.org
More in Mysql Server
View allIn order to decrypt SM2 encrypted data an application is expected to call the API function EVP_PKEY_decrypt(). Rated cri
XStream is a Java library to serialize objects to XML and back again. Rated critical severity (CVSS 9.1), this vulnerabi
XStream is a Java library to serialize objects to XML and back again. Rated critical severity (CVSS 9.8), this vulnerabi
curl 7.75.0 through 7.76.1 suffers from a use-after-free vulnerability resulting in already freed memory being used when
The c_rehash script does not properly sanitise shell metacharacters to prevent command injection. Rated high severity (C
An OpenSSL TLS server may crash if sent a maliciously crafted renegotiation ClientHello message from a client. Rated med
A heap buffer overflow in the TFTP receiving code allows for DoS or arbitrary code execution in libcurl versions 7.19.4
When sending data to an MQTT server, libcurl <= 7.73.0 and 7.78.0 could in some circumstances erroneously keep a pointer
libcurl versions from 7.36.0 to before 7.64.0 are vulnerable to a stack-based buffer overflow. Rated critical severity (
A use of incorrectly resolved name vulnerability fixed in 7.83.1 might remove the wrong file when `--no-clobber` is used
libcurl-using applications can ask for a specific client certificate to be used in a transfer. Rated high severity (CVSS
A user can tell curl >= 7.20.0 and <= 7.78.0 to require a successful upgrade to TLS when speaking to an IMAP, POP3 or FT
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB