MySQL Server
CVE-2025-53042
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain high-privileged MySQL account
-
DeliveryConnect to MySQL Server over network
-
ExploitSubmit crafted query triggering Optimizer flaw
-
ExecutionServer hangs or crashes repeatedly
-
ImpactComplete denial of service
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 high-privileged MySQL account (PR:H) with network access to the MySQL Server over any of its supported protocols; no user interaction is needed (UI:N) and attack complexity is low (AC:L). The limiting factor is the high privilege requirement - the attacker must already hold administrative-level database access, which substantially narrows the realistic threat to malicious insiders or scenarios where high-privileged credentials have already been compromised. Affected deployments are MySQL Server versions 8.0.0-8.0.43, 8.4.0-8.4.6, and 9.0.0-9.4.0. Impact is limited to denial of service (server hang or repeatable crash); there is no confidentiality or integrity impact. |
| Impact | This is a genuinely LOW-to-moderate priority issue despite affecting an ubiquitous database. The CVSS 3.1 base score of 4.9 (MEDIUM) accurately reflects the limited blast radius: the only impact is availability (A:H, C:N/I:N) and exploitation requires high privileges (PR:H), meaning the attacker must already hold an administrative/high-privileged MySQL account. EPSS is 0.58% (46th percentile) - unremarkable, consistent with a privilege-gated DoS rather than a mass-exploitable flaw. There is no CISA KEV listing and no public exploit code identified, so this is not actively exploited at time of analysis. The signals are internally consistent (network vector + low complexity + high-priv auth + avail-only impact), with no contradictions to flag. The headline risk is overstated by the 'ubiquitous product' framing: the vulnerability in the MySQL Server Optimizer component only lets an already-trusted high-privileged user hang or crash the server (self-inflicted DoS territory), which most threat models treat as low-value for an attacker who already has that level of access. Note the CWE-400 (Uncontrolled Resource Consumption) classification aligns well with the described crash/hang behavior. |
| Exploit ScenarioDerived | An attacker who already possesses a high-privileged MySQL account (e.g., a compromised admin credential or a malicious insider) connects over the network via one of MySQL's supported protocols and submits a crafted query that the Optimizer mishandles, causing the server to hang or repeatably crash. This yields a complete denial of service of the MySQL Server instance. 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 01, 2026
CVE-2025-53042 is a denial-of-service condition in Oracle MySQL Server (Server: Optimizer component) affecting versions 8.0.0 through 8.0.43, 8.4.0 through 8.4.6, and 9.0.0 through 9.4.0, where a high-privileged account with network access can trigger a server hang or a frequently repeatable crash of the MySQL daemon. Per the CVSS 3.1 vector (AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H) the flaw is trivially exercised once administrative database credentials are already held, but it grants no confidentiality or integrity impact and cannot be reached by an unprivileged or unauthenticated user. There is no public exploit code identified at time of analysis and no evidence of active exploitation (EPSS 0.58%, ~46th percentile), making this a low-to-moderate operational priority largely relevant to malicious insiders or environments where high-privileged MySQL credentials have already been compromised.
RemediationAI
Vendor-released patch: apply the October 2025 Oracle Critical Patch Update (https://www.oracle.com/security-alerts/cpuoct2025.html), upgrading each affected installation to the patched MySQL Server release published in that CPU for its track - the fixed builds supersede the 8.0.43, 8.4.6, and 9.4.0 upper bounds listed above, and Oracle's advisory should be consulted for the exact version numbers rather than assuming the next sequential release. Because exploitation requires a high-privileged (PR:H) authenticated account over the network, the most effective compensating control pending maintenance is privilege minimization and credential hygiene: audit and revoke unnecessary DBA/SYSTEM_USER grants, enforce per-account host restrictions, disable unused accounts, and rotate any administrative credentials that may have been exposed, accepting the operational cost that legitimate administrative workflows will need re-provisioning. Network-layer hardening - restricting port 3306 (and the X Protocol/administrative endpoints) to trusted management subnets via firewall or bind-address, and enforcing TLS with certificate-based authentication - reduces the pool of hosts from which an insider or credential-holder could reach the server, with the trade-off of breaking access for remote application stacks that legitimately connect from broader address space. Where the crashing statement pattern is known, SQL-layer defenses such as statement timeouts, resource groups, and query allow-listing can blunt repeated crash attempts, but they are detective/limiting measures that do not remove the underlying optimizer defect and should not be treated as a substitute for patching.
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 vulnerability resides in the MySQL Server Optimizer component, the query-planning subsystem that parses, rewrites, and cost-models SQL statements before execution. Classified as CWE-400 (Uncontrolled Resource Consumption), this class of optimizer defect typically involves a crafted statement that drives the planner into unbounded memory allocation, pathological plan enumeration, or an internal state that cannot be safely unwound, ultimately terminating or stalling the server process rather than corrupting data. The CPE entries (cpe:2.3:a:oracle:mysql_server) confirm that only the core Oracle MySQL Server distribution is in scope - not MySQL Cluster, HeatWave, or third-party forks - and the explicitly enumerated ranges (8.0.0-8.0.43, 8.4.0-8.4.6, 9.0.0-9.4.0) span the 8.0 LTS-equivalent line, the 8.4 LTS line, and the 9.x Innovation line, indicating the faulty optimizer logic was carried forward across a long maintenance history. Because the vector is AV:N with UI:N and AC:L, the entire attack surface is the wire protocols MySQL exposes (classic protocol on 3306, plus X Protocol and administrative interfaces), but PR:H caps the practical reach to accounts with administrative-level privileges - for example DBA, SYSTEM_USER, or roles able to submit optimizer-heavy statements - so the underlying weakness is a robustness/stability defect rather than a privilege-escalation or data-exposure primitive.
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, low-complexity query triggers the flaw, but a high-privileged account is required (PR:H); impact is availability-only (complete DoS), with no confidentiality or integrity effect.
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
VulDB
GitHub PoC
Exploit-DB