CVE-2026-85748: MariaDB server is a community developed fork of MySQL server.

Critical CVSS 9.9

CVE id
CVE-2026-85748
Published
Last modified

Affected packages

PackageAffected versionsFixed in
MariaDB
Runtimes and servers
>= 12.3.1, < 12.3.3 12.3.3

How to fix it

Upgrade MariaDB to 12.3.3 or later.

mariadbd --version
  • Install the patched MariaDB release of your series (the mariadb image tag or your packages) and restart the server.

A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.

Details

MariaDB server is a community developed fork of MySQL server. From 12.3.1 until 12.3.3 and 13.0.2, SYSREFCURSOR handling is affected because cursor-array reallocation can leave stale references in routine contexts. A low-privileged attacker can open a large number of SYSREFCURSORs 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.

References

Am I affected?

Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.

or paste its content

Needed when you paste. package.json and pyproject.toml only have version ranges: use the lockfile next to them.

Only package names and versions are checked; the file itself is not kept. We use your email to send this report and nothing else unless you tick the box above. Privacy policy.

About this data

Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.