Skip to main content
CVE-2025-21581VulnerabilityPublished Updated

CVE-2025-21581: Oracle MySQL Server · Incorrect Permissions

Affects Oracle MySQL ServerSource CVE Database V5

0

Not known to be exploited · CVSS 4.9 Medium.

Data as of 26 Oct 2026, 06:26 UTC

CVSS 3.1 base score
4.9Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.9% chance of exploitation in 30 days – higher than 59% 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 15 Apr 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 2026-10-26.

What to do

Affected software

ProductAffectedFixed in
Mavencom.oracle/mysql-serverpkg:maven/com.oracle/mysql-serverOther threatsAffected
  • =8.0.0
  • =8.4.0
  • =9.0.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. Implement strict network segmentation and firewall rules to limit network access to MySQL Server only to trusted hosts and administrative users. 2. Enforce the principle of least privilege rigorously, ensuring that only necessary accounts have high-level privileges on MySQL instances. 3. Monitor MySQL server logs and system behavior for signs of unusual hangs or crashes that may indicate exploitation attempts. 4. Prepare for patch deployment by testing updates in controlled environments as soon as Oracle releases official patches addressing this vulnerability. 5. Consider deploying intrusion detection/prevention systems (IDS/IPS) tuned to detect anomalous MySQL traffic or repeated connection attempts that could precede exploitation. 6. Review and harden MySQL configuration settings to minimize exposure, such as disabling unused protocols or features that provide network access. 7. Conduct regular audits of privileged accounts and their access patterns to detect potential misuse. 8. Develop and test incident response plans specifically for database availability incidents to minimize downtime impact.

Description

Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer). Supported versions that are affected are 8.0.0-8.0.41, 8.4.0-8.4.4 and 9.0.0-9.2.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).

References

Community reviews

Loading reviews…