CVE-2025-21585: Oracle MySQL Server · Incorrect Permissions
Affects Oracle MySQL ServerSource CVE Database V5
Not known to be exploited · CVSS 4.9 Medium.
Data as of 26 Oct 2026, 06:26 UTC
- 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:HExploitation evidence
Disclosed: evidence found.
CVE published 15 Apr 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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
| Product | Affected | Fixed in |
|---|---|---|
Mavencom.oracle/mysql-serverpkg:maven/com.oracle/mysql-serverOther threats | Affected
| 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 the release of security patches addressing CVE-2025-21585 and apply them promptly to all affected MySQL Server versions. 2. Restrict network access to MySQL Server instances to trusted administrators only, using network segmentation, firewalls, and VPNs to limit exposure. 3. Enforce the principle of least privilege by auditing and minimizing high-privileged accounts that have network access to MySQL servers. 4. Implement robust monitoring and alerting for unusual MySQL server behavior, such as repeated crashes or hangs, to detect exploitation attempts early. 5. Consider deploying MySQL instances behind application-layer firewalls or proxies that can filter and block suspicious traffic patterns. 6. Regularly review and harden MySQL server configurations, disabling unnecessary protocols and services to reduce the attack surface. 7. Conduct periodic security assessments and penetration testing focusing on database servers to identify and remediate privilege escalation risks. 8. Prepare incident response plans specifically addressing denial of service scenarios affecting database availability.
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).