Skip to main content

MySQL Server CVE-2026-34278

| EUVDEUVD-2026-24354 MEDIUM
Uncontrolled Resource Consumption (CWE-400)
2026-04-21 oracle GHSA-fh86-xhc3-24gr
4.9
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Obtain high-privilege MySQL credentials
  2. Delivery
    Authenticate to server via MySQL protocol
  3. Exploit
    Submit crafted query targeting Optimizer
  4. Execution
    Trigger uncontrolled resource consumption
  5. Persist
    MySQL Server hangs or crashes
  6. Impact
    Database availability denied

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

The CVSS vector PR:H confirms that the attacker must possess high database privileges - equivalent to a DBA or SUPER-privileged MySQL account - before any exploitation is possible. The attack is delivered over the network via any MySQL-supported protocol (TCP/IP, etc.), so no local shell access is required, but the privilege prerequisite is a significant real-world barrier. The vulnerability is specific to the Optimizer component, meaning the trigger is a SQL query that exercises the query plan generation path in a way that exhausts resources. No non-default configuration flags are cited as conditions. What limits exploitation: (1) PR:H is the primary constraint - most external or low-trust users will not hold these privileges; (2) SSVC rates it non-automatable, meaning mass scanning/exploitation is not viable; (3) only MySQL 8.0.x is affected, not 5.7 or 9.x branches.

Impact

Despite a network attack vector (AV:N), real-world risk is constrained by the PR:H requirement - an attacker must already hold high database privileges before exploitation is possible. CVSS base score of 4.9 reflects this accurately. EPSS at 0.04% (11th percentile) places this firmly in the bottom tier of exploitation likelihood; no public exploit code has been identified. SSVC signals reinforce this: exploitation status is 'none', the attack is not automatable (non-default attacker preconditions), and technical impact is rated only 'partial'. The CIA triad is C:N/I:N/A:H, meaning there is zero confidentiality or integrity risk - only availability. In practice, this represents a concern primarily in multi-tenant database environments or SaaS platforms where customers may hold high-privilege roles and could abuse them to disrupt service for others. For organizations where only fully trusted administrators hold elevated MySQL privileges, risk is negligible.

Exploit ScenarioDerived

A database user with DBA-level or equivalent high privileges submits a pathologically crafted SQL query designed to trigger an edge case in the MySQL Optimizer's plan-enumeration logic, consuming server resources without bound until the mysqld process hangs or crashes. An attacker in a shared hosting or multi-tenant SaaS database environment who legitimately holds a high-privilege role could use this to deny service to other tenants. No public proof-of-concept exists at time of analysis.

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

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

Alert me

AnalysisAIv1 – Jul 24, 2026

MySQL Server's Optimizer component, across all 8.0.x releases from 8.0.0 through 8.0.45, is susceptible to uncontrolled resource consumption (CWE-400) that allows a high-privileged, network-authenticated attacker to cause a complete denial of service via server hang or repeatable crash. Oracle disclosed this in the April 2026 Critical Patch Update and has released a fix; no active exploitation has been identified (EPSS 0.04%, CISA SSVC exploitation: none). The combination of a required PR:H attack and availability-only impact considerably reduces real-world urgency compared to the network-vector framing alone.

RemediationAI

The primary fix is to upgrade MySQL Server to version 8.0.46 or later, which is the release immediately following the stated upper bound of 8.0.45; Oracle confirms a patch is available via the April 2026 CPU at https://www.oracle.com/security-alerts/cpuapr2026.html. Red Hat and SUSE users should apply the respective distribution-provided updated MySQL 8.0 packages through their standard package managers (yum/dnf or zypper) once available in the vendor security channels. As a compensating control where immediate patching is not feasible, restrict the SUPER, CREATE, ALTER, and EXECUTE privileges to only explicitly trusted operator accounts, since PR:H exploitation requires a high-privilege session - revoking unnecessary elevated grants reduces the attack surface at the cost of operational flexibility. Additionally, consider enabling connection-level resource limits (MAX_QUERIES_PER_HOUR, MAX_CONNECTIONS_PER_HOUR) on high-privilege accounts to throttle any abuse attempt, though this does not fully prevent the crash condition.

Affected VersionsENISA

MySQL Server 8.0.0 ≤8.0.45

Affected Packages

euvd mysql_server no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The MySQL Server Optimizer is responsible for generating and evaluating query execution plans for SQL statements. CWE-400 (Uncontrolled Resource Consumption) indicates that a specially crafted query can exhaust server-side resources - CPU cycles, memory, or internal state - within the optimizer's plan-generation path, causing a hang or crash without any bounds check or resource ceiling being enforced. The vulnerability is reachable via any supported MySQL network protocol (TCP/IP, named pipes, etc.), meaning an attacker does not need local shell access. The affected CPE is cpe:2.3:a:oracle_corporation:mysql_server:*:*:*:*:*:*:*:*, covering the entire 8.0 branch from 8.0.0 to 8.0.45. Distribution tags (Red Hat, SUSE) indicate that downstream packaged versions of MySQL 8.0 in those ecosystems are also in scope.

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

NVD 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 optimizer flaw requires high database privileges; impact is purely availability via crash or hang, 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
SUSE MEDIUM
Red Hat 4.9 MEDIUM

Primary rating from NVD.

CVSS VectorNVD

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.45. 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.0%
Top 89% exploitable
Prevalence
High
MySQL 8.0 is widely deployed across enterprise, web, and cloud stacks
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor VulDB

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.0%
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
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

24
Low Medium High Critical
KEV: 0
EPSS: 0
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.

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

SUSE

Severity: Medium
Product Status
SUSE Liberty Linux 9 Fixed

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