Oracle MySQL 8.1.0 vulnerabilities

125 published vulnerabilities affect Oracle MySQL 8.1.0. The 8.1 line no longer gets security fixes.

125CVEs
0critical (CVSS 9+)
1high (CVSS 7–8.9)
0exploited in the wild

What to upgrade to

The newest Oracle MySQL release we know of is 26.10.0, with 7 known CVEs.

Upgrade toFixesStill openNew in that release
26.10.0newest releaseall 125none7CVE-2026-114952, CVE-2026-92392, CVE-2026-114951 and 4 more

"Fixes": CVEs on this page that don't affect that release. "New in that release": CVEs that affect it and not this one.

CVEs affecting Oracle MySQL 8.1.0

Worst first: ranked by Dawnsentry's score for a device that faces the internet (CVSS, plus known exploitation and EPSS). "Fixed in" is the first release that carries the fix, where the source names one.

CVECVSSExploitationEPSSFixed in
CVE-2025-21521Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Thread Pooling)7.5None known1%–CVE record
CVE-2025-21566Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer)6.5None knownunder 1%–CVE record
CVE-2025-21522Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Parser)6.5None known1%–CVE record
CVE-2025-21518Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer)6.5None known1%–CVE record
CVE-2025-21501Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer)6.5None known1%–CVE record
CVE-2025-21500Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer)6.5None known1%–CVE record
CVE-2024-21230Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer)6.5None knownunder 1%–CVE record
CVE-2024-21196Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: X Plugin)6.5None knownunder 1%–CVE record
CVE-2024-21177Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer)6.5None knownunder 1%–CVE record
CVE-2024-21171Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer)6.5None knownunder 1%–CVE record
CVE-2024-20962Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer)6.5None known1%–CVE record
CVE-2024-20960Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: RAPID)6.5None known1%–CVE record
CVE-2024-20985Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: UDF)6.5None known1%–CVE record
CVE-2024-20977Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer)6.5None known1%–CVE record
CVE-2024-20975Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer)6.5None knownunder 1%–CVE record
CVE-2024-20973Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer)6.5None known1%–CVE record
CVE-2024-20963Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Security: Encryption)6.5None known1%–CVE record
CVE-2024-20961Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer)6.5None known1%–CVE record
CVE-2023-22095Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer)6.5None known1%–CVE record
CVE-2023-22059Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer)6.5None known1%–CVE record
CVE-2024-21166Vulnerability in the MySQL Server product of Oracle MySQL (component: InnoDB)5.9None knownunder 1%–CVE record
CVE-2025-21559Vulnerability in the MySQL Server product of Oracle MySQL (component: InnoDB)5.5None knownunder 1%–CVE record
CVE-2025-21555Vulnerability in the MySQL Server product of Oracle MySQL (component: InnoDB)5.5None knownunder 1%–CVE record
CVE-2025-21497Vulnerability in the MySQL Server product of Oracle MySQL (component: InnoDB)5.5None knownunder 1%–CVE record
CVE-2024-21163Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer)5.5None knownunder 1%–CVE record
CVE-2024-21015Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: DML)5.5None knownunder 1%–CVE record
CVE-2024-20969Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: DDL)5.5None knownunder 1%–CVE record
CVE-2024-20967Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Replication)5.5None knownunder 1%–CVE record
CVE-2019-2991Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer)5.5None known2%–CVE record
CVE-2025-21540Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Security: Privileges)5.4None knownunder 1%–CVE record
CVE-2024-20964Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Security: Privileges)5.3None known1%–CVE record
CVE-2024-21238Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Thread Pooling)5.3None knownunder 1%–CVE record
CVE-2024-21176Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Thread Pooling)5.3None knownunder 1%–CVE record
CVE-2024-20994Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Information Schema)5.3None known1%–CVE record
CVE-2025-21543Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Packaging)4.9None knownunder 1%–CVE record
CVE-2025-21536Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer)4.9None known1%–CVE record
CVE-2025-21534Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Performance Schema)4.9None known1%–CVE record
CVE-2025-21531Vulnerability in the MySQL Server product of Oracle MySQL (component: InnoDB)4.9None known1%–CVE record
CVE-2025-21529Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Information Schema)4.9None known1%–CVE record
CVE-2025-21525Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: DDL)4.9None known1%–CVE record
CVE-2025-21523Vulnerability in the MySQL Server product of Oracle MySQL (component: InnoDB)4.9None knownunder 1%–CVE record
CVE-2025-21505Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Components Services)4.9None known1%–CVE record
CVE-2025-21504Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer)4.9None known1%–CVE record
CVE-2025-21503Vulnerability in the MySQL Server product of Oracle MySQL (component: InnoDB)4.9None known1%–CVE record
CVE-2025-21499Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: DDL)4.9None known1%–CVE record
CVE-2025-21491Vulnerability in the MySQL Server product of Oracle MySQL (component: InnoDB)4.9None known1%–CVE record
CVE-2025-21490Vulnerability in the MySQL Server product of Oracle MySQL (component: InnoDB)4.9None known1%–CVE record
CVE-2024-21241Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer)4.9None knownunder 1%–CVE record
CVE-2024-21239Vulnerability in the MySQL Server product of Oracle MySQL (component: InnoDB)4.9None known1%–CVE record
CVE-2024-21236Vulnerability in the MySQL Server product of Oracle MySQL (component: InnoDB)4.9None known1%–CVE record
CVE-2024-21219Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: DML)4.9None knownunder 1%–CVE record
CVE-2024-21218Vulnerability in the MySQL Server product of Oracle MySQL (component: InnoDB)4.9None knownunder 1%–CVE record
CVE-2024-21207Vulnerability in the MySQL Server product of Oracle MySQL (component: InnoDB)4.9None knownunder 1%–CVE record
CVE-2024-21204Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: PS)4.9None knownunder 1%–CVE record
CVE-2024-21203Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: FTS)4.9None knownunder 1%–CVE record
CVE-2024-21201Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer)4.9None knownunder 1%–CVE record
CVE-2024-21199Vulnerability in the MySQL Server product of Oracle MySQL (component: InnoDB)4.9None knownunder 1%–CVE record
CVE-2024-21198Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: DDL)4.9None knownunder 1%–CVE record
CVE-2024-21197Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Information Schema)4.9None knownunder 1%–CVE record
CVE-2024-21194Vulnerability in the MySQL Server product of Oracle MySQL (component: InnoDB)4.9None knownunder 1%–CVE record
CVE-2024-21193Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: PS)4.9None knownunder 1%–CVE record
CVE-2024-21179Vulnerability in the MySQL Server product of Oracle MySQL (component: InnoDB)4.9None knownunder 1%–CVE record
CVE-2024-21173Vulnerability in the MySQL Server product of Oracle MySQL (component: InnoDB)4.9None knownunder 1%–CVE record
CVE-2024-21162Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer)4.9None knownunder 1%–CVE record
CVE-2024-21160Vulnerability in the MySQL Server product of Oracle MySQL (component: InnoDB)4.9None knownunder 1%–CVE record
CVE-2024-21159Vulnerability in the MySQL Server product of Oracle MySQL (component: InnoDB)4.9None knownunder 1%–CVE record
CVE-2024-21157Vulnerability in the MySQL Server product of Oracle MySQL (component: InnoDB)4.9None knownunder 1%–CVE record
CVE-2024-21142Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Security: Privileges)4.9None knownunder 1%–CVE record
CVE-2024-21137Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer)4.9None knownunder 1%–CVE record
CVE-2024-21135Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer)4.9None knownunder 1%–CVE record
CVE-2024-21130Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer)4.9None knownunder 1%–CVE record
CVE-2024-21129Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: DDL)4.9None knownunder 1%–CVE record
CVE-2024-21127Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: DDL)4.9None knownunder 1%–CVE record
CVE-2024-21125Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: FTS)4.9None knownunder 1%–CVE record
CVE-2024-20996Vulnerability in the MySQL Server product of Oracle MySQL (component: InnoDB)4.9None knownunder 1%–CVE record
CVE-2024-21102Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Thread Pooling)4.9None known1%–CVE record
CVE-2024-21096Vulnerability in the MySQL Server product of Oracle MySQL (component: Client: mysqldump)4.9None knownunder 1%–CVE record
CVE-2024-21087Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Group Replication Plugin)4.9None knownunder 1%–CVE record
CVE-2024-21069Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: DDL)4.9None knownunder 1%–CVE record
CVE-2024-21062Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer)4.9None knownunder 1%–CVE record
CVE-2024-21061Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Audit Plug-in)4.9None knownunder 1%–CVE record
CVE-2024-21060Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Data Dictionary)4.9None knownunder 1%–CVE record
CVE-2024-21054Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer)4.9None known1%–CVE record
CVE-2024-21047Vulnerability in the MySQL Server product of Oracle MySQL (component: InnoDB)4.9None knownunder 1%–CVE record
CVE-2024-21009Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer)4.9None known1%–CVE record
CVE-2024-20998Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer)4.9None known1%–CVE record
CVE-2024-20993Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer)4.9None known1%–CVE record
CVE-2024-20982Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer)4.9None known1%–CVE record
CVE-2024-20978Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer)4.9None known1%–CVE record
CVE-2024-20976Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer)4.9None known1%–CVE record
CVE-2024-20974Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer)4.9None knownunder 1%–CVE record
CVE-2024-20972Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer)4.9None known1%–CVE record
CVE-2024-20970Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer)4.9None known1%–CVE record
CVE-2024-20966Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer)4.9None known1%–CVE record
CVE-2024-20981Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: DDL)4.9None known1%–CVE record
CVE-2024-20971Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer)4.9None known1%–CVE record
CVE-2024-20965Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer)4.9None known2%–CVE record
CVE-2023-22114Vulnerability in the MySQL Server product of Oracle MySQL (component: InnoDB)4.9None known1%–CVE record
CVE-2023-22103Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer)4.9None known1%–CVE record
CVE-2023-22097Vulnerability in the MySQL Server product of Oracle MySQL (component: InnoDB)4.9None known1%–CVE record
CVE-2023-22084Vulnerability in the MySQL Server product of Oracle MySQL (component: InnoDB)4.9None known2%–CVE record
CVE-2023-22078Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer)4.9None known1%–CVE record
CVE-2023-22070Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer)4.9None known1%–CVE record
CVE-2023-22068Vulnerability in the MySQL Server product of Oracle MySQL (component: InnoDB)4.9None known1%–CVE record
CVE-2023-22066Vulnerability in the MySQL Server product of Oracle MySQL (component: InnoDB)4.9None known1%–CVE record
CVE-2023-22032Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer)4.9None known1%–CVE record
CVE-2025-21519Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Security: Privileges)4.4None knownunder 1%–CVE record
CVE-2025-21493Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Security: Privileges)4.4None knownunder 1%–CVE record
CVE-2024-21013Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer)4.4None knownunder 1%–CVE record
CVE-2024-21008Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer)4.4None knownunder 1%–CVE record
CVE-2024-20984Vulnerability in the MySQL Server product of Oracle MySQL (component: Server : Security : Firewall)4.4None known1%–CVE record
CVE-2024-20968Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Options)4.4None knownunder 1%–CVE record
CVE-2025-21567Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Security: Privileges)4.3None knownunder 1%–CVE record
CVE-2024-21213Vulnerability in the MySQL Server product of Oracle MySQL (component: InnoDB)4.2None knownunder 1%–CVE record
CVE-2024-21134Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Connection Handling)4.3None knownunder 1%–CVE record
CVE-2025-21494Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Security: Privileges)4.1None knownunder 1%–CVE record
CVE-2025-21546Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Security: Privileges)3.8None knownunder 1%–CVE record
CVE-2024-21000Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Security: Privileges)3.8None knownunder 1%–CVE record
CVE-2024-21231Vulnerability in the MySQL Server product of Oracle MySQL (component: Client programs)3.1None knownunder 1%–CVE record
CVE-2024-21244Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Telemetry)2.2None knownunder 1%–CVE record
CVE-2024-21243Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Telemetry)2.2None knownunder 1%–CVE record
CVE-2024-21237Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Group Replication GCS)2.2None knownunder 1%–CVE record
CVE-2024-21232Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Components Services)2.2None knownunder 1%–CVE record
CVE-2024-21101Vulnerability in the MySQL Cluster product of Oracle MySQL (component: Cluster: General)2.2None knownunder 1%–NVD
CVE-2025-21520Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Options)1.8None knownunder 1%–CVE record

Support for the 8.1 line

The 8.1 line was first released 18 July 2023. Security fixes for it ended 25 October 2023, so vulnerabilities found since then stay open on every 8.1 release. Its latest release is 8.1.0. Dates and latest release from endoflife.date.

All Oracle MySQL versions

How this list is made

These are the CVEs Dawnsentry matches to each Oracle MySQL version, with the same engine its customers use. Where the vendor publishes its own advisory, that decides whether a version is affected, down to hotfix level; otherwise the CVE record and NVD's version data decide. CVSS comes from NVD or the reporting organisation, exploitation from CISA's Known Exploited Vulnerabilities catalogue, CISA's ratings, Metasploit and Nuclei, and EPSS (the probability of exploitation in the next 30 days) from FIRST. The list is rebuilt every day. Always confirm against the vendor's advisory before you act on it.

Updated 2 December 2026.