CVSS 3.1
7.5 highCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HHigh (7.5) in oracle mysql server. EPSS 1.1% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExplain CVE-2025-21521 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-21521?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-21521?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-21521 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| Oracle Corporation MySQL Server | through 8.0.39 |
| Oracle Corporation MySQL Server | through 8.4.2 |
| Oracle Corporation MySQL Server | through 9.0.1 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Ubuntu | 14.04:LTS | mysql-5.5 | no fix listed | UBUNTU-CVE-2025-21521 |
| Ubuntu | 16.04:LTS | percona-server-5.6, percona-xtradb-cluster-5.6 | no fix listed | UBUNTU-CVE-2025-21521 |
| Ubuntu | 20.04:LTS | mysql-8.0 | 8.0.40-0ubuntu0.20.04.1 | UBUNTU-CVE-2025-21521 |
| Ubuntu | 22.04:LTS | mysql-8.0 | 8.0.40-0ubuntu0.22.04.1 | UBUNTU-CVE-2025-21521 |
| Ubuntu | 24.04:LTS | mysql-8.0 | 8.0.40-0ubuntu0.24.04.1 | UBUNTU-CVE-2025-21521 |
| Ubuntu | Pro:16.04:LTS, Pro:18.04:LTS | mysql-5.7 | no fix listed | UBUNTU-CVE-2025-21521 |
| Red Hat | enterprise_linux:8::appstream | mecab, mecab-devel, mecab-debuginfo and 1 more | 0:0.996-2.module+el8.10.0+22857+7f331edd | RHSA-2025:1673 |
| Red Hat | enterprise_linux:8::appstream | mecab-ipadic, mecab-ipadic-EUCJP | 0:2.7.0.20070801-17.module+el8.10.0+22857+7f331edd | RHSA-2025:1673 |
| Red Hat | enterprise_linux:8::appstream | mysql, mysql-libs, mysql-test and 10 more | 0:8.0.41-1.module+el8.10.0+22857+7f331edd | RHSA-2025:1673 |
| Red Hat | enterprise_linux:9::appstream | mysql, mysql-common, mysql-errmsg and 7 more | 0:8.0.41-2.el9_5 | RHSA-2025:1671 |
| Red Hat | enterprise_linux:9::crb | mysql-libs, mysql-test, mysql-devel and 6 more | 0:8.0.41-2.el9_5 | RHSA-2025:1671 |
| Red Hat | rhel_aus:8.2::appstream | mecab, mecab-debuginfo, mecab-debugsource | 0:0.996-1.module+el8.0.0+3898+e09bb8de.9 | RHSA-2025:2883 |
| Red Hat | rhel_aus:8.2::appstream | mecab-ipadic, mecab-ipadic-EUCJP | 0:2.7.0.20070801-16.module+el8.0.0+3898+e09bb8de | RHSA-2025:2883 |
| Red Hat | rhel_aus:8.2::appstream | mysql, mysql-libs, mysql-test and 10 more | 0:8.0.40-1.module+el8.2.0+22898+0bdd8c5b.4 | RHSA-2025:2883 |
| Red Hat | rhel_aus:8.4::appstream, rhel_e4s:8.4::appstream, rhel_tus:8.4::appstream | mecab, mecab-debuginfo, mecab-debugsource | 0:0.996-1.module+el8.0.0+3898+e09bb8de.9 | RHSA-2025:2882 |
| Red Hat | rhel_aus:8.4::appstream, rhel_e4s:8.4::appstream, rhel_tus:8.4::appstream | mecab-ipadic, mecab-ipadic-EUCJP | 0:2.7.0.20070801-16.module+el8.0.0+3898+e09bb8de | RHSA-2025:2882 |
| Red Hat | rhel_aus:8.4::appstream, rhel_e4s:8.4::appstream, rhel_tus:8.4::appstream | mysql, mysql-libs, mysql-test and 10 more | 0:8.0.40-1.module+el8.4.0+22899+4f2ca788.1 | RHSA-2025:2882 |
| Red Hat | rhel_aus:8.6::appstream, rhel_e4s:8.6::appstream, rhel_tus:8.6::appstream | mecab, mecab-debuginfo, mecab-debugsource | 0:0.996-2.module+el8.6.0+16523+5cb0e868 | RHSA-2025:1766 |
| 10 more for Red Hat in the JSON and on Red Hat's page. | ||||
| AlmaLinux | 8 | mecab, mecab-devel | 0.996-2.module_el8.10.0+3965+b415b607 | ALSA-2025:1673 |
| AlmaLinux | 8 | mecab, mecab-devel | 0.996-2.module_el8.6.0+3340+d764b636 | ALSA-2025:1673 |
| AlmaLinux | 8 | mecab-ipadic, mecab-ipadic-EUCJP | 2.7.0.20070801-17.module_el8.10.0+3965+b415b607 | ALSA-2025:1673 |
| AlmaLinux | 8 | mysql, mysql-libs, mysql-test and 4 more | 8.0.41-1.module_el8.10.0+3965+b415b607 | ALSA-2025:1673 |
| AlmaLinux | 9 | mysql, mysql-libs, mysql-test and 4 more | 8.0.41-2.el9_5 | ALSA-2025:1671 |
| Rocky Linux | 8 | mecab | 0:0.996-2.module+el8.10.0+1676+9b4b6e24 | RLSA-2025:1673 |
| Rocky Linux | 8 | mecab-ipadic | 0:2.7.0.20070801-17.module+el8.10.0+1937+28fbbc83 | RLSA-2025:1673 |
| Rocky Linux | 8 | mysql | 0:8.0.41-1.module+el8.10.0+1937+28fbbc83.0.1 | RLSA-2025:1673 |
| Rocky Linux | 9 | mysql | 0:8.0.41-2.el9_5 | RLSA-2025:1671 |
| Azure Linux | 3 | mysql | 8.0.40-1 | AZL-63039 |
From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu · Red Hat.
Red Hat rates this Important.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | mysql:8.0-8100020250212154709.489197e6 | Fixed 2025-02-19 | RHSA-2025:1673 |
| Red Hat Enterprise Linux 8.2 Advanced Update Support | mysql:8.0-8020020250307052449.4cda2c84 | Fixed 2025-03-17 | RHSA-2025:2883 |
| Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | mysql:8.0-8040020250308034252.522a0ee4 | Fixed 2025-03-17 | RHSA-2025:2882 |
| Red Hat Enterprise Linux 8.4 Telecommunications Update Service | mysql:8.0-8040020250308034252.522a0ee4 | Fixed 2025-03-17 | RHSA-2025:2882 |
| Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions | mysql:8.0-8040020250308034252.522a0ee4 | Fixed 2025-03-17 | RHSA-2025:2882 |
| Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | mysql:8.0-8060020250214145213.ad008a3a | Fixed 2025-02-24 | RHSA-2025:1766 |
| Red Hat Enterprise Linux 8.6 Telecommunications Update Service | mysql:8.0-8060020250214145213.ad008a3a | Fixed 2025-02-24 | RHSA-2025:1766 |
| Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions | mysql:8.0-8060020250214145213.ad008a3a | Fixed 2025-02-24 | RHSA-2025:1766 |
| Red Hat Enterprise Linux 8.8 Extended Update Support | mysql:8.0-8080020250214144259.63b34585 | Fixed 2025-02-24 | RHSA-2025:1757 |
| Red Hat Enterprise Linux 9 | mysql-0:8.0.41-2.el9_5 | Fixed 2025-02-19 | RHSA-2025:1671 |
| Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions | mysql-0:8.0.40-2.el9_0 | Fixed 2025-02-24 | RHSA-2025:1755 |
| Red Hat Enterprise Linux 9.2 Extended Update Support | mysql-0:8.0.40-1.el9_2.1 | Fixed 2025-02-24 | RHSA-2025:1767 |
| Red Hat Enterprise Linux 9.4 Extended Update Support | mysql-0:8.0.40-1.el9_4 | Fixed 2025-02-24 | RHSA-2025:1756 |
| Red Hat Enterprise Linux 10 | mysql8.4 | Not affected | |
| Red Hat Enterprise Linux 6 | mysql | Not affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-21521.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-770 (20).