CVE-2026-85748
CRITICAL 9.9MariaDB 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.
Severe if exploited (CVSS 9.9), but no known exploitation and low modeled probability. Patch on a normal cadence.
Exploitation likelihood
0.9%chance of exploitation in 30 days · 60th percentile
Impact if exploited
9.9CVSS 3.1 · CRITICAL
- ConfidentialityHigh
- IntegrityHigh
- AvailabilityHigh
What an attacker needs
- ✓Access: Reachable over the network — no local access needed
- ⚠Privileges: Requires a low-privilege account
- ✓User interaction: No user interaction needed
- ✓Complexity: No special conditions — reliably repeatable
✓ lowers the bar for an attacker · ⚠ raises it
Proof of concept
No public PoC is currently catalogued.
Search for new PoCs
Search GitHub now — results may be empty or unverified.
Tracked sources are checked daily for recent CVEs, including PoCs published after the original disclosure. A later release appears after a tracked source lists it and a refresh succeeds.
Data snapshot:
Weakness (CWE)
- CWE-416: : Use After Free
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
References and research data (JSON)
Vendor product assessments
Showing 32 of 137 vendor product statements; 105 omitted. Read the full vendor advisory.
mariadb as a component of Red Hat Enterprise Linux 10 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/mariadb
Red Hat · CVE-2026-85748 · Updated 2026-10-17T03:05:50+00:00mariadb-devel as a component of Red Hat Enterprise Linux 10 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/mariadb-devel
Red Hat · CVE-2026-85748 · Updated 2026-10-17T03:05:50+00:00mariadb-oqgraph-engine as a component of Red Hat Enterprise Linux 10 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/mariadb-oqgraph-engine
Red Hat · CVE-2026-85748 · Updated 2026-10-17T03:05:50+00:00mariadb-server-utils as a component of Red Hat Enterprise Linux 10 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/mariadb-server-utils
Red Hat · CVE-2026-85748 · Updated 2026-10-17T03:05:50+00:00mariadb11.8-client-utils as a component of Red Hat Enterprise Linux 10 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/mariadb11.8-client-utils
Red Hat · CVE-2026-85748 · Updated 2026-10-17T03:05:50+00:00mariadb11.8-embedded-devel as a component of Red Hat Enterprise Linux 10 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/mariadb11.8-embedded-devel
Red Hat · CVE-2026-85748 · Updated 2026-10-17T03:05:50+00:00mariadb11.8-pam as a component of Red Hat Enterprise Linux 10 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/mariadb11.8-pam
Red Hat · CVE-2026-85748 · Updated 2026-10-17T03:05:50+00:00mariadb11.8.src as a component of Red Hat Enterprise Linux 10 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/mariadb11.8?arch=src
Red Hat · CVE-2026-85748 · Updated 2026-10-17T03:05:50+00:00mariadb-embedded as a component of Red Hat Enterprise Linux 7 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/mariadb-embedded
Red Hat · CVE-2026-85748 · Updated 2026-10-17T03:05:50+00:00mariadb-test as a component of Red Hat Enterprise Linux 7 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/mariadb-test
Red Hat · CVE-2026-85748 · Updated 2026-10-17T03:05:50+00:00Judy (mariadb:10.3) as a component of Red Hat Enterprise Linux 8 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/Judy?rpmmod=mariadb:10.3
Red Hat · CVE-2026-85748 · Updated 2026-10-17T03:05:50+00:00galera (mariadb:10.3) as a component of Red Hat Enterprise Linux 8 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/galera?rpmmod=mariadb:10.3
Red Hat · CVE-2026-85748 · Updated 2026-10-17T03:05:50+00:00mariadb-devel (mariadb:10.11) as a component of Red Hat Enterprise Linux 8 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/mariadb-devel?rpmmod=mariadb:10.11
Red Hat · CVE-2026-85748 · Updated 2026-10-17T03:05:50+00:00mariadb-embedded (mariadb:10.11) as a component of Red Hat Enterprise Linux 8 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/mariadb-embedded?rpmmod=mariadb:10.11
Red Hat · CVE-2026-85748 · Updated 2026-10-17T03:05:50+00:00mariadb-gssapi-server (mariadb:10.11) as a component of Red Hat Enterprise Linux 8 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/mariadb-gssapi-server?rpmmod=mariadb:10.11
Red Hat · CVE-2026-85748 · Updated 2026-10-17T03:05:50+00:00mariadb-pam (mariadb:10.3) as a component of Red Hat Enterprise Linux 8 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/mariadb-pam?rpmmod=mariadb:10.3
Red Hat · CVE-2026-85748 · Updated 2026-10-17T03:05:50+00:00mariadb-server-utils (mariadb:10.3) as a component of Red Hat Enterprise Linux 8 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/mariadb-server-utils?rpmmod=mariadb:10.3
Red Hat · CVE-2026-85748 · Updated 2026-10-17T03:05:50+00:00mariadb.src (mariadb:10.11) as a component of Red Hat Enterprise Linux 8 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/mariadb?arch=src&rpmmod=mariadb:10.11
Red Hat · CVE-2026-85748 · Updated 2026-10-17T03:05:50+00:00mariadb as a component of Red Hat Enterprise Linux 9 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/mariadb
Red Hat · CVE-2026-85748 · Updated 2026-10-17T03:05:50+00:00mariadb-common as a component of Red Hat Enterprise Linux 9 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/mariadb-common
Red Hat · CVE-2026-85748 · Updated 2026-10-17T03:05:50+00:00mariadb-devel (mariadb:11.8) as a component of Red Hat Enterprise Linux 9 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/mariadb-devel?rpmmod=mariadb:11.8
Red Hat · CVE-2026-85748 · Updated 2026-10-17T03:05:50+00:00mariadb-embedded-devel (mariadb:11.8) as a component of Red Hat Enterprise Linux 9 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/mariadb-embedded-devel?rpmmod=mariadb:11.8
Red Hat · CVE-2026-85748 · Updated 2026-10-17T03:05:50+00:00mariadb-errmsg (mariadb:11.8) as a component of Red Hat Enterprise Linux 9 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/mariadb-errmsg?rpmmod=mariadb:11.8
Red Hat · CVE-2026-85748 · Updated 2026-10-17T03:05:50+00:00mariadb-oqgraph-engine as a component of Red Hat Enterprise Linux 9 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/mariadb-oqgraph-engine
Red Hat · CVE-2026-85748 · Updated 2026-10-17T03:05:50+00:00mariadb-pam (mariadb:10.11) as a component of Red Hat Enterprise Linux 9 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/mariadb-pam?rpmmod=mariadb:10.11
Red Hat · CVE-2026-85748 · Updated 2026-10-17T03:05:50+00:00mariadb-server-galera (mariadb:11.8) as a component of Red Hat Enterprise Linux 9 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/mariadb-server-galera?rpmmod=mariadb:11.8
Red Hat · CVE-2026-85748 · Updated 2026-10-17T03:05:50+00:00mariadb-server (mariadb:10.11) as a component of Red Hat Enterprise Linux 9 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/mariadb-server?rpmmod=mariadb:10.11
Red Hat · CVE-2026-85748 · Updated 2026-10-17T03:05:50+00:00mariadb-test (mariadb:11.8) as a component of Red Hat Enterprise Linux 9 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/mariadb-test?rpmmod=mariadb:11.8
Red Hat · CVE-2026-85748 · Updated 2026-10-17T03:05:50+00:00mariadb (mariadb:11.8) as a component of Red Hat Enterprise Linux 9 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/mariadb?rpmmod=mariadb:11.8
Red Hat · CVE-2026-85748 · Updated 2026-10-17T03:05:50+00:00mariadb as a component of Red Hat OpenStack Platform 13 (Queens) · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/mariadb
Red Hat · CVE-2026-85748 · Updated 2026-10-17T03:05:50+00:00mariadb-libs as a component of Red Hat OpenStack Platform 13 (Queens) · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/mariadb-libs
Red Hat · CVE-2026-85748 · Updated 2026-10-17T03:05:50+00:00mariadb.src as a component of Red Hat OpenStack Platform 13 (Queens) · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/mariadb?arch=src
Red Hat · CVE-2026-85748 · Updated 2026-10-17T03:05:50+00:00
Known Affected Software Configurations
| Vendor | Product | Version range |
|---|---|---|
| Mariadb | Mariadb | ≥ 12.3.1 and < 12.3.3 |
| Mariadb | Mariadb | 13.0.1 |
All CVSS metrics
- CRITICAL 9.9 v3.1 · CNA Primary
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H - CRITICAL 9.9 v3.1 · NVD Secondary
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
References
Patches & mitigations
- https://github.com/MariaDB/server/commit/91156c3de58762196605150ab3f756fe952592d1 CVE record · GitHub_M · Updated 2026-10-16T16:28:55.829Z
NVD · CVE-2026-85748 · Updated 2026-10-20T15:32:54.420 - https://github.com/MariaDB/server/commit/9b075b2cb53338f67e7230cc585e02d2d34514ed CVE record · GitHub_M · Updated 2026-10-16T16:28:55.829Z
NVD · CVE-2026-85748 · Updated 2026-10-20T15:32:54.420
Advisories
- https://github.com/MariaDB/server/security/advisories/GHSA-mv8g-9f7q-hprm CVE record · GitHub_M · Updated 2026-10-16T16:28:55.829Z
NVD · CVE-2026-85748 · Updated 2026-10-20T15:32:54.420 - https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-85748.json Red Hat · CVE-2026-85748 · Updated 2026-10-17T03:05:50+00:00
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-102941 EUVD · EUVD-2026-102941
Technical & other
- https://github.com/MariaDB/server/releases/tag/mariadb-12.3.3 CVE record · GitHub_M · Updated 2026-10-16T16:28:55.829Z
NVD · CVE-2026-85748 · Updated 2026-10-20T15:32:54.420 - https://github.com/MariaDB/server/releases/tag/mariadb-13.0.2 CVE record · GitHub_M · Updated 2026-10-16T16:28:55.829Z
NVD · CVE-2026-85748 · Updated 2026-10-20T15:32:54.420 - https://jira.mariadb.org/browse/MDEV-40396 CVE record · GitHub_M · Updated 2026-10-16T16:28:55.829Z
NVD · CVE-2026-85748 · Updated 2026-10-20T15:32:54.420 - https://jira.mariadb.org/browse/MDEV-40639 CVE record · GitHub_M · Updated 2026-10-16T16:28:55.829Z
NVD · CVE-2026-85748 · Updated 2026-10-20T15:32:54.420
Red Hat · CVE-2026-85748 · Updated 2026-10-17T03:05:50+00:00 - https://access.redhat.com/security/cve/CVE-2026-85748 Red Hat · CVE-2026-85748 · Updated 2026-10-17T03:05:50+00:00
- https://bugzilla.redhat.com/show_bug.cgi?id=2553279 Red Hat · CVE-2026-85748 · Updated 2026-10-17T03:05:50+00:00
- https://www.cve.org/CVERecord?id=CVE-2026-85748 Red Hat · CVE-2026-85748 · Updated 2026-10-17T03:05:50+00:00
- https://nvd.nist.gov/vuln/detail/CVE-2026-85748 Red Hat · CVE-2026-85748 · Updated 2026-10-17T03:05:50+00:00
- https://hackerone.com/reports/3856148 Red Hat · CVE-2026-85748 · Updated 2026-10-17T03:05:50+00:00