CVE-2025-21588
Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: DML). Supported versions that are affected are 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).
What to do
Fixed builds are available from AlmaLinux, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | mariadb | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | mariadb | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | mysql-8.4 | Fixed | 8.4.5-0ubuntu1 | UBUNTU-CVE-2025-21588 |
| Ubuntu 24.04 | mariadb | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | mysql-8.0 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | mariadb-10.6 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | mysql-8.0 | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | mariadb-10.3 | Will not fix since mysql versions 5.7 and earlier are no longer supported upstream, we are unable to update them to address security issues, marking as ignored. mariadb… | UBUNTU-CVE-2025-21588 | |
| Ubuntu 18.04 | mysql-5.7 | Fix pending | UBUNTU-CVE-2025-21588 | |
| Ubuntu 16.04 | mysql-5.7 | Fix pending | UBUNTU-CVE-2025-21588 | |
| Ubuntu 16.04 | percona-server-5.6 | Fix pending | UBUNTU-CVE-2025-21588 | |
| Ubuntu 16.04 | percona-xtradb-cluster-5.6 | Fix pending | UBUNTU-CVE-2025-21588 | |
| Ubuntu 14.04 | mysql-5.5 | Fix pending | UBUNTU-CVE-2025-21588 | |
| Red Hat Enterprise Linux 10 | mysql-selinux | Fixed | 0:1.0.14-1.el10_0 | RHSA-2025:15699 |
| Red Hat Enterprise Linux 10 | mysql8.4 | Fixed | 0:8.4.6-2.el10_0 | RHSA-2025:15699 |
| Red Hat Enterprise Linux 10 | mysql8.4-common | Fixed | 0:8.4.6-2.el10_0 | RHSA-2025:15699 |
| Red Hat Enterprise Linux 10 | mysql8.4-devel | Fixed | 0:8.4.6-2.el10_0 | RHSA-2025:15699 |
| Red Hat Enterprise Linux 10 | mysql8.4-errmsg | Fixed | 0:8.4.6-2.el10_0 | RHSA-2025:15699 |
| Red Hat Enterprise Linux 10 | mysql8.4-libs | Fixed | 0:8.4.6-2.el10_0 | RHSA-2025:15699 |
| Red Hat Enterprise Linux 10 | mysql8.4-server | Fixed | 0:8.4.6-2.el10_0 | RHSA-2025:15699 |
| Red Hat Enterprise Linux 10 | mysql8.4-test | Fixed | 0:8.4.6-2.el10_0 | RHSA-2025:15699 |
| Red Hat Enterprise Linux 10 | mysql8.4-test-data | Fixed | 0:8.4.6-2.el10_0 | RHSA-2025:15699 |
| Red Hat Enterprise Linux 9 | mecab | Fixed | 0:0.996-3.module+el9.6.0+22713+cbf15e23.4 | RHSA-2025:16046 |
| Red Hat Enterprise Linux 9 | mecab-devel | Fixed | 0:0.996-3.module+el9.6.0+22713+cbf15e23.4 | RHSA-2025:16046 |
| Red Hat Enterprise Linux 9 | mecab-ipadic | Fixed | 0:2.7.0.20070801-24.module+el9.6.0+22713+cbf15e23 | RHSA-2025:16046 |
| Red Hat Enterprise Linux 9 | mecab-ipadic-EUCJP | Fixed | 0:2.7.0.20070801-24.module+el9.6.0+22713+cbf15e23 | RHSA-2025:16046 |
| Red Hat Enterprise Linux 9 | mysql | Fixed | 0:8.4.6-1.module+el9.6.0+23497+d0c5dcca | RHSA-2025:16046 |
| Red Hat Enterprise Linux 9 | mysql-common | Fixed | 0:8.4.6-1.module+el9.6.0+23497+d0c5dcca | RHSA-2025:16046 |
| Red Hat Enterprise Linux 9 | mysql-devel | Fixed | 0:8.4.6-1.module+el9.6.0+23497+d0c5dcca | RHSA-2025:16046 |
| Red Hat Enterprise Linux 9 | mysql-errmsg | Fixed | 0:8.4.6-1.module+el9.6.0+23497+d0c5dcca | RHSA-2025:16046 |
| Red Hat Enterprise Linux 9 | mysql-libs | Fixed | 0:8.4.6-1.module+el9.6.0+23497+d0c5dcca | RHSA-2025:16046 |
| Red Hat Enterprise Linux 9 | mysql-server | Fixed | 0:8.4.6-1.module+el9.6.0+23497+d0c5dcca | RHSA-2025:16046 |
| Red Hat Enterprise Linux 9 | mysql-test | Fixed | 0:8.4.6-1.module+el9.6.0+23497+d0c5dcca | RHSA-2025:16046 |
| Red Hat Enterprise Linux 9 | mysql-test-data | Fixed | 0:8.4.6-1.module+el9.6.0+23497+d0c5dcca | RHSA-2025:16046 |
| Red Hat Enterprise Linux 9 | rapidjson | Fixed | 0:1.1.0-19.module+el9.6.0+22713+cbf15e23 | RHSA-2025:16046 |
| Red Hat Enterprise Linux 9 | rapidjson-devel | Fixed | 0:1.1.0-19.module+el9.6.0+22713+cbf15e23 | RHSA-2025:16046 |
| Red Hat Enterprise Linux 9 | rapidjson-doc | Fixed | 0:1.1.0-19.module+el9.6.0+22713+cbf15e23 | RHSA-2025:16046 |
| Red Hat Enterprise Linux 8 | mecab | Not affected | ||
| Red Hat Enterprise Linux 8 | mecab-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | mecab-ipadic | Not affected | ||
| Red Hat Enterprise Linux 8 | mecab-ipadic-EUCJP | Not affected | ||
| Red Hat Enterprise Linux 8 | mysql | Not affected | ||
| Red Hat Enterprise Linux 8 | mysql-common | Not affected | ||
| Red Hat Enterprise Linux 8 | mysql-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | mysql-errmsg | Not affected | ||
| Red Hat Enterprise Linux 8 | mysql-libs | Not affected | ||
| Red Hat Enterprise Linux 8 | mysql-server | Not affected | ||
| Red Hat Enterprise Linux 8 | mysql-test | Not affected | ||
| Red Hat Enterprise Linux 8 | mysql-test-data | Not affected | ||
| Red Hat Enterprise Linux 6 | mysql | Not affected | ||
| Red Hat Enterprise Linux 6 | mysql-bench | Not affected | ||
| Red Hat Enterprise Linux 6 | mysql-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | mysql-embedded | Not affected | ||
| Red Hat Enterprise Linux 6 | mysql-embedded-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | mysql-libs | Not affected | ||
| Red Hat Enterprise Linux 6 | mysql-server | Not affected | ||
| Red Hat Enterprise Linux 6 | mysql-test | Not affected | ||
| AlmaLinux 10 | mysql-selinux | Fixed | 1.0.14-1.el10_0 | ALSA-2025:15699 |
| AlmaLinux 10 | mysql8.4-common | Fixed | 8.4.6-2.el10_0 | ALSA-2025:15699 |
| AlmaLinux 10 | mysql8.4-errmsg | Fixed | 8.4.6-2.el10_0 | ALSA-2025:15699 |
| AlmaLinux 10 | mysql8.4-test-data | Fixed | 8.4.6-2.el10_0 | ALSA-2025:15699 |
| AlmaLinux 9 | mecab | Fixed | 0.996-3.module_el9.6.0+152+8cbce00c.4 | ALSA-2025:16046 |
| AlmaLinux 9 | mecab-devel | Fixed | 0.996-3.module_el9.6.0+152+8cbce00c.4 | ALSA-2025:16046 |
| AlmaLinux 9 | mecab-ipadic | Fixed | 2.7.0.20070801-24.module_el9.6.0+152+8cbce00c | ALSA-2025:16046 |
| AlmaLinux 9 | mecab-ipadic-EUCJP | Fixed | 2.7.0.20070801-24.module_el9.6.0+152+8cbce00c | ALSA-2025:16046 |
| AlmaLinux 9 | mysql | Fixed | 8.4.6-1.module_el9.6.0+180+a4e757e5 | ALSA-2025:16046 |
| AlmaLinux 9 | mysql-common | Fixed | 8.4.6-1.module_el9.6.0+180+a4e757e5 | ALSA-2025:16046 |
| AlmaLinux 9 | mysql-devel | Fixed | 8.4.6-1.module_el9.6.0+180+a4e757e5 | ALSA-2025:16046 |
| AlmaLinux 9 | mysql-errmsg | Fixed | 8.4.6-1.module_el9.6.0+180+a4e757e5 | ALSA-2025:16046 |
| AlmaLinux 9 | mysql-libs | Fixed | 8.4.6-1.module_el9.6.0+180+a4e757e5 | ALSA-2025:16046 |
| AlmaLinux 9 | mysql-server | Fixed | 8.4.6-1.module_el9.6.0+180+a4e757e5 | ALSA-2025:16046 |
| AlmaLinux 9 | mysql-test | Fixed | 8.4.6-1.module_el9.6.0+180+a4e757e5 | ALSA-2025:16046 |
| AlmaLinux 9 | mysql-test-data | Fixed | 8.4.6-1.module_el9.6.0+180+a4e757e5 | ALSA-2025:16046 |
| AlmaLinux 9 | rapidjson-devel | Fixed | 1.1.0-19.module_el9.6.0+152+8cbce00c | ALSA-2025:16046 |
| AlmaLinux 9 | rapidjson-doc | Fixed | 1.1.0-19.module_el9.6.0+152+8cbce00c | ALSA-2025:16046 |
| Rocky Linux 10 | mysql-selinux | Fixed | 0:1.0.14-1.el10_0 | RLSA-2025:15699 |
| Rocky Linux 10 | mysql8.4 | Fixed | 0:8.4.6-2.el10_0 | RLSA-2025:15699 |
| Rocky Linux 9 | mecab | Fixed | 0:0.996-3.module+el9.7.0+40027+0df0d4e0.4 | RLSA-2025:16046 |
| Rocky Linux 9 | mecab-ipadic | Fixed | 0:2.7.0.20070801-24.module+el9.7.0+40027+0df0d4e0 | RLSA-2025:16046 |
| Rocky Linux 9 | mysql | Fixed | 0:8.4.6-1.module+el9.7.0+40027+0df0d4e0 | RLSA-2025:16046 |
| Rocky Linux 9 | rapidjson | Fixed | 0:1.1.0-19.module+el9.7.0+40027+0df0d4e0 | RLSA-2025:16046 |
What the vendor says
As published in the CVE record by oracle, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Oracle Corporation MySQL Server: affected: 8.4.0 to 8.4.4, 9.0.0 to 9.2.0
Vendor advisories:
- https://www.oracle.com/security-alerts/cpuapr2025.html (vendor-advisory)
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.