{"id":"CVE-2026-55859","published":"2026-08-28T22:48:41Z","modified":"2026-08-31T18:53:25Z","title":"MariaDB Connector/R2DBC: Inappropriate Encoding for Output Context and Improper Encoding or Escaping of Output in…","vendor":"mariadb-corporation","product":"mariadb-connector-r2dbc","tier":"tail","description":{"text":"MariaDB Connector/R2DBC is a non-blocking MariaDB and MySQL client implemented in Java. Prior to 1.4.1, org.mariadb:r2dbc-mariadb encodes and decodes all character data under the assumption that the connection character set is UTF-8. A server can announce a mid-session change to character_set_client through the OK-packet session-state-tracking mechanism, including through SET NAMES executed by a stored routine or trigger, server configuration, or a hostile or man-in-the-middle server. If the new character set is not UTF-8, the driver continues to exchange UTF-8 while the server interprets the same bytes under a different encoding, causing silent data corruption and a client/server charset-confusion mismatch that can defeat byte-wise quoting or escaping. The fix accepts only utf8, utf8mb3, or utf8mb4 after initialization; any other value raises R2dbcNonTransientResourceException with SQLState 08000 and closes the connection. This issue is fixed in version 1.4.1.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00486,"percentile":0.42801,"provenance":"source"},"cwes":[{"id":"CWE-116","name":"Improper Encoding or Escaping of Output"},{"id":"CWE-838","name":"Inappropriate Encoding for Output Context"}],"references":[{"url":"https://github.com/mariadb-corporation/mariadb-connector-r2dbc/security/advisories/GHSA-5rqc-86vf-g8r2","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/mariadb-corporation/mariadb-connector-r2dbc/commit/38bad9afebc6c581a853656a42f9ebf403b1b1b7","tags":["x_refsource_MISC"]},{"url":"https://github.com/mariadb-corporation/mariadb-connector-r2dbc/releases/tag/1.4.1","tags":["x_refsource_MISC"]},{"url":"https://jira.mariadb.org/browse/R2DBC-124","tags":["x_refsource_MISC"]}],"priority":{"score":12.7,"factors":[{"name":"EPSS percentile","points":8.56},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"mariadb","affectedVersions":[{"vendor":"mariadb-corporation","product":"mariadb-connector-r2dbc","versions":["< 1.4.1"]},{"vendor":"org.mariadb","product":"r2dbc-mariadb","versions":["< 1.4.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-31T15:21:03.102797Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.mariadb:r2dbc-mariadb","vulnerableRanges":["<1.4.1"],"patched":["1.4.1"],"from":["GHSA-5rqc-86vf-g8r2"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-68022","exploited":false,"provenance":"source"}}