CVE-2026-85748Mariadb Corporation Mariadb use-after-free
CVSS score
9.9
Critical
CVSS 3.1 from github.com
Exploit probability (EPSS)
1.18%
1.18% chance of exploitation in the next 30 days, higher than 68.5% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official 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.
Source: NVD · CNA: security-advisories@github.com
How to fix it, step by step
Check whether you're affected
Find every system running mariadb-corporation Mariadb, mariadb-corporation Server and compare its version with the affected versions.
Update to a fixed version
- Update Server to 12.3.3, 13.0.2 or later, on the branch you run.
- Update Mariadb to 12.3.3 or later.
If you can't update right away
Apply the workaround or mitigation in the vendor's advisory until you can update:
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Changed
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Affected products
| Affected products | Versions |
|---|---|
| mariadb-corporation Mariadb | ≥ 12.3.1, < 12.3.3 · 13.0.1 |
| mariadb-corporation Server | >= 12.3.1, < 12.3.3 · >= 13.0.1, < 13.0.2 |
Weakness
- CWE-416 use-after-free
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-85748 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 1.2% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-85748?
CVE-2026-85748 has a CVSS 3.1 base score of 9.9 (critical).
Which versions are affected?
Mariadb Corporation Mariadb (≥ 12.3.1, < 12.3.3; 13.0.1), Mariadb Corporation Server (>= 12.3.1, < 12.3.3; >= 13.0.1, < 13.0.2)
Is there a patch for CVE-2026-85748?
The official record links to vendor advisories or patches; see “What to do” above.
References
- github.com/MariaDB/server/commit/91156c3de58762196605150ab3f756fe952592d1(Patch)
- github.com/MariaDB/server/commit/9b075b2cb53338f67e7230cc585e02d2d34514ed(Patch)
- github.com/MariaDB/server/security/advisories/GHSA-mv8g-9f7q-hprm(Vendor Advisory)
- github.com/MariaDB/server/releases/tag/mariadb-12.3.3(Release Notes)
- github.com/MariaDB/server/releases/tag/mariadb-13.0.2(Release Notes)
- jira.mariadb.org/browse/MDEV-40396(Issue Tracking)
- jira.mariadb.org/browse/MDEV-40639(Issue Tracking)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.