CVE-2025-21566: Oracle MySQL Server · Incorrect Permissions
Affects Oracle MySQL ServerSource CVE Database V5
Not known to be exploited · CVSS 6.5 Medium : upgrade to 9.1.1 when convenient.
Data as of 26 Oct 2026, 10:12 UTC
- EPSS
- 0.6% chance of exploitation in 30 days – higher than 52% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 9.1.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 21 Jan 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 26 Oct 2026.
What to do
Upgrade com.oracle/mysql-server to 9.1.1.
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
European organizations should implement the following specific mitigations: 1) Restrict network access to MySQL Server instances by enforcing strict firewall rules and network segmentation, allowing only trusted hosts and applications to connect. 2) Monitor MySQL Server logs and system metrics for unusual crashes or hangs indicative of exploitation attempts. 3) Apply the principle of least privilege by ensuring MySQL user accounts have minimal permissions necessary for their function, reducing the risk posed by low privileged attackers. 4) Disable or restrict unused MySQL network protocols and services to reduce the attack surface. 6) Consider deploying intrusion detection/prevention systems (IDS/IPS) tuned to detect anomalous MySQL traffic patterns. 7) Conduct regular backups and have a tested recovery plan to minimize downtime impact in case of successful DoS attacks. 8) Evaluate the use of MySQL alternatives or containerization to isolate database services and limit blast radius.
Description
Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer). Supported versions that are affected are 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).