{
  "id": "CVE-2026-85746",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-85746",
  "published_at": "2026-10-16T16:27:36.763Z",
  "title": "MariaDB: Out-of-bound buffer write on in `ST_AsText` of nested GeometryCollections",
  "vendor": "MariaDB",
  "product": "server",
  "cvss": {
    "score": 9.9,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": 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.",
  "cwe": "CWE-787",
  "cpes": [
    "cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*",
    "cpe:2.3:a:mariadb:mariadb:13.0.1:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 9.9
  },
  "repos": [
    {
      "repo": "SeanDishman/mariadb-cve-2026-92262",
      "url": "https://github.com/SeanDishman/mariadb-cve-2026-92262",
      "created_at": "2026-10-18T19:18:24Z",
      "first_seen_at": "2026-11-15T03:24:29.718Z",
      "stars": 1,
      "is_poc": "unknown",
      "suspicion_score": 30,
      "suspicious": false,
      "suspicion_reasons": [
        "README gives an archive password"
      ],
      "status": "analyzed",
      "owner_created_at": "2025-06-17T20:53:42Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "MariaDB",
        "product": "server",
        "ranges": [
          "\u003e= 10.6.1, \u003c 10.6.28",
          "\u003e= 10.11.1, \u003c 10.11.19",
          "\u003e= 11.4.1, \u003c 11.4.13",
          "\u003e= 11.8.1, \u003c 11.8.9",
          "\u003e= 12.3.1, \u003c 12.3.3",
          "\u003e= 13.0.1, \u003c 13.0.2"
        ],
        "fixed_in": [
          "10.6.28",
          "10.11.19",
          "11.4.13",
          "11.8.9",
          "12.3.3",
          "13.0.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade server to 10.6.28 or 10.11.19 or 11.4.13 or 11.8.9 or 12.3.3 or 13.0.2 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/MariaDB/server/security/advisories/GHSA-8fvj-c57c-pggx"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/MariaDB/server/commit/5c04ca5524385356ff7cf84974a7d491974c1f85"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/MariaDB/server/releases/tag/mariadb-10.11.19"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/MariaDB/server/releases/tag/mariadb-10.6.28"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/MariaDB/server/releases/tag/mariadb-11.4.13"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/MariaDB/server/releases/tag/mariadb-11.8.9"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/MariaDB/server/releases/tag/mariadb-12.3.3"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/MariaDB/server/releases/tag/mariadb-13.0.2"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
