# CVE-2020-13249: libmariadb/mariadblib.c in MariaDB Connector/C before 3.1.8 does not properly validate the content of an OK packet received from a server.

- Severity: High 8.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.30%, higher than 83% of CVEs (2026-12-02)
- Published: 2020-05-20T18:48:12.000Z
- Modified: 2026-06-17T02:52:47.653Z
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- mariadb connector/c: before 3.1.8
- opensuse leap: 15.1
- fedoraproject fedora: 31; 32

## Every score

- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://github.com/mariadb-corporation/mariadb-connector-c/commit/2759b87d72926b7c9b5426437a7c8dd15ff57945> (patch, third-party-advisory)
- <https://github.com/mariadb-corporation/mariadb-connector-c/compare/v3.1.7...v3.1.8> (release-notes, third-party-advisory)
- <http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00064.html> (mailing-list, third-party-advisory, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UW2ED32VEUHXFN2J3YQE27JIBV4SC2PI/> (vendor-advisory)
- <http://lists.opensuse.org/opensuse-security-announce/2020-06/msg00054.html> (broken-link, mailing-list, third-party-advisory, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/X4X2BMF3EILMTXGOZDTPYS3KT5VWLA2P/> (vendor-advisory)

## Sources

- CVE List: [CVE-2020-13249](https://www.cve.org/CVERecord?id=CVE-2020-13249), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2020-13249](https://nvd.nist.gov/vuln/detail/CVE-2020-13249), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-13249 · Whole record: https://cve.day/CVE-2020-13249.json · Rebuilt by cve.day 2026-11-25T22:57:52.481Z
