CVE-2020-13249 in Fedoraproject Fedora and 2 more products
libmariadb/mariadb_lib.c in MariaDB Connector/C before 3.1.8 does not properly validate the content of an OK packet received from a server. NOTE: although mariadb_lib.c was originally based on code shipped for MySQL, this issue does not affect any MySQL components supported by Oracle.
Affects 3 products from 3 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Fedoraproject | Fedora | 31 32 |
| Mariadb | Connector/C | < 3.1.8 |
| Opensuse | Leap | 15.1 |
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
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
libmariadb/mariadb_lib.c in MariaDB Connector/C before 3.1.8 does not properly validate the content of an OK packet received from a server. NOTE: although mariadb_lib.c was originally based on code shipped for MySQL, this issue does not affect any MySQL components supported by Oracle.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2020-13249 |
|---|---|
| BreachSpider ID | BS-2020-GLOBAL-329842-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| Published | 2020-05-20 |
| Last modified | 2026-06-17 |
| Source | NVD |
Analysis AI-written, not human-reviewed
MariaDB Connector/C versions before 3.1.8 are vulnerable to an improper validation of OK packets, which could lead to a buffer overflow and potentially remote code execution.
An attacker could exploit this vulnerability by sending a specially crafted OK packet to a client application using the affected MariaDB Connector/C, potentially leading to arbitrary code execution with the privileges of the client application.
Questions
What is CVE-2020-13249?
MariaDB Connector/C versions before 3.1.8 are vulnerable to an improper validation of OK packets, which could lead to a buffer overflow and potentially remote code execution.
What is the CVSS score for CVE-2020-13249?
CVE-2020-13249 has CVSS 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H. EPSS: 2.3%.
Is CVE-2020-13249 actively exploited?
No confirmed active exploitation of CVE-2020-13249 as of 2026-09-25.
How do I remediate CVE-2020-13249?
Priority: IMMEDIATE.
What systems are affected by CVE-2020-13249?
CVE-2020-13249 affects Fedoraproject Fedora; Mariadb Connector/C; Opensuse Leap.
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":"Fedoraproject","product":"Fedora","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.