CVE-2025-21522 Denial of service in MySQL Server
A low-privileged attacker can cause a complete denial of service in MySQL Server via network access, requiring a patch to restore availability.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-21522?
CVE-2025-21522 is a medium-severity denial of service vulnerability in Oracle Mysql Server, published on 21 Jan 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Parser). Supported versions that are affected are 8.0.40 and prior, 8.4.3 and prior and 9.1.0 and prior. Easily exploitable vulnerability allows low privileged attacker with network access via multiple protocols to compromise MySQL Server. Successful attacks of this vulnerability can result in unauthorized ability to cause a hang or frequently repeatable crash (complete DOS) of MySQL Server. CVSS 3.1 Base Score 6.5 (Availability impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H).
Weakness: CWE-770
Which versions are affected by CVE-2025-21522?
It affects 1 product.
Products include Oracle Mysql Server.
How do I fix CVE-2025-21522?
Apply the vendor's patch.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2025-21522 being exploited?
There is no known exploitation of CVE-2025-21522 in the wild and no public exploit code.
Other vulnerabilities in Oracle Mysql Server
Sources
Also known as GHSA-r5hv-f8cp-qm5f, MINI-g23h-gg45-xj5r, MINI-hw7f-2g3w-3vcv, MINI-vh92-77xc-vmgc, UBUNTU-CVE-2025-21522.