CVE-2025-21504: Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer). Supported versions that are affected are 8.0.39 and prior, 8.4.2 and prior and 9.0.1 and prior. 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).
CVE-2025-21504 is a vulnerability in Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer). Supported versions that are affected are 8.0.39 and prior, 8.4.2 and prior and 9.0.1 and prior. 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)., rated Moderate by Microsoft, with a CVSS 3.1 base score of 4.9 (Medium). An attacker can exploit it remotely over the network, with high privileges and without user interaction. Microsoft has not reported exploitation in the wild. The EPSS model estimates a 1.03% probability of exploitation activity in the next 30 days, higher than 63% of all scored vulnerabilities. Microsoft published it on 6 August 2026, outside Patch Tuesday. It affects 1 product in 1 product family (Mariner).
Key facts
- CVE ID
- CVE-2025-21504
- Severity
- Medium CVSS 4.9
- Microsoft severity
- Moderate
- Exploited in the wild
- No
- Publicly disclosed
- No
- Weakness
- CWE-770
- EPSS
- 1.03% (percentile 63%)
- CISA KEV
- Not listed
- Released
- Last updated
- Patch Tuesday
- January 2025 Patch Tuesday
- Product families
- Mariner
CVSS score and vector
Microsoft scores CVE-2025-21504 at 4.9 (temporal 4.9) using CVSS 3.1. Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
| Metric | Value |
|---|---|
| Attack vector | Network |
| Attack complexity | Low |
| Privileges required | High |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality impact | None |
| Integrity impact | None |
| Availability impact | High |
Affected products (1)
Mariner
| Product | Security update | Type | Fixed build | Restart |
|---|---|---|---|---|
| azl3 mysql 8.0.41-1 on Azure Linux 3.0 |
NIST NVD data
- NVD status
- Modified
- NVD CVSS
- 4.9 (MEDIUM)
- NVD weakness
- CWE-770
- Published to NVD
- NVD last modified
Affected configurations (CPE)
| Product | Vulnerable versions |
|---|---|
| mysql server | from 8.0.0, up to and including 8.0.39 |
| mysql server | from 8.4.0, up to and including 8.4.2 |
| mysql server | from 9.0.0, up to and including 9.0.1 |
References
Revision history
| Version | Date | Description |
|---|---|---|
| 1.0 | Information published. |