Skip to main content
VulnerabilityPublished Updated

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

Affects Oracle MySQL ServerSource CVE Database V5

0

Not known to be exploited · CVSS 6.5 Medium.

Data as of 26 Oct 2026, 11:42 UTC

CVSS 3.1 base score
6.5Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
1.0% chance of exploitation in 30 days – higher than 63% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:L/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. Weaponised: 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 26 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
Mavencom.oracle/mysql-serverpkg:maven/com.oracle/mysql-serverOther threatsAffected
  • <=8.0.40
  • <=8.4.3
  • <=9.1.0
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. Monitor Oracle's official channels for patches addressing CVE-2025-21522 and apply them promptly once released.
  2. Restrict network access to MySQL Server instances by implementing strict firewall rules and network segmentation, limiting exposure to trusted hosts only.
  3. Disable or restrict unused MySQL protocols and services to reduce the attack surface.
  4. Implement robust monitoring and alerting for unusual MySQL server behavior, such as frequent crashes, hangs, or resource exhaustion symptoms.
  5. Employ rate limiting and connection throttling mechanisms at the network or application layer to mitigate potential resource exhaustion attacks.
  6. Review and minimize privileges for MySQL users and service accounts to reduce the risk of exploitation by low-privileged attackers.
  7. Conduct regular security assessments and penetration tests focusing on database infrastructure to identify and remediate potential weaknesses.
  8. Consider deploying high-availability and failover solutions to maintain service continuity in case of DoS events.
  9. Educate IT and security teams about this vulnerability to ensure rapid detection and response.
  10. Use network intrusion detection systems (NIDS) to detect anomalous traffic patterns targeting MySQL services.

Description

Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Parser). Supported versions that are affected are 8.0.40 and prior, 8.4.3 and prior and 9.1.0 and prior. Easily exploitable vulnerability allows low 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 6.5 (Availability impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H).

References

Community reviews

Loading reviews…