CVSS 3.1
4.9 mediumCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:NMedium (4.9) in oracle mysql. EPSS 0.5% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:NExplain CVE-2025-50087 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-50087?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-50087?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-50087 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 Cluster | from 7.6.0 through 7.6.34 |
| Oracle Corporation MySQL Cluster | from 8.0.0 through 8.0.42 |
| Oracle Corporation MySQL Cluster | from 8.4.0 through 8.4.5 |
| Oracle Corporation MySQL Cluster | from 9.0.0 through 9.3.0 |
| Oracle Corporation MySQL Server | from 8.0.0 through 8.0.42 |
| Oracle Corporation MySQL Server | from 8.4.0 through 8.4.5 |
| Oracle Corporation MySQL Server | from 9.0.0 through 9.3.0 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Ubuntu | 14.04:LTS | mysql-5.5 | no fix listed | UBUNTU-CVE-2025-50087 |
| Ubuntu | 16.04:LTS | percona-server-5.6, percona-xtradb-cluster-5.6 | no fix listed | UBUNTU-CVE-2025-50087 |
| Ubuntu | 20.04:LTS | mariadb-10.3 | no fix listed | UBUNTU-CVE-2025-50087 |
| Ubuntu | 22.04:LTS | mysql-8.0 | 8.0.43-0ubuntu0.22.04.1 | UBUNTU-CVE-2025-50087 USN-7691-1 |
| Ubuntu | 24.04:LTS | mysql-8.0 | 8.0.43-0ubuntu0.24.04.1 | UBUNTU-CVE-2025-50087 USN-7691-1 |
| Ubuntu | 25.10 | mysql-8.4 | 8.4.6-0ubuntu1 | UBUNTU-CVE-2025-50087 |
| Ubuntu | Pro:16.04:LTS, Pro:18.04:LTS | mysql-5.7 | no fix listed | UBUNTU-CVE-2025-50087 |
| Ubuntu | Pro:20.04:LTS | mysql-8.0 | 8.0.43-0ubuntu0.20.04.1+esm1 | UBUNTU-CVE-2025-50087 USN-7691-2 |
| 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:16861 |
| 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:16861 |
| Red Hat | enterprise_linux:8::appstream | mysql, mysql-libs, mysql-test and 10 more | 0:8.0.43-1.module+el8.10.0+23526+fabc920a | RHSA-2025:16861 |
| Red Hat | enterprise_linux:9::appstream | mecab, mecab-devel, mecab-debuginfo and 1 more | 0:0.996-3.module+el9.6.0+22713+cbf15e23.4 | RHSA-2025:16046 |
| Red Hat | enterprise_linux:9::appstream | mecab-ipadic, mecab-ipadic-EUCJP | 0:2.7.0.20070801-24.module+el9.6.0+22713+cbf15e23 | RHSA-2025:16046 |
| Red Hat | enterprise_linux:9::appstream | mysql, mysql-common, mysql-errmsg and 7 more | 0:8.0.43-1.el9_6 | RHSA-2025:16086 |
| Red Hat | enterprise_linux:9::appstream | mysql, mysql-libs, mysql-test and 11 more | 0:8.4.6-1.module+el9.6.0+23497+d0c5dcca | RHSA-2025:16046 |
| Red Hat | enterprise_linux:9::appstream | rapidjson, rapidjson-doc, rapidjson-devel | 0:1.1.0-19.module+el9.6.0+22713+cbf15e23 | RHSA-2025:16046 |
| Red Hat | enterprise_linux:9::crb | mysql-libs, mysql-test, mysql-devel and 6 more | 0:8.0.43-1.el9_6 | RHSA-2025:16086 |
| Red Hat | enterprise_linux:10.0 | mysql-selinux | 0:1.0.14-1.el10_0 | RHSA-2025:15699 |
| Red Hat | enterprise_linux:10.0 | mysql8.4, mysql8.4-libs, mysql8.4-test and 11 more | 0:8.4.6-2.el10_0 | RHSA-2025:15699 |
| AlmaLinux | 8 | mecab, mecab-devel | 0.996-2.module_el8.10.0+3965+b415b607 | ALSA-2025:16861 |
| AlmaLinux | 8 | mecab, mecab-devel | 0.996-2.module_el8.6.0+3340+d764b636 | ALSA-2025:16861 |
| AlmaLinux | 8 | mecab-ipadic, mecab-ipadic-EUCJP | 2.7.0.20070801-17.module_el8.10.0+3965+b415b607 | ALSA-2025:16861 |
| AlmaLinux | 8 | mysql, mysql-libs, mysql-test and 4 more | 8.0.43-1.module_el8.10.0+4049+06e4dcce | ALSA-2025:16861 |
| AlmaLinux | 9 | mecab, mecab-devel | 0.996-3.module_el9.6.0+152+8cbce00c.4 | ALSA-2025:16046 |
| AlmaLinux | 9 | mecab-ipadic, mecab-ipadic-EUCJP | 2.7.0.20070801-24.module_el9.6.0+152+8cbce00c | ALSA-2025:16046 |
| AlmaLinux | 9 | mysql, mysql-libs, mysql-test and 4 more | 8.0.43-1.el9_6 | ALSA-2025:16086 |
| AlmaLinux | 9 | mysql, mysql-libs, mysql-test and 5 more | 8.4.6-1.module_el9.6.0+180+a4e757e5 | ALSA-2025:16046 |
| AlmaLinux | 9 | rapidjson-doc, rapidjson-devel | 1.1.0-19.module_el9.6.0+152+8cbce00c | ALSA-2025:16046 |
| AlmaLinux | 10 | mysql-selinux | 1.0.14-1.el10_0 | ALSA-2025:15699 |
| AlmaLinux | 10 | mysql8.4-common, mysql8.4-errmsg, mysql8.4-test-data | 8.4.6-2.el10_0 | ALSA-2025:15699 |
| Rocky Linux | 8 | mecab | 0:0.996-2.module+el8.10.0+1676+9b4b6e24 | RLSA-2025:16861 |
| Rocky Linux | 8 | mecab | 0:0.996-2.module+el8.10.0+1937+28fbbc83 | RLSA-2025:16861 |
| Rocky Linux | 8 | mecab | 0:0.996-2.module+el8.10.0+2091+db4d14f6 | RLSA-2025:16861 |
| Rocky Linux | 8 | mecab-ipadic | 0:2.7.0.20070801-17.module+el8.10.0+1937+28fbbc83 | RLSA-2025:16861 |
| Rocky Linux | 8 | mecab-ipadic | 0:2.7.0.20070801-17.module+el8.10.0+2091+db4d14f6 | RLSA-2025:16861 |
| Rocky Linux | 8 | mysql | 0:8.0.43-1.module+el8.10.0+2065+e68efcea.0.1 | RLSA-2025:16861 |
| Rocky Linux | 9 | mecab | 0:0.996-3.module+el9.7.0+40027+0df0d4e0.4 | RLSA-2025:16046 |
| Rocky Linux | 9 | mecab-ipadic | 0:2.7.0.20070801-24.module+el9.7.0+40027+0df0d4e0 | RLSA-2025:16046 |
| Rocky Linux | 9 | mysql | 0:8.0.43-1.el9_6 | RLSA-2025:16086 |
| Rocky Linux | 9 | mysql | 0:8.4.6-1.module+el9.7.0+40027+0df0d4e0 | RLSA-2025:16046 |
| Rocky Linux | 9 | rapidjson | 0:1.1.0-19.module+el9.7.0+40027+0df0d4e0 | RLSA-2025:16046 |
| Rocky Linux | 10 | mysql-selinux | 0:1.0.14-1.el10_0 | RLSA-2025:15699 |
| 1 more for Rocky Linux in the JSON. | ||||
| Azure Linux | 2 | mysql | 8.0.43-1 | AZL-65462 |
| Azure Linux | 3 | mysql | 8.0.43-1 | AZL-65288 |
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 Moderate.
A moderate-impact vulnerability was found in the MySQL Server Optimizer component as shipped in Red Hat Enterprise Linux and Fedora. The flaw allows a remote attacker who already holds high privileges on the database and has network access via multiple protocols to gain unauthorized ability to create, delete, or modify critical data or all data accessible to the MySQL Server. Only integrity is affected; there is no impact on confidentiality or availability, and exploitation requires an already highly privileged account. Red Hat rates this flaw Moderate, matching the upstream severity of CVSS 3.1 base score 4.9 (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N); there is no meaningful difference from the upstream assessment.
Red Hat Enterprise Linux 8 (mysql:8.0), Red Hat Enterprise Linux 9 (mysql and mysql:8.4), and Red Hat Enterprise Linux 10 (mysql8.4) are affected, and fixes for these products are being pursued through the standard Red Hat update process. Red Hat Enterprise Linux 6 Extended Lifecycle Support is not affected because the vulnerable code is not present in the mysql package shipped for that stream. Red Hat In-Vehicle OS is tracked within this flaw's scope under a delegated assessment that recorded its mysql package as not affected. For Fedora, which distributes the affected mysql8.0 and mysql8.4 community packages, the fix has been deferred, and affected systems remain exposed until a future package update delivers the fix.
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability. Fixes for the affected Red Hat Enterprise Linux mysql packages are delivered through the standard Red Hat update process, and users should apply the available updates.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | mysql8.4-0:8.4.6-2.el10_0 | Fixed 2025-09-11 | RHSA-2025:15699 |
| Red Hat Enterprise Linux 10 | mysql-selinux-0:1.0.14-1.el10_0 | Fixed 2025-09-11 | RHSA-2025:15699 |
| Red Hat Enterprise Linux 8 | mysql:8.0-8100020250917205715.489197e6 | Fixed 2025-09-29 | RHSA-2025:16861 |
| Red Hat Enterprise Linux 9 | mysql:8.4-9060020250910121712.rhel9 | Fixed 2025-09-17 | RHSA-2025:16046 |
| Red Hat Enterprise Linux 9 | mysql-0:8.0.43-1.el9_6 | Fixed 2025-09-17 | RHSA-2025:16086 |
| 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-50087.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-284 (17).