# JLSEC-2026-211: 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 Julia Security Advisories) `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
- Published: 2026-04-27T14:14:18.864Z
- Modified: 2026-07-25T18:24:06.201Z
- Related: CVE-2020-13249

## 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 Julia Security Advisories.)

## Affected

- MariaDB_Connector_C_jll (Julia): before 3.1.12+0

## Every score

- Julia Security Advisories: CVSS:2.0 `AV:N/AC:M/Au:N/C:P/I:P/A:P`
- Julia Security Advisories: 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`

## References

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

## Sources

- Julia Security Advisories: [JLSEC-2026-211](https://osv.dev/vulnerability/JLSEC-2026-211), CC-BY-4.0, modified 2026-07-25

---

Page: https://cve.day/JLSEC-2026-211 · Whole record: https://cve.day/JLSEC-2026-211.json · Rebuilt by cve.day 2026-11-25T22:56:26.036Z
