# CVE-2026-119281: MariaDB Connector/J: Server could switch character_set_results away from UTF-8 without the client noticing

- Severity: Medium 5.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N`
- 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): 0.38%, higher than 34% of CVEs (2026-12-01)
- Published: 2026-10-29T20:58:39.322Z
- Modified: 2026-11-04T02:17:18.940Z
- Also known as: GHSA-grfq-r75j-rw9x
- Weaknesses: CWE-838
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

MariaDB Connector/J is used to connect applications developed in Java to MariaDB and MySQL databases. From 3.0.0 until 3.3.7, 3.4.5, and 3.5.11, the connector assumed result bytes were UTF-8 but guarded only changes to character_set_client. It did not reject non-UTF-8 character_set_results changes and relied on the server's global session_track_system_variables configuration to report character-set changes. A malicious or compromised server, or a machine-in-the-middle attacker, could suppress tracking or change the result charset so application strings differed from the returned bytes, potentially defeating application-side validation or escaping that depended on the decoded values. This issue is fixed in versions 3.3.7, 3.4.5, and 3.5.11.

(As written by CVE List.)

## Affected

- mariadb-corporation mariadb-connector-j: >= 3.0.0, < 3.3.7; >= 3.4.0, < 3.4.5; >= 3.5.0, < 3.5.11
- org.mariadb.jdbc:mariadb-java-client (Maven): from 3.0.0 before 3.3.7; from 3.4.0 before 3.4.5; from 3.5.0 before 3.5.11

## Every score

- GitHub_M: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N`
- GitHub: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://github.com/mariadb-corporation/mariadb-connector-j/security/advisories/GHSA-grfq-r75j-rw9x> (web)
- <https://github.com/mariadb-corporation/mariadb-connector-j/commit/af5e565eb171cfc66ea8e948ddc616abed0c4623> (web)
- <https://github.com/mariadb-corporation/mariadb-connector-j/commit/d51b968c1b795c73d24e0b3f960205b7bc82d423> (web)
- <https://github.com/mariadb-corporation/mariadb-connector-j/commit/fdabe74a7df6dce1d6c099f4d0ca1e2acc25919a> (web)
- <https://github.com/mariadb-corporation/mariadb-connector-j/releases/tag/3.3.7> (web)
- <https://github.com/mariadb-corporation/mariadb-connector-j/releases/tag/3.4.5> (web)
- <https://github.com/mariadb-corporation/mariadb-connector-j/releases/tag/3.5.11> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-119281> (advisory)
- <https://github.com/mariadb-corporation/mariadb-connector-j> (package)

## Sources

- CVE List: [CVE-2026-119281](https://www.cve.org/CVERecord?id=CVE-2026-119281), CVE Terms of Use, modified 2026-11-04
- GitHub Advisory Database: [GHSA-grfq-r75j-rw9x](https://github.com/advisories/GHSA-grfq-r75j-rw9x), CC-BY-4.0, modified 2026-10-30
- NVD: [CVE-2026-119281](https://nvd.nist.gov/vuln/detail/CVE-2026-119281), Public domain, modified 2026-11-04

---

Page: https://cve.day/CVE-2026-119281 · Whole record: https://cve.day/CVE-2026-119281.json · Rebuilt by cve.day 2026-11-25T22:59:47.841Z
