{"schemaVersion":3,"id":"CVE-2026-85746","aliases":["DEBIAN-CVE-2026-85746"],"status":"published","duplicateOf":null,"title":null,"description":"MariaDB server is a community developed fork of MySQL server. From 10.6.1 until 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, and 13.0.2, ST_AsText can write beyond an allocated output buffer when converting deeply nested GeometryCollections because recursive WKT serialization does not account for bytes consumed or reserve sufficient space. A low-privileged remote attacker can submit a specially crafted GIS object to corrupt memory and potentially achieve code execution when combined with another vulnerability. This issue is fixed in versions 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, and 13.0.2.","dates":{"published":"2026-10-16T16:27:36.763Z","modified":"2026-10-16T17:05:31.146Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.9,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":9.9,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.9,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":9.9,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","exploitability":7.9,"impact":10,"computed":true}]},"epss":{"probability":0.00627,"percentile":0.49082,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-10-17T00:00:00.000Z","score":0.00627,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00627,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00627,"percentile":0.49082}],"last30":[{"date":"2026-10-17T00:00:00.000Z","score":0.00627,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00627,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00627,"percentile":0.49082}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-787","name":"Out-of-bounds Write","description":"The product writes data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/787.html"}],"affected":[{"vendor":"debian","product":"mariadb","name":"mariadb","label":"mariadb","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/mariadb","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 1:11.8.9+ds-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 1:11.8.9+ds-1","eol":null,"hubHref":null},{"vendor":"mariadb","product":"server","name":"server","label":"server","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 10.6.1, < 10.6.28","noFixRecorded":false,"fixedIn":null},{"text":"≥ 10.11.1, < 10.11.19","noFixRecorded":false,"fixedIn":null},{"text":"≥ 11.4.1, < 11.4.13","noFixRecorded":false,"fixedIn":null},{"text":"≥ 11.8.1, < 11.8.9","noFixRecorded":false,"fixedIn":null},{"text":"≥ 12.3.1, < 12.3.3","noFixRecorded":false,"fixedIn":null},{"text":"≥ 13.0.1, < 13.0.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 10.6.1, < 10.6.28 | ≥ 10.11.1, < 10.11.19 | ≥ 11.4.1, < 11.4.13 | ≥ 11.8.1, < 11.8.9 | ≥ 12.3.1, < 12.3.3 | ≥ 13.0.1, < 13.0.2","eol":null,"hubHref":"/vendor/mariadb/server"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/MariaDB/server/security/advisories/GHSA-8fvj-c57c-pggx","label":"github.com/MariaDB/server/security/advisories/GHSA-8fvj-c57c-pggx","hostname":"github.com","tags":["X Refsource CONFIRM"]},{"url":"https://github.com/MariaDB/server/commit/5c04ca5524385356ff7cf84974a7d491974c1f85","label":"github.com/MariaDB/server/commit/5c04ca5524385356ff7cf84974a7d491974c1f85","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/MariaDB/server/releases/tag/mariadb-10.11.19","label":"github.com/MariaDB/server/releases/tag/mariadb-10.11.19","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/MariaDB/server/releases/tag/mariadb-10.6.28","label":"github.com/MariaDB/server/releases/tag/mariadb-10.6.28","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/MariaDB/server/releases/tag/mariadb-11.4.13","label":"github.com/MariaDB/server/releases/tag/mariadb-11.4.13","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/MariaDB/server/releases/tag/mariadb-11.8.9","label":"github.com/MariaDB/server/releases/tag/mariadb-11.8.9","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/MariaDB/server/releases/tag/mariadb-12.3.3","label":"github.com/MariaDB/server/releases/tag/mariadb-12.3.3","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/MariaDB/server/releases/tag/mariadb-13.0.2","label":"github.com/MariaDB/server/releases/tag/mariadb-13.0.2","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://jira.mariadb.org/browse/MDEV-40329","label":"jira.mariadb.org/browse/MDEV-40329","hostname":"jira.mariadb.org","tags":["X Refsource MISC"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-85746","label":"security-tracker.debian.org/tracker/CVE-2026-85746","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-10-16T16:27:36.763Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-10-16T17:05:31.146Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T04:26:38.426Z","stale":false,"partial":false}}