CVE-2025-21540
MySQL vulnerability analysis and mitigation

Overview

CVE-2025-21540 is a security vulnerability discovered in Oracle MySQL Server (component: Server: Security: Privileges) affecting versions 8.0.40 and prior, 8.4.3 and prior, and 9.1.0 and prior. The vulnerability was disclosed on January 21, 2025 (NVD, Oracle CPU).

Technical details

This is an easily exploitable vulnerability that allows low-privileged attackers with network access to compromise MySQL Server via multiple protocols. The vulnerability has a CVSS v3.1 Base Score of 5.4 (Medium severity) with the following vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N, indicating network attack vector, low attack complexity, low privileges required, no user interaction, unchanged scope, and low impacts on confidentiality and integrity (NVD).

Impact

Successful exploitation of this vulnerability can result in unauthorized update, insert or delete access to some MySQL Server accessible data, as well as unauthorized read access to a subset of MySQL Server accessible data (Oracle CPU).

Mitigation and workarounds

Oracle has released patches to address this vulnerability in the January 2025 Critical Patch Update. Users are advised to upgrade to MySQL version 8.0.41 which contains fixes for this vulnerability (Ubuntu Notice).

Additional resources


SourceThis report was generated using AI

Related MySQL vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-53054MEDIUM5.5
  • MySQLMySQL
  • cpe:2.3:a:oracle:mysql_server
NoYesOct 21, 2025
CVE-2025-53053MEDIUM5.5
  • MySQLMySQL
  • cpe:2.3:a:oracle:mysql_server
NoYesOct 21, 2025
CVE-2025-53069MEDIUM4.9
  • MySQLMySQL
  • mysql-libs
NoYesOct 21, 2025
CVE-2025-53067MEDIUM4.9
  • MySQLMySQL
  • cpe:2.3:a:oracle:mysql_server
NoYesOct 21, 2025
CVE-2025-53062MEDIUM4.9
  • MySQLMySQL
  • mysql:8.0::mysql
NoYesOct 21, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management