CVE-2025-50087
published 2025-07-15CVE-2025-50087: 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…
PriorityP423medium4.9CVSS 3.1
AVNACLPRHUINSUCNIHAN
EPSS
0.42%
34.8th percentile
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).
Affected
16 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | mysql-8.0 | < mysql-8.0 8.0.43-1 (sid) | mysql-8.0 8.0.43-1 (sid) |
| msrc | azl3_kernel_6.6.57.1-7_on_azure_linux_3.0 | — | — |
| msrc | azl3_kernel_6.6.64.2-1_on_azure_linux_3.0 | — | — |
| msrc | azl3_mysql_8.0.42-1_on_azure_linux_3.0 | — | — |
| msrc | cbl2_mysql_8.0.42-1_on_cbl_mariner_2.0 | — | — |
| msrc | cbl2_mysql_8.0.43-1_on_cbl_mariner_2.0 | — | — |
| oracle | mysql | 8.0.0 – 8.0.42 | — |
| oracle | mysql | 8.4.0 – 8.4.5 | — |
| oracle | mysql | 9.0.0 – 9.3.0 | — |
| oracle_corporation | mysql_cluster | 7.6.0 – 7.6.34 | — |
| oracle_corporation | mysql_cluster | 8.0.0 – 8.0.42 | — |
| oracle_corporation | mysql_cluster | 8.4.0 – 8.4.5 | — |
| oracle_corporation | mysql_cluster | 9.0.0 – 9.3.0 | — |
| oracle_corporation | mysql_server | 8.0.0 – 8.0.42 | — |
| oracle_corporation | mysql_server | 8.4.0 – 8.4.5 | — |
| oracle_corporation | mysql_server | 9.0.0 – 9.3.0 | — |
CVSS provenance
nvdv3.14.9MEDIUMCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N
osv4.9MEDIUM
vendor_msrc5.5MEDIUM
vendor_debian4.9MEDIUM
vendor_oracle4.9MEDIUM
vendor_redhat4.9MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
MySQL vulnerabilities
vendor_ubuntu·2025-10-06
CVE-2025-50085 MySQL vulnerabilities
Title: MySQL vulnerabilities
Summary: Several security issues were fixed in MySQL.
USN-7691-1 fixed several vulnerabilities in MySQL. This update provides
the corresponding update for Ubuntu 20.04 LTS.
Original advisory details:
Multiple security issues were discovered in MySQL and this update includes
new upstream MySQL versions to fix these issues.
MySQL has been updated to 8.0.43 in Ubuntu 20.04 LTS
In addition to security fixes, the updated packages contain bug fixes, new
features, and possibly incompatible changes.
Please see the following for more information:
https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-43.html
https://www.oracle.com/security-alerts/cpujul2025.html
Instructions: This update uses a new upstream release, which includes additional bug
fixes. In gen
Ubuntu
MySQL vulnerabilities
vendor_ubuntu·2025-08-13
CVE-2025-50083 MySQL vulnerabilities
Title: MySQL vulnerabilities
Summary: Several security issues were fixed in MySQL.
Multiple security issues were discovered in MySQL and this update includes
new upstream MySQL versions to fix these issues.
MySQL has been updated to 8.0.43 in Ubuntu 22.04 LTS and Ubuntu 24.04 LTS.
Ubuntu 25.04 has been updated to MySQL 8.4.6.
In addition to security fixes, the updated packages contain bug fixes, new
features, and possibly incompatible changes.
Please see the following for more information:
https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-43.html
https://dev.mysql.com/doc/relnotes/mysql/8.4/en/news-8-4-6.html
https://www.oracle.com/security-alerts/cpujul2025.html
Instructions: This update uses a new upstream release, which includes additional bug
fixes. In general, a standard
Red Hat
mysql: Optimizer unspecified vulnerability (CPU Jul 2025)
vendor_redhat·2025-07-15·CVSS 4.9
CVE-2025-50087 [MEDIUM] mysql: Optimizer unspecified vulnerability (CPU Jul 2025)
mysql: Optimizer unspecified vulnerability (CPU Jul 2025)
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).
Package: mysql (Red Hat Enterprise Linux 6) - Not affected
Oracle
Oracle Oracle MySQL Risk Matrix: Cluster: General — CVE-2025-50087
vendor_oracle·2025-07-15·CVSS 4.9
CVE-2025-50087 [MEDIUM] Oracle Oracle MySQL Risk Matrix: Cluster: General — CVE-2025-50087
Oracle Oracle MySQL Risk Matrix: Cluster: General vulnerability
CVE: CVE-2025-50087
CVSS: 4.9
Protocol: Multiple
Remote exploit: No
Affected versions: Network
Advisory: cpujul2025 (JUL 2025)
Microsoft
Vulnerability in the MySQL Server product of Oracle MySQL
vendor_msrc·2025-07-08·CVSS 4.9
CVE-2025-50087 [MEDIUM] Vulnerability in the MySQL Server product of Oracle MySQL
Vulnerability in the MySQL Server product of Oracle MySQL
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
oracle: oracle
Customer Action Required: Yes
Remediation: CBL-Mariner Releases
Reference: https://l
Debian
CVE-2025-50087: mysql-8.0 - Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Op...
vendor_debian·2025·CVSS 4.9
CVE-2025-50087 [MEDIUM] CVE-2025-50087: mysql-8.0 - Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Op...
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).
Scope: local
sid: resolved (fixed in 8.0.43-1)
Microsoft
btrfs: fix uninitialized pointer free on read_alloc_one_name() error
vendor_msrc·2024-10-08·CVSS 5.5
CVE-2024-50087 [MEDIUM] CWE-824 btrfs: fix uninitialized pointer free on read_alloc_one_name() error
btrfs: fix uninitialized pointer free on read_alloc_one_name() error
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
Linux: Linux
Customer Action Required: Yes
Remediation: CBL-Mariner Releases
Reference:
GHSA
GHSA-x3xg-7fvh-66q9: Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer)
ghsa_unreviewed·2025-07-15
CVE-2025-50087 [MEDIUM] CWE-284 GHSA-x3xg-7fvh-66q9: Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer)
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).
OSV
CVE-2025-50087: Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer)
osv·2025-07-15·CVSS 4.9
CVE-2025-50087 [MEDIUM] CVE-2025-50087: Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer)
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).
No detection rules found.
No public exploits indexed.
2025-07-15
Published