CVE-2026-32710
Received Received - Intake
Crash and Potential RCE in MariaDB JSON_SCHEMA_VALID() Function

Publication date: 2026-03-20

Last updated on: 2026-03-31

Assigner: GitHub, Inc.

Description
MariaDB server is a community developed fork of MySQL server. An authenticated user can crash MariaDB versions 11.4 before 11.4.10 and 11.8 before 11.8.6 via a bug in JSON_SCHEMA_VALID() function. Under certain conditions it might be possible to turn the crash into a remote code execution. These conditions require tight control over memory layout which is generally only attainable in a lab environment. This issue is fixed in MariaDB 11.4.10, MariaDB 11.8.6, and MariaDB 12.2.2.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-03-20
Last Modified
2026-03-31
Generated
2026-05-07
AI Q&A
2026-03-20
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 3 associated CPEs
Vendor Product Version / Range
mariadb mariadb 12.1.2
mariadb mariadb From 11.4.1 (inc) to 11.4.10 (exc)
mariadb mariadb From 11.8.1 (inc) to 11.8.6 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-122 A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

CVE-2026-32710 is a high-severity heap-based buffer overflow vulnerability in the MariaDB server, specifically in the JSON_SCHEMA_VALID() function.

An authenticated user can cause the MariaDB server to crash by exploiting this flaw. Under very specific conditions that require precise control over memory layoutβ€”usually only possible in a lab environmentβ€”this crash can be escalated to remote code execution.

The vulnerability affects MariaDB versions 11.4.1 through 11.4.9, 11.8.1 through 11.8.5, and 12.1.2, and has been fixed in versions 11.4.10, 11.8.6, and 12.2.2.


How can this vulnerability impact me? :

This vulnerability can cause the MariaDB server to crash, resulting in denial of service.

In rare and controlled conditions, it may allow an attacker to execute arbitrary code remotely, potentially compromising the confidentiality, integrity, and availability of the database server.

  • Denial of Service (server crash)
  • Potential Remote Code Execution under specific conditions
  • High impact on confidentiality, integrity, and availability

How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:

I don't know


How can this vulnerability be detected on my network or system? Can you suggest some commands?

[{'type': 'paragraph', 'content': "This vulnerability can be detected by testing the MariaDB server's JSON_SCHEMA_VALID() function with a JSON schema containing a long enum array, which triggers the crash."}, {'type': 'paragraph', 'content': 'A specific example command to reproduce the crash is:'}, {'type': 'list_item', 'content': 'select json_schema_valid(\'{"enum":[0]}\', sformat(\'"{:#>200}"\', \'0\'));'}, {'type': 'paragraph', 'content': 'If this command causes the server to hang or crash, it indicates the presence of the vulnerability.'}] [2]


What immediate steps should I take to mitigate this vulnerability?

The immediate mitigation step is to upgrade MariaDB to a fixed version where the vulnerability is resolved.

  • Upgrade to MariaDB version 11.4.10 or later.
  • Upgrade to MariaDB version 11.8.6 or later.
  • Upgrade to MariaDB version 12.2.2 or later.

Until the upgrade can be applied, restrict access to the MariaDB server to trusted users only, as the vulnerability requires authenticated user privileges.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart