{
  "id": "CVE-2026-85748",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-85748",
  "published_at": "2026-10-16T16:28:55.829Z",
  "title": "MariaDB: Use-after-free with a large number of SYS_REFCURSOR's",
  "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 12.3.1 until 12.3.3 and 13.0.2, SYS_REFCURSOR handling is affected because cursor-array reallocation can leave stale references in routine contexts. A low-privileged attacker can open a large number of SYS_REFCURSORs and then fetch one to trigger a use-after-free that can enable remote code execution when combined with another vulnerability. This issue is fixed in versions 12.3.3 and 13.0.2.",
  "cwe": "CWE-416",
  "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= 12.3.1, \u003c 12.3.3",
          "\u003e= 13.0.1, \u003c 13.0.2"
        ],
        "fixed_in": [
          "12.3.3",
          "13.0.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade server to 12.3.3 or 13.0.2 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/MariaDB/server/security/advisories/GHSA-mv8g-9f7q-hprm"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/MariaDB/server/commit/91156c3de58762196605150ab3f756fe952592d1"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/MariaDB/server/commit/9b075b2cb53338f67e7230cc585e02d2d34514ed"
      },
      {
        "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": []
}
