Vulnerability from bitnami_vulndb
Published
2026-10-21 08:52
Modified
2026-10-22 08:25
Summary
MariaDB: Use-after-free with a large number of SYS_REFCURSOR's
Details

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.


{
  "affected": [
    {
      "package": {
        "ecosystem": "Bitnami",
        "name": "mariadb",
        "purl": "pkg:bitnami/mariadb"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "12.3.1"
            },
            {
              "fixed": "12.3.3"
            },
            {
              "introduced": "13.0.0"
            },
            {
              "fixed": "13.0.2"
            }
          ],
          "type": "SEMVER"
        }
      ],
      "severity": [
        {
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H",
          "type": "CVSS_V3"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2026-85748"
  ],
  "database_specific": {
    "cpes": [
      "cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*"
    ],
    "severity": "Critical"
  },
  "details": "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.",
  "id": "BIT-mariadb-2026-85748",
  "modified": "2026-10-22T08:25:32.100Z",
  "published": "2026-10-21T08:52:56.896Z",
  "references": [
    {
      "type": "FIX",
      "url": "https://github.com/MariaDB/server/commit/91156c3de58762196605150ab3f756fe952592d1"
    },
    {
      "type": "FIX",
      "url": "https://github.com/MariaDB/server/commit/9b075b2cb53338f67e7230cc585e02d2d34514ed"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/MariaDB/server/releases/tag/mariadb-12.3.3"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/MariaDB/server/releases/tag/mariadb-13.0.2"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/MariaDB/server/security/advisories/GHSA-mv8g-9f7q-hprm"
    },
    {
      "type": "REPORT",
      "url": "https://jira.mariadb.org/browse/MDEV-40396"
    },
    {
      "type": "REPORT",
      "url": "https://jira.mariadb.org/browse/MDEV-40639"
    },
    {
      "type": "WEB",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-85748"
    }
  ],
  "schema_version": "1.6.2",
  "summary": "MariaDB: Use-after-free with a large number of SYS_REFCURSOR\u0027s"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…