Skip to main content

MySQL Server CVE-2025-53040

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
    Authenticate with high-privilege MySQL account
  2. Delivery
    Connect over network protocol
  3. Exploit
    Submit crafted optimizer-triggering query
  4. Execution
    Exhaust server resources (CWE-400)
  5. Impact
    Hang 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.

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

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 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).

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 is among the most widely deployed databases worldwide
Data Quality
3 sources
Confidence: Low

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