Skip to main content
VulnerabilityPublished Updated

CVE-2025-21504: Oracle MySQL Server · Unthrottled Resource Allocation

Affects Oracle MySQL ServerSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 4.9 Medium.

Data as of 23 Nov 2026, 21:14 UTC

CVSS 3.1 base score
4.9Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (oracle)CVSS 3.14.9
EPSS
1.2% chance of exploitation in 30 days – higher than 70% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 21 Jan 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Mavencom.oracle/mysql-serverpkg:maven/com.oracle/mysql-serverOther threatsAffected
  • <=8.0.39
  • <=8.4.2
  • <=9.0.1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

  1. Apply security patches from Oracle as soon as they become available to address CVE-2025-21504.
  2. Restrict network access to MySQL servers by implementing strict firewall rules and network segmentation, limiting exposure to only trusted hosts and protocols.
  3. Enforce the principle of least privilege by auditing and minimizing high-privileged accounts that can access MySQL servers remotely.
  4. Monitor MySQL server logs and system performance metrics for signs of hangs, crashes, or unusual resource consumption that could indicate exploitation attempts.
  5. Implement robust access controls and multi-factor authentication for administrative access to reduce the risk of credential compromise.
  6. Consider deploying intrusion detection/prevention systems (IDS/IPS) tuned to detect anomalous MySQL traffic patterns.
  7. Regularly review and update incident response plans to include scenarios involving database availability attacks.
  8. Conduct internal security assessments and penetration testing focusing on MySQL server exposure and privilege management.

Description

Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer). Supported versions that are affected are 8.0.39 and prior, 8.4.2 and prior and 9.0.1 and prior. 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).

References

Community reviews

Loading reviews…