CVE-2026-85748
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.
Published Updated Sources: cvelistV5, GitHub_M
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
1%
chance of exploitation in 30 days
CVSS base
9.9
CRITICAL
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
None
none · proof-of-concept · active
Automatable
No
can an attacker script all four kill-chain steps
Technical impact
Total
partial · total control of the vulnerable component
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 9.9 | CVSS 3.1 | CRITICAL | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-416
References
7 on the record
- github.com/MariaDB/server/security/advisories/GHSA-mv8g-9f7q-hprm
x_refsource_CONFIRM
- github.com/MariaDB/server/commit/91156c3de58762196605150ab3f756fe952592d1
x_refsource_MISC
- github.com/MariaDB/server/commit/9b075b2cb53338f67e7230cc585e02d2d34514ed
x_refsource_MISC
- github.com/MariaDB/server/releases/tag/mariadb-12.3.3
x_refsource_MISC
- github.com/MariaDB/server/releases/tag/mariadb-13.0.2
x_refsource_MISC
- jira.mariadb.org/browse/MDEV-40396
x_refsource_MISC
- jira.mariadb.org/browse/MDEV-40639
x_refsource_MISC
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2026-138114 Improper authentication in the login feature in Devolutions Server 2026.3.15.0 and earlier allows an unauthenticated attacker to log in as…CVSS 9.1
- CVE-2026-111770 Model Context Protocol TypeScript SDK: Shared transport or server instances delivered one HTTP client's messages to anotherCVSS 7.7
- CVE-2026-111768 Model Context Protocol TypeScript SDK: One HTTP request within the default size limit could exhaust server memory during validationCVSS 7.5
- CVE-2026-111771 Model Context Protocol TypeScript SDK: Server bearer authentication accepted tokens issued for another serviceCVSS 6.8
- CVE-2025-24085 Apple Multiple Products Use-After-Free VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2021-22893 Ivanti Pulse Connect Secure Use-After-Free VulnerabilityCVSS 10.0 · CISA KEV
Elsewhere on this site
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.