{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-55859","id":"CVE-2026-55859","title":"MariaDB Connector/R2DBC: Inappropriate Encoding for Output Context and Improper Encoding or Escaping of Output in org.mariadb:r2dbc-mariadb","description":"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 s","descriptionLong":"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.","published":"2026-08-28T22:48:41.592Z","updated":"2026-10-28T11:17:50.020995859Z","reserved":"2026-06-17T16:44:40.995Z","status":"Awaiting Analysis","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["mariadb-corporation mariadb-connector-r2dbc","org.mariadb r2dbc-mariadb"],"affectedProducts":[{"vendor":"mariadb-corporation","product":"mariadb-connector-r2dbc","defaultStatus":null,"versions":[{"version":"< 1.4.1","status":"affected"}],"platforms":[]},{"vendor":"org.mariadb","product":"r2dbc-mariadb","defaultStatus":null,"versions":[{"version":"< 1.4.1","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"org.mariadb:r2dbc-mariadb","purl":"pkg:maven/org.mariadb/r2dbc-mariadb","ranges":["<1.4.1"],"fixed":["1.4.1"],"advisory":"GHSA-5rqc-86vf-g8r2"}],"cwes":["CWE-116","CWE-838"],"aliases":["GHSA-5rqc-86vf-g8r2"],"references":[{"url":"https://github.com/mariadb-corporation/mariadb-connector-r2dbc/security/advisories/GHSA-5rqc-86vf-g8r2","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/mariadb-corporation/mariadb-connector-r2dbc/commit/38bad9afebc6c581a853656a42f9ebf403b1b1b7","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/mariadb-corporation/mariadb-connector-r2dbc/releases/tag/1.4.1","tags":["x_refsource_MISC","web"]},{"url":"https://jira.mariadb.org/browse/R2DBC-124","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55859.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55859","tags":["advisory"]},{"url":"https://github.com/mariadb-corporation/mariadb-connector-r2dbc","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00486,"epssPercentile":0.42661,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-55859","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55859","ok":true,"note":"Awaiting Analysis"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-55859","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-5rqc-86vf-g8r2","ok":true,"note":"GHSA-5rqc-86vf-g8r2"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-55859","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["mysql"],"critical":[],"attention":null}