Home / MariaDB / server / CVE-2026-85748
CVE-2026-85748: is it exploited, and which versions of MariaDB server are affected and fixed?
CVE-2026-85748 is an use after free vulnerability in MariaDB server. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:39 UTC). Affected: server >= 12.3.1, < 12.3.3 and server >= 13.0.1, < 13.0.2 (CVE record by GitHub_M). Fixed in 12.3.3 (NVD). Severity: Critical (9.9, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:39 UTC, CVE record November 19, 2026, 07:06 UTC and NVD November 19, 2026, 07:05 UTC.
What is CVE-2026-85748?
MariaDB: Use-after-free with a large number of SYS_REFCURSOR's
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.
From the CVE record by GitHub_M, last updated October 16, 2026, 16:54 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| MariaDB | server | >= 12.3.1, < 12.3.3 >= 13.0.1, < 13.0.2 |
As the CVE record by GitHub_M states it, last updated October 16, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| mariadb | mariadb | from 12.3.1 before 12.3.3 | application |
| mariadb | mariadb | 13.0.1 | application |
NVD analysis (status Analyzed), last modified October 20, 2026, 15:32 UTC.
How severe is CVE-2026-85748?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.9 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-85748 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, October 16, 2026)
- EPSS
- 1.18% probability of exploitation activity in the next 30 days, percentile 68.7 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-416 Use After Free
Where are the vendor advisories and references?
- https://github.com/MariaDB/server/security/advisories/GHSA-mv8g-9f7q-hprm x_refsource_CONFIRM
- https://github.com/MariaDB/server/commit/91156c3de58762196605150ab3f756fe952592d1 x_refsource_MISC
- https://github.com/MariaDB/server/commit/9b075b2cb53338f67e7230cc585e02d2d34514ed x_refsource_MISC
- https://github.com/MariaDB/server/releases/tag/mariadb-12.3.3 x_refsource_MISC
- https://github.com/MariaDB/server/releases/tag/mariadb-13.0.2 x_refsource_MISC
- https://jira.mariadb.org/browse/MDEV-40396 x_refsource_MISC
- https://jira.mariadb.org/browse/MDEV-40639 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- September 4, 2026
- Published
- October 16, 2026, 16:28 UTC
- CVE record updated
- October 16, 2026, 16:54 UTC by GitHub_M
- NVD
- Analyzed, last modified October 20, 2026, 15:32 UTC
- Last checked
- CVE list November 19, 2026, 07:06 UTC; NVD November 19, 2026, 07:05 UTC; KEV December 3, 2026, 17:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect server?
- Nov 5, 2026CVE-2026-102523 MariaDB server: external Control of File Name or Path
- Oct 16, 2026CVE-2026-86047 MariaDB server: SQL injection
- Oct 16, 2026CVE-2026-85745 MariaDB server: buffer Over-read
- Oct 16, 2026CVE-2026-85746 MariaDB server: out-of-bounds write (memory corruption)
- Oct 16, 2026CVE-2026-92262 MariaDB server: incorrectly resolved name or reference
- Oct 16, 2026CVE-2026-97380 MariaDB server: unverified Password Change
- Oct 16, 2026CVE-2026-85985 MariaDB server: missing authorization
- Oct 9, 2026CVE-2026-107823 MariaDB server: improper output encoding
Questions about CVE-2026-85748
Is CVE-2026-85748 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:39 UTC. FIRST's EPSS gives it a 1.18% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of MariaDB server are affected by CVE-2026-85748?
server >= 12.3.1, < 12.3.3 and server >= 13.0.1, < 13.0.2, per the CVE record by GitHub_M. The tables above give every range the sources list.
Which version fixes CVE-2026-85748?
12.3.3, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-85748?
Critical (9.9, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-85748?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.