{"api_version":"1","generated_at":"2026-10-21T22:06:12+00:00","cve":"CVE-2026-85746","urls":{"html":"https://cve.report/CVE-2026-85746","api":"https://cve.report/api/cve/CVE-2026-85746.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-85746","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-85746"},"summary":{"title":"MariaDB: Out-of-bound buffer write on in `ST_AsText` of nested GeometryCollections","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.","state":"PUBLISHED","assigner":"GitHub_M","published_at":"2026-10-16 17:17:51","updated_at":"2026-10-20 15:33:00"},"problem_types":["CWE-787","CWE-787 CWE-787: Out-of-bounds Write"],"metrics":[{"version":"3.1","source":"security-advisories@github.com","type":"Secondary","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","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","baseScore":9.9,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","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","data":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.9,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1"}}],"references":[{"url":"https://github.com/MariaDB/server/releases/tag/mariadb-10.6.28","name":"https://github.com/MariaDB/server/releases/tag/mariadb-10.6.28","refsource":"security-advisories@github.com","tags":["Release Notes"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/MariaDB/server/releases/tag/mariadb-13.0.2","name":"https://github.com/MariaDB/server/releases/tag/mariadb-13.0.2","refsource":"security-advisories@github.com","tags":["Release Notes"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://jira.mariadb.org/browse/MDEV-40329","name":"https://jira.mariadb.org/browse/MDEV-40329","refsource":"security-advisories@github.com","tags":["Issue Tracking"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/MariaDB/server/releases/tag/mariadb-11.8.9","name":"https://github.com/MariaDB/server/releases/tag/mariadb-11.8.9","refsource":"security-advisories@github.com","tags":["Release Notes"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/MariaDB/server/security/advisories/GHSA-8fvj-c57c-pggx","name":"https://github.com/MariaDB/server/security/advisories/GHSA-8fvj-c57c-pggx","refsource":"security-advisories@github.com","tags":["Vendor Advisory"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/MariaDB/server/releases/tag/mariadb-10.11.19","name":"https://github.com/MariaDB/server/releases/tag/mariadb-10.11.19","refsource":"security-advisories@github.com","tags":["Release Notes"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/MariaDB/server/commit/5c04ca5524385356ff7cf84974a7d491974c1f85","name":"https://github.com/MariaDB/server/commit/5c04ca5524385356ff7cf84974a7d491974c1f85","refsource":"security-advisories@github.com","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/MariaDB/server/releases/tag/mariadb-12.3.3","name":"https://github.com/MariaDB/server/releases/tag/mariadb-12.3.3","refsource":"security-advisories@github.com","tags":["Release Notes"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/MariaDB/server/releases/tag/mariadb-11.4.13","name":"https://github.com/MariaDB/server/releases/tag/mariadb-11.4.13","refsource":"security-advisories@github.com","tags":["Release Notes"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-85746","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-85746","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"MariaDB","product":"server","version":"affected >= 10.6.1, < 10.6.28","platforms":[]},{"source":"CNA","vendor":"MariaDB","product":"server","version":"affected >= 10.11.1, < 10.11.19","platforms":[]},{"source":"CNA","vendor":"MariaDB","product":"server","version":"affected >= 11.4.1, < 11.4.13","platforms":[]},{"source":"CNA","vendor":"MariaDB","product":"server","version":"affected >= 11.8.1, < 11.8.9","platforms":[]},{"source":"CNA","vendor":"MariaDB","product":"server","version":"affected >= 12.3.1, < 12.3.3","platforms":[]},{"source":"CNA","vendor":"MariaDB","product":"server","version":"affected >= 13.0.1, < 13.0.2","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2026","cve_id":"85746","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"mariadb","cpe5":"mariadb","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"metrics":[{"other":{"content":{"id":"CVE-2026-85746","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","timestamp":"2026-10-16T16:49:55.618818Z","version":"2.0.3"},"type":"ssvc"}}],"providerMetadata":{"dateUpdated":"2026-10-16T17:05:31.146Z","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP"},"title":"CISA ADP Vulnrichment"}],"cna":{"affected":[{"product":"server","vendor":"MariaDB","versions":[{"status":"affected","version":">= 10.6.1, < 10.6.28"},{"status":"affected","version":">= 10.11.1, < 10.11.19"},{"status":"affected","version":">= 11.4.1, < 11.4.13"},{"status":"affected","version":">= 11.8.1, < 11.8.9"},{"status":"affected","version":">= 12.3.1, < 12.3.3"},{"status":"affected","version":">= 13.0.1, < 13.0.2"}]}],"descriptions":[{"lang":"en","value":"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."}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.9,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-787","description":"CWE-787: Out-of-bounds Write","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-10-16T16:27:36.763Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M"},"references":[{"name":"https://github.com/MariaDB/server/security/advisories/GHSA-8fvj-c57c-pggx","tags":["x_refsource_CONFIRM"],"url":"https://github.com/MariaDB/server/security/advisories/GHSA-8fvj-c57c-pggx"},{"name":"https://github.com/MariaDB/server/commit/5c04ca5524385356ff7cf84974a7d491974c1f85","tags":["x_refsource_MISC"],"url":"https://github.com/MariaDB/server/commit/5c04ca5524385356ff7cf84974a7d491974c1f85"},{"name":"https://github.com/MariaDB/server/releases/tag/mariadb-10.11.19","tags":["x_refsource_MISC"],"url":"https://github.com/MariaDB/server/releases/tag/mariadb-10.11.19"},{"name":"https://github.com/MariaDB/server/releases/tag/mariadb-10.6.28","tags":["x_refsource_MISC"],"url":"https://github.com/MariaDB/server/releases/tag/mariadb-10.6.28"},{"name":"https://github.com/MariaDB/server/releases/tag/mariadb-11.4.13","tags":["x_refsource_MISC"],"url":"https://github.com/MariaDB/server/releases/tag/mariadb-11.4.13"},{"name":"https://github.com/MariaDB/server/releases/tag/mariadb-11.8.9","tags":["x_refsource_MISC"],"url":"https://github.com/MariaDB/server/releases/tag/mariadb-11.8.9"},{"name":"https://github.com/MariaDB/server/releases/tag/mariadb-12.3.3","tags":["x_refsource_MISC"],"url":"https://github.com/MariaDB/server/releases/tag/mariadb-12.3.3"},{"name":"https://github.com/MariaDB/server/releases/tag/mariadb-13.0.2","tags":["x_refsource_MISC"],"url":"https://github.com/MariaDB/server/releases/tag/mariadb-13.0.2"},{"name":"https://jira.mariadb.org/browse/MDEV-40329","tags":["x_refsource_MISC"],"url":"https://jira.mariadb.org/browse/MDEV-40329"}],"source":{"advisory":"GHSA-8fvj-c57c-pggx","discovery":"UNKNOWN"},"title":"MariaDB: Out-of-bound buffer write on in `ST_AsText` of nested GeometryCollections"}},"cveMetadata":{"assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","assignerShortName":"GitHub_M","cveId":"CVE-2026-85746","datePublished":"2026-10-16T16:27:36.763Z","dateReserved":"2026-09-04T14:50:16.720Z","dateUpdated":"2026-10-16T17:05:31.146Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-10-16 17:17:51","lastModifiedDate":"2026-10-20 15:33:00","problem_types":["CWE-787","CWE-787 CWE-787: Out-of-bounds Write"],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","baseScore":9.9,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":3.1,"impactScore":6}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-10-16T16:49:55.618818Z","id":"CVE-2026-85746","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*","versionStartIncluding":"10.6.1","versionEndExcluding":"10.6.28","matchCriteriaId":"6A6667AA-6A82-49E2-894B-318569872468"},{"vulnerable":true,"criteria":"cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*","versionStartIncluding":"10.11.1","versionEndExcluding":"10.11.19","matchCriteriaId":"C18A44B6-CEEF-47D7-9D60-04E6EBAFC785"},{"vulnerable":true,"criteria":"cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*","versionStartIncluding":"11.4.1","versionEndExcluding":"11.4.13","matchCriteriaId":"47070DA5-F754-4FE1-957A-375C39D9029E"},{"vulnerable":true,"criteria":"cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*","versionStartIncluding":"11.8.1","versionEndExcluding":"11.8.9","matchCriteriaId":"39AD11EC-57BE-4D2B-9A7C-E667E23A6940"},{"vulnerable":true,"criteria":"cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*","versionStartIncluding":"12.3.1","versionEndExcluding":"12.3.3","matchCriteriaId":"E6988F1C-2D11-431B-BBE4-3AA8483627C8"},{"vulnerable":true,"criteria":"cpe:2.3:a:mariadb:mariadb:13.0.1:*:*:*:*:*:*:*","matchCriteriaId":"E46FBE57-06D5-489E-9ECE-333F5F9AFD06"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"85746","Ordinal":"1","Title":"MariaDB: Out-of-bound buffer write on in `ST_AsText` of nested G","CVE":"CVE-2026-85746","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"85746","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"MariaDB: Out-of-bound buffer write on in `ST_AsText` of nested G"}]}}}