CVE-2025-21540: Oracle MySQL Server · Easily exploitable vulnerability allows low privileged attacker with network access via multiple
Affects Oracle MySQL ServerSource CVE Database V5
Not known to be exploited · CVSS 5.4 Medium · fixed in 9.1.1 : update Oracle MySQL Server when convenient.
Data as of 26 Oct 2026, 06:26 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 42% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 9.1.1, 8.4.4, 8.0.41
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:NExploitation 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 2026-10-26.
What to do
Upgrade com.oracle/mysql-server to 9.1.1, 8.4.4 or 8.0.41.
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. 2. If you cannot patch yet, restrict network access to MySQL servers by implementing strict firewall rules and network segmentation to limit exposure only to trusted hosts and applications. 3. Review and enforce the principle of least privilege for MySQL user accounts, ensuring that users and applications have only the minimum necessary permissions. 4. Enable and monitor MySQL audit logs to detect unusual or unauthorized database activities, focusing on unexpected insert, update, or delete operations. 5. Use network-level controls such as VPNs or encrypted tunnels to secure MySQL traffic and reduce the risk of interception or unauthorized access. 6. Regularly update and patch all related infrastructure components to reduce the attack surface. 7. Conduct vulnerability scanning and penetration testing focused on database security to identify and remediate potential weaknesses. 8. Educate database administrators and security teams about this vulnerability and the importance of rapid response to newly disclosed threats.
Description
Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Security: Privileges). 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 update, insert or delete access to some of MySQL Server accessible data as well as unauthorized read access to a subset of MySQL Server accessible data. CVSS 3.1 Base Score 5.4 (Confidentiality and Integrity impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N).