CVE-2026-85746
Full vulnerability record from the local CVENow database.
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.
Severity
CRITICAL
CVSS score
9.9
(v3.1)
Vulnerability status
Analyzed
Source identifier
Published
2026-10-16 17:17:51.167000
Last modified
2026-10-20 15:33:00.870000
View original CVE JSON
{
"id": "CVE-2026-85746",
"sourceIdentifier": "[email protected]",
"published": "2026-10-16T17:17:51.167",
"lastModified": "2026-10-20T15:33:00.870",
"vulnStatus": "Analyzed",
"cveTags": [],
"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."
}
],
"affected": [
{
"source": "[email protected]",
"affectedData": [
{
"vendor": "MariaDB",
"product": "server",
"versions": [
{
"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",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "[email protected]",
"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.0
}
],
"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"
}
}
]
},
"weaknesses": [
{
"source": "[email protected]",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-787"
}
]
}
],
"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"
}
]
}
]
}
],
"references": [
{
"url": "https://github.com/MariaDB/server/commit/5c04ca5524385356ff7cf84974a7d491974c1f85",
"source": "[email protected]",
"tags": [
"Patch"
]
},
{
"url": "https://github.com/MariaDB/server/releases/tag/mariadb-10.11.19",
"source": "[email protected]",
"tags": [
"Release Notes"
]
},
{
"url": "https://github.com/MariaDB/server/releases/tag/mariadb-10.6.28",
"source": "[email protected]",
"tags": [
"Release Notes"
]
},
{
"url": "https://github.com/MariaDB/server/releases/tag/mariadb-11.4.13",
"source": "[email protected]",
"tags": [
"Release Notes"
]
},
{
"url": "https://github.com/MariaDB/server/releases/tag/mariadb-11.8.9",
"source": "[email protected]",
"tags": [
"Release Notes"
]
},
{
"url": "https://github.com/MariaDB/server/releases/tag/mariadb-12.3.3",
"source": "[email protected]",
"tags": [
"Release Notes"
]
},
{
"url": "https://github.com/MariaDB/server/releases/tag/mariadb-13.0.2",
"source": "[email protected]",
"tags": [
"Release Notes"
]
},
{
"url": "https://github.com/MariaDB/server/security/advisories/GHSA-8fvj-c57c-pggx",
"source": "[email protected]",
"tags": [
"Vendor Advisory"
]
},
{
"url": "https://jira.mariadb.org/browse/MDEV-40329",
"source": "[email protected]",
"tags": [
"Issue Tracking"
]
}
]
}