CVE-2026-85748MariaDB: Use-after-free with a large number of SYS_REFCURSOR's
- 9.9CriticalCVSS base score
- 1.2%Exploitation in 30 daysEPSS · top 32% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By GitHub_M
- 42 days later
· 42 days later
Published
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Critical9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| NVDNVD · Analyzed | 3.1 | Critical9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 1.2% · top 32% of all CVEs (18 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.9.
Affected products
References
References7
- https://github.com/MariaDB/server/security/advisories/GHSA-mv8g-9f7q-hprm (opens in a new tab)x_refsource_CONFIRM
- https://github.com/MariaDB/server/commit/91156c3de58762196605150ab3f756fe952592d1 (opens in a new tab)x_refsource_MISC
- https://github.com/MariaDB/server/commit/9b075b2cb53338f67e7230cc585e02d2d34514ed (opens in a new tab)x_refsource_MISC
- https://github.com/MariaDB/server/releases/tag/mariadb-12.3.3 (opens in a new tab)x_refsource_MISC
- https://github.com/MariaDB/server/releases/tag/mariadb-13.0.2 (opens in a new tab)x_refsource_MISC
- https://jira.mariadb.org/browse/MDEV-40396 (opens in a new tab)x_refsource_MISC
- https://jira.mariadb.org/browse/MDEV-40639 (opens in a new tab)x_refsource_MISC
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-102941 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-85748)Record last updated .