Skip to main content

MySQL Server CVE-2025-53042

MEDIUM
Uncontrolled Resource Consumption (CWE-400)
2025-10-21 secalert_us@oracle.com
4.9
CVSS 3.1 · Vendor: oracle
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain high-privileged MySQL account
  2. Delivery
    Connect to MySQL Server over network
  3. Exploit
    Submit crafted query triggering Optimizer flaw
  4. Execution
    Server hangs or crashes repeatedly
  5. Impact
    Complete 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.6% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vendor (oracle) PRIMARY 4.9 MEDIUM
AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 4.9 MEDIUM

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.

3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Red Hat 4.9 MEDIUM

Primary rating from Vendor (oracle).

CVSS VectorVendor: oracle

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

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

EPSS Score
0.6%
Top 54% exploitable
Prevalence
Ubiquitous
MySQL Server is one of the most widely deployed databases worldwide
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.6%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

25
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +24
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Affected Products (CPE)CVE.org

cpe:2.3:a:oracle:mysql_server:*:*:*:*:*:*:*:*
cpe:2.3:a:oracle:mysql_server:*:*:*:*:*:*:*:*
cpe:2.3:a:oracle:mysql_server:*:*:*:*:*:*:*:*
CVE-2021-3711 CRITICAL POC
9.8 Aug 24

In order to decrypt SM2 encrypted data an application is expected to call the API function EVP_PKEY_decrypt(). Rated cri

CVE-2021-21351 CRITICAL POC
9.1 Mar 23

XStream is a Java library to serialize objects to XML and back again. Rated critical severity (CVSS 9.1), this vulnerabi

CVE-2021-21344 CRITICAL POC
9.8 Mar 23

XStream is a Java library to serialize objects to XML and back again. Rated critical severity (CVSS 9.8), this vulnerabi

CVE-2021-22901 HIGH POC
8.1 Jun 11

curl 7.75.0 through 7.76.1 suffers from a use-after-free vulnerability resulting in already freed memory being used when

CVE-2022-1292 HIGH
7.3 May 03

The c_rehash script does not properly sanitise shell metacharacters to prevent command injection. Rated high severity (C

CVE-2021-3449 MEDIUM
5.9 Mar 25

An OpenSSL TLS server may crash if sent a maliciously crafted renegotiation ClientHello message from a client. Rated med

CVE-2019-5436 HIGH POC
7.8 May 28

A heap buffer overflow in the TFTP receiving code allows for DoS or arbitrary code execution in libcurl versions 7.19.4

CVE-2021-22945 CRITICAL POC
9.1 Sep 23

When sending data to an MQTT server, libcurl <= 7.73.0 and 7.78.0 could in some circumstances erroneously keep a pointer

CVE-2019-3822 CRITICAL POC
9.8 Feb 06

libcurl versions from 7.36.0 to before 7.64.0 are vulnerable to a stack-based buffer overflow. Rated critical severity (

CVE-2022-27778 HIGH POC
8.1 Jun 02

A use of incorrectly resolved name vulnerability fixed in 7.83.1 might remove the wrong file when `--no-clobber` is used

CVE-2021-22926 HIGH POC
7.5 Aug 05

libcurl-using applications can ask for a specific client certificate to be used in a transfer. Rated high severity (CVSS

CVE-2021-22946 HIGH POC
7.5 Sep 29

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

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy