Vulnerability · CVE-2025-21581
Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer).
Published Apr 15, 2025 · catalog updated Nov 3, 2025 · Oracle Corporation MySQL Server
Check this week
CVE-2025-21581 is not in CISA KEV. FIRST estimates a 87.00% chance of exploitation in the next 30 days. Check whether you run Oracle Corporation MySQL Server.
Gaps on this record
- No vendor fix or required action is stored. Compare the linked advisory before you change production.
- Severity
- Medium4.9
- Known exploitation
- Not in CISA/VulnCheck KEV
- EPSS
- 87.00%
- Remediation
- Advisory link
- Affected products
- vendor Oracle Corporation MySQL Server 9.0.0 ≤9.2.0
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).
Are you affected?
Enter the version you run. The result uses only the ranges stored on this record.
The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.
- vendor Oracle Corporation MySQL Server 9.0.0 ≤9.2.09.0.0 ≤9.2.0
How to fix CVE-2025-21581
Recommended remediation
A patch or advisory reference is linked. Open the original publisher for availability by product version.
Official advisories
What to do
Three questions, each answered from this record only. Confirm the vendor advisory before you patch.
Should you patch?
CVE-2025-21581 is not in CISA KEV. FIRST estimates a 87.00% chance of exploitation in the next 30 days. Check whether you run Oracle Corporation MySQL Server.
Which versions are affected?
Compare what you have installed with Oracle Corporation MySQL Server 9.0.0 ≤9.2.0 9.0.0 ≤9.2.0. Compare the installed version with the linked vendor advisory before you change production.
What should an analyst verify?
No weakness class is stored. EPSS 87.00%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.
Code
The project this record applies to. Exploit listings stay in References.
No public source repository is identified for this product.
Timeline
Detection, updates, and resolution for this record.
Apr 15, 2025 · EUVD
Detected
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 han
Nov 3, 2025 · EUVD
Updated
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 han
Sources
- CVE.orgVulnerability recordCVE-2025-21581
Official CVE identifier
cve.org - EUVDVulnerability recordEUVD-2025-11076
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 protocol
euvd.enisa.europa.eu
References
Freshness
Last verified in this catalog Oct 17, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.