CVE-2025-21581: oracle corporation mysql server
Vulnerability summary
CVE-2025-21581 is a medium (CVSS 4.9) vulnerability in oracle corporation mysql server. EPSS estimates a 0.87% chance of exploitation in the next 30 days, higher than 58.1% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 5 · Related 1Timeline
- 15-04-2025PublishedVulnerability first disclosed.
- 03-11-2025Last modifiedVulnerability information updated.
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).
CVSS metrics
3 scores · 3 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated4.9MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
- NVDNIST4.9MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.87%
Chance of exploitation in the next 30 days
Percentile
58%
Versus all other CVEs
30-day change
+0.01 pp
From 0.86% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Ubuntu7 products
- mariadb-10.3All versions (No fix recorded)
- mysql-5.5All versions (No fix recorded)
- mysql-5.7All versions (No fix recorded)
- mysql-8.0< 8.0.42-0ubuntu0.20.04.1 | < 8.0.42-0ubuntu0.22.04.1 | < 8.0.42-0ubuntu0.24.04.1
- mysql-8.4< 8.4.5-0ubuntu1
Oracle1 product
- mysql_server≥ 8.0.0, ≤ 8.0.41 | ≥ 8.4.0, ≤ 8.4.4 | ≥ 9.0.0, ≤ 9.2.0
Oracle corporation1 product
- mysql server≥ 8.0.0, ≤ 8.0.41 | ≥ 8.4.0, ≤ 8.4.4 | ≥ 9.0.0, ≤ 9.2.0
3 vendors · 9 products