Skip to content
Heist/ feed
Critical

MariaDB: Use-after-free with a large number of SYS_REFCURSOR's

Type: advisorySource: Official CVE List1 source record

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.

Announced Source revision 1
Original source ↗

CVE-2026-85748

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-85748

server

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "MariaDB",
    "product": "server",
    "versions": [
      {
        "status": "affected",
        "version": ">= 12.3.1, < 12.3.3"
      },
      {
        "status": "affected",
        "version": ">= 13.0.1, < 13.0.2"
      }
    ]
  }
]
Related CVEs
CVE-2026-85748

Source reference: /cveMetadata/cveId

Publisher severity

critical

Source reference: /containers/cna/metrics

Event
#32758 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement