CVE-2026-32710

Heap-based Buffer Overflow in MariaDB

Published Mar 20, 2026 CVSS 3.1 · 8.6 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

MariaDB servers before the patched releases contain a heap‑based buffer overflow in the JSON_SCHEMA_VALID() function. When an authenticated user supplies a specially crafted JSON schema, the server may crash, causing a denial of service. Under very strict memory‑layout conditions the overflow could allow code execution, but achieving that requires precision typically only found in lab environments.

Affected Systems

The vulnerability applies to MariaDB server versions 11.4.x prior to 11.4.10, 11.8.x prior to 11.8.6, and earlier 12.2.2 releases. Any MariaDB installation that has the default JSON features enabled is potentially affected, as indicated by the associated CPE entries.

Risk and Exploitability

The CVSS base score of 8.6 indicates high severity, but the EPSS score of less than 1 % shows a low likelihood of exploitation in the wild. An attacker must first authenticate to the database, so the attack vector is remote but requires valid credentials. The possibility of turning the crash into remote code execution is constrained by the need for specialized memory control, making widespread exploitation unlikely. Nevertheless, because the crash disrupts database service, the issue should be addressed promptly.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the patch by upgrading to MariaDB 11.4.10, 11.8.6, 12.2.2, or later versions.
  • Verify that no older MariaDB releases are running on production servers.
  • Restrict or monitor use of the JSON_SCHEMA_VALID() function and review database logs for unusual activity.

Generated by OpenCVE AI on April 1, 2026 at 06:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Mariadb mariadb
CPEs cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*
cpe:2.3:a:mariadb:mariadb:12.1.2:*:*:*:*:*:*:*
Vendors & Products Mariadb mariadb
Type Values Removed Values Added
First Time appeared Mariadb
Mariadb server
Vendors & Products Mariadb
Mariadb server
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Heap-based Buffer Overflow in MariaDB
Weaknesses CWE-122
References
Metrics cvssV3_1

{'score': 8.6, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H'}

Weaknesses
  • CWE-120

    Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

  • CWE-122

    Heap-based Buffer Overflow

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Mar 27, 2026, 3:55 AM
Reserved
Mar 13, 2026, 2:33 PM
Status
Analyzed
Published
Mar 20, 2026, 7:16 PM
Modified
Jun 17, 2026, 10:36 AM
Severity
Moderate
Public date
Mar 20, 2026, 6:31 PM