CVE-2026-85748MariaDB: Use-after-free with a large number of SYS_REFCURSOR's
Updated under an hour ago ()
Does this affect you?
It affects MariaDB server. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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.
- CVSS
- 9.9 CRITICAL (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- Weakness (CWE)
- CWE-416
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- GitHub_M
- NVD analysis
- Awaiting Analysis
- Record last updated
- Oct 16, 2026
- First seen by InfoSec Signals
- Oct 16, 2026
Affected products
MariaDB server mariadb:server (from the name) | from 12.3.1, < 12.3.3; from 13.0.1, < 13.0.2 | CNA record |
References
- https://github.com/MariaDB/server/security/advisories/GHSA-mv8g-9f7q-hprmx-refsource-confirm
- https://github.com/MariaDB/server/commit/91156c3de58762196605150ab3f756fe952592d1x-refsource-misc
- https://github.com/MariaDB/server/commit/9b075b2cb53338f67e7230cc585e02d2d34514edx-refsource-misc
- https://github.com/MariaDB/server/releases/tag/mariadb-12.3.3x-refsource-misc
- https://github.com/MariaDB/server/releases/tag/mariadb-13.0.2x-refsource-misc
- https://jira.mariadb.org/browse/MDEV-40396x-refsource-misc
- https://jira.mariadb.org/browse/MDEV-40639x-refsource-misc
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.