CVE-2022-21595 in Mariadb and 3 more products
Vulnerability in the MySQL Server product of Oracle MySQL (component: C API). Supported versions that are affected are 5.7.36 and prior and 8.0.27 and prior. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromise MySQL Server. Successful attacks of...
Affects 4 products from 3 vendors. Facts below cite their sources.
Remotely exploitable over the network, high complexity, high privileges required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Mariadb | Mariadb | ≥ 10.2.0, < 10.2.42 ≥ 10.3.0, < 10.3.33 ≥ 10.4.0, < 10.4.23 ≥ 10.5.0, < 10.5.14 ≥ 10.6.0, < 10.6.6 ≥ 10.7.0, < 10.7.2 |
| Netapp | Oncommand Insight | No version listed by the source |
| Netapp | Oncommand Workflow Automation | No version listed by the source |
| Oracle | Mysql | ≥ 5.7.0, ≤ 5.7.36 ≥ 8.0, ≤ 8.0.27 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
Vulnerability in the MySQL Server product of Oracle MySQL (component: C API). Supported versions that are affected are 5.7.36 and prior and 8.0.27 and prior. Difficult to exploit vulnerability allows high 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 4.4 (Availability impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H).
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2022-21595 |
|---|---|
| BreachSpider ID | BS-2022-GLOBAL-311841-M |
| CVSS vector | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H |
| Published | 2022-10-18 |
| Last modified | 2026-06-17 |
| Source | NVD |
Analysis AI-written, not human-reviewed
A vulnerability in the MySQL Server product of Oracle MySQL, specifically in the C API component, affects versions 5.7.36 and prior and 8.0.27 and prior. This vulnerability allows a high-privileged attacker with network access to compromise the MySQL Server, potentially causing it to hang or crash frequently.
The attack vector involves a high-privileged attacker exploiting the vulnerability via multiple protocols to compromise the MySQL Server. The difficulty of exploitation is rated as high, but the potential impact is significant.
Questions
What is CVE-2022-21595?
A vulnerability in the MySQL Server product of Oracle MySQL, specifically in the C API component, affects versions 5.7.36 and prior and 8.0.27 and prior. This vulnerability allows a high-privileged attacker with network access to compromise the MySQL Server, potentially causing it to hang or crash frequently.
What is the CVSS score for CVE-2022-21595?
CVE-2022-21595 has CVSS 4.4 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H. EPSS: 0.9%.
Is CVE-2022-21595 actively exploited?
No confirmed active exploitation of CVE-2022-21595 as of 2026-09-25.
How do I remediate CVE-2022-21595?
Priority: MEDIUM. Advisory: https://www.oracle.com/security-alerts/cpuoct2022.html PSIRT: [email protected]
What systems are affected by CVE-2022-21595?
CVE-2022-21595 affects Mariadb Mariadb; Netapp Oncommand Insight, Oncommand Workflow Automation; Oracle Mysql.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Mariadb","product":"Mariadb","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.