Advisory preview
CriticalCVE-2026-85746MariaDB ST_AsText buffer overflow in deeply nested GeometryCollections (CVE-2026-85746): upgrade to fixed releases
CVSS 9.9 (v3.1) · GitHub_M
Why it matters
MariaDB's ST_AsText function can write past the end of an allocated output buffer when converting deeply nested GeometryCollections, because the recursive WKT serialization does not properly track bytes written or reserve enough space. A remote user with low privileges who can submit a crafted GIS object can corrupt server memory. The vendor notes that code execution may be possible when this is combined with another vulnerability.
What to check
Compare the installed version and configuration with the affected versions in the advisory.
Fix status
Patch status unconfirmedWorkaround not documented