cve.bz

CVE-2025-50087 oracle mysql: Improper Access Control

4.9 mediumEPSS 0.5%

Medium (4.9) in oracle mysql. EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer). Supported versions that are affected are 8.0.0-8.0.42, 8.4.0-8.4.5 and 9.0.0-9.3.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 creation, deletion or modification access to critical data or all MySQL Server accessible data. CVSS 3.1 Base Score 4.9 (Integrity impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N).

Severity

CVSS 3.1

4.9 medium
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 45th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-07-17. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-284 Improper Access Control
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain 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.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Oracle Corporation MySQL Clusterfrom 7.6.0 through 7.6.34
Oracle Corporation MySQL Clusterfrom 8.0.0 through 8.0.42
Oracle Corporation MySQL Clusterfrom 8.4.0 through 8.4.5
Oracle Corporation MySQL Clusterfrom 9.0.0 through 9.3.0
Oracle Corporation MySQL Serverfrom 8.0.0 through 8.0.42
Oracle Corporation MySQL Serverfrom 8.4.0 through 8.4.5
Oracle Corporation MySQL Serverfrom 9.0.0 through 9.3.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu14.04:LTSmysql-5.5no fix listedUBUNTU-CVE-2025-50087
Ubuntu16.04:LTSpercona-server-5.6, percona-xtradb-cluster-5.6no fix listedUBUNTU-CVE-2025-50087
Ubuntu20.04:LTSmariadb-10.3no fix listedUBUNTU-CVE-2025-50087
Ubuntu22.04:LTSmysql-8.08.0.43-0ubuntu0.22.04.1UBUNTU-CVE-2025-50087 USN-7691-1
Ubuntu24.04:LTSmysql-8.08.0.43-0ubuntu0.24.04.1UBUNTU-CVE-2025-50087 USN-7691-1
Ubuntu25.10mysql-8.48.4.6-0ubuntu1UBUNTU-CVE-2025-50087
UbuntuPro:16.04:LTS, Pro:18.04:LTSmysql-5.7no fix listedUBUNTU-CVE-2025-50087
UbuntuPro:20.04:LTSmysql-8.08.0.43-0ubuntu0.20.04.1+esm1UBUNTU-CVE-2025-50087 USN-7691-2
Red Hatenterprise_linux:8::appstreammecab, mecab-devel, mecab-debuginfo and 1 more0:0.996-2.module+el8.10.0+22857+7f331eddRHSA-2025:16861
Red Hatenterprise_linux:8::appstreammecab-ipadic, mecab-ipadic-EUCJP0:2.7.0.20070801-17.module+el8.10.0+22857+7f331eddRHSA-2025:16861
Red Hatenterprise_linux:8::appstreammysql, mysql-libs, mysql-test and 10 more0:8.0.43-1.module+el8.10.0+23526+fabc920aRHSA-2025:16861
Red Hatenterprise_linux:9::appstreammecab, mecab-devel, mecab-debuginfo and 1 more0:0.996-3.module+el9.6.0+22713+cbf15e23.4RHSA-2025:16046
Red Hatenterprise_linux:9::appstreammecab-ipadic, mecab-ipadic-EUCJP0:2.7.0.20070801-24.module+el9.6.0+22713+cbf15e23RHSA-2025:16046
Red Hatenterprise_linux:9::appstreammysql, mysql-common, mysql-errmsg and 7 more0:8.0.43-1.el9_6RHSA-2025:16086
Red Hatenterprise_linux:9::appstreammysql, mysql-libs, mysql-test and 11 more0:8.4.6-1.module+el9.6.0+23497+d0c5dccaRHSA-2025:16046
Red Hatenterprise_linux:9::appstreamrapidjson, rapidjson-doc, rapidjson-devel0:1.1.0-19.module+el9.6.0+22713+cbf15e23RHSA-2025:16046
Red Hatenterprise_linux:9::crbmysql-libs, mysql-test, mysql-devel and 6 more0:8.0.43-1.el9_6RHSA-2025:16086
Red Hatenterprise_linux:10.0mysql-selinux0:1.0.14-1.el10_0RHSA-2025:15699
Red Hatenterprise_linux:10.0mysql8.4, mysql8.4-libs, mysql8.4-test and 11 more0:8.4.6-2.el10_0RHSA-2025:15699
AlmaLinux8mecab, mecab-devel0.996-2.module_el8.10.0+3965+b415b607ALSA-2025:16861
AlmaLinux8mecab, mecab-devel0.996-2.module_el8.6.0+3340+d764b636ALSA-2025:16861
AlmaLinux8mecab-ipadic, mecab-ipadic-EUCJP2.7.0.20070801-17.module_el8.10.0+3965+b415b607ALSA-2025:16861
AlmaLinux8mysql, mysql-libs, mysql-test and 4 more8.0.43-1.module_el8.10.0+4049+06e4dcceALSA-2025:16861
AlmaLinux9mecab, mecab-devel0.996-3.module_el9.6.0+152+8cbce00c.4ALSA-2025:16046
AlmaLinux9mecab-ipadic, mecab-ipadic-EUCJP2.7.0.20070801-24.module_el9.6.0+152+8cbce00cALSA-2025:16046
AlmaLinux9mysql, mysql-libs, mysql-test and 4 more8.0.43-1.el9_6ALSA-2025:16086
AlmaLinux9mysql, mysql-libs, mysql-test and 5 more8.4.6-1.module_el9.6.0+180+a4e757e5ALSA-2025:16046
AlmaLinux9rapidjson-doc, rapidjson-devel1.1.0-19.module_el9.6.0+152+8cbce00cALSA-2025:16046
AlmaLinux10mysql-selinux1.0.14-1.el10_0ALSA-2025:15699
AlmaLinux10mysql8.4-common, mysql8.4-errmsg, mysql8.4-test-data8.4.6-2.el10_0ALSA-2025:15699
Rocky Linux8mecab0:0.996-2.module+el8.10.0+1676+9b4b6e24RLSA-2025:16861
Rocky Linux8mecab0:0.996-2.module+el8.10.0+1937+28fbbc83RLSA-2025:16861
Rocky Linux8mecab0:0.996-2.module+el8.10.0+2091+db4d14f6RLSA-2025:16861
Rocky Linux8mecab-ipadic0:2.7.0.20070801-17.module+el8.10.0+1937+28fbbc83RLSA-2025:16861
Rocky Linux8mecab-ipadic0:2.7.0.20070801-17.module+el8.10.0+2091+db4d14f6RLSA-2025:16861
Rocky Linux8mysql0:8.0.43-1.module+el8.10.0+2065+e68efcea.0.1RLSA-2025:16861
Rocky Linux9mecab0:0.996-3.module+el9.7.0+40027+0df0d4e0.4RLSA-2025:16046
Rocky Linux9mecab-ipadic0:2.7.0.20070801-24.module+el9.7.0+40027+0df0d4e0RLSA-2025:16046
Rocky Linux9mysql0:8.0.43-1.el9_6RLSA-2025:16086
Rocky Linux9mysql0:8.4.6-1.module+el9.7.0+40027+0df0d4e0RLSA-2025:16046
Rocky Linux9rapidjson0:1.1.0-19.module+el9.7.0+40027+0df0d4e0RLSA-2025:16046
Rocky Linux10mysql-selinux0:1.0.14-1.el10_0RLSA-2025:15699
1 more for Rocky Linux in the JSON.
Azure Linux2mysql8.0.43-1AZL-65462
Azure Linux3mysql8.0.43-1AZL-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

Red Hat rates this Moderate.

Red Hat's statement

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.

Red Hat's mitigation

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.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10mysql8.4-0:8.4.6-2.el10_0Fixed 2025-09-11RHSA-2025:15699
Red Hat Enterprise Linux 10mysql-selinux-0:1.0.14-1.el10_0Fixed 2025-09-11RHSA-2025:15699
Red Hat Enterprise Linux 8mysql:8.0-8100020250917205715.489197e6Fixed 2025-09-29RHSA-2025:16861
Red Hat Enterprise Linux 9mysql:8.4-9060020250910121712.rhel9Fixed 2025-09-17RHSA-2025:16046
Red Hat Enterprise Linux 9mysql-0:8.0.43-1.el9_6Fixed 2025-09-17RHSA-2025:16086
Red Hat Enterprise Linux 6mysqlNot 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.

Attack patterns (CAPEC)

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).

References

Check your stackJSON