CVE-2026-85748: MariaDB server · Use After Free
Affects MariaDB serverSource CVE Database V5
Not known to be exploited · CVSS 9.9 Critical : upgrade to 13.0.2 or 12.3.3 as a priority.
Data as of 28 Nov 2026, 18:37 UTC
- EPSS
- 1.3% chance of exploitation in 30 days – higher than 70% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 13.0.2, 12.3.3
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 16 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Nov 2026.
What to do
Upgrade MariaDB server to 13.0.2 or 12.3.3.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| MariaDBserver | Affected
| Fixed in
|
| MariaDBserver | Affected
| Fixed in
|
AI-suggested
Upgrade MariaDB server to version 12.3.3 or later, or 13.0.2 or later, where this vulnerability is fixed. No other mitigations are specified.
Description
A use-after-free vulnerability (CWE-416) exists in MariaDB server versions 12.3.1 through before 12.3.3 and 13.0.1 through before 13.0.2 in the handling of SYS_REFCURSOR. This flaw allows a low-privileged attacker to open many SYS_REFCURSORs and trigger a use-after-free condition, potentially enabling remote code execution when combined with another vulnerability. The issue is fixed in versions 12.3.3 and 13.0.2.
References
- github.com/MariaDB/server/security/advisories/GHSA-mv8g-9f7q-hprm (opens in a new tab)
- github.com/MariaDB/server/commit/91156c3de58762196605150ab3f756fe952592d1 (opens in a new tab)
- github.com/MariaDB/server/commit/9b075b2cb53338f67e7230cc585e02d2d34514ed (opens in a new tab)
- github.com/MariaDB/server/releases/tag/mariadb-12.3.3 (opens in a new tab)
- github.com/MariaDB/server/releases/tag/mariadb-13.0.2 (opens in a new tab)
- jira.mariadb.org/browse/MDEV-40396 (opens in a new tab)
- jira.mariadb.org/browse/MDEV-40639 (opens in a new tab)