Skip to main content

MariaDB EUVDEUVD-2026-13764

| CVE-2026-32710 HIGH
Heap-based Buffer Overflow (CWE-122)
2026-03-20 GitHub_M
8.5
CVSS 3.1 · GitHub Advisory
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to MariaDB server
  2. Delivery
    Call JSON_SCHEMA_VALID() with crafted input
  3. Exploit
    Trigger memory corruption in function
  4. Execution
    Crash database process
  5. Impact
    Potentially execute arbitrary code with memory control

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2021 - Vulnerable and Outdated Components
ASVS 5.0
V15 - Secure Coding and Architecture Heap buffer bounds checking
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Authenticated user with any database access required. Attacker must call JSON_SCHEMA_VALID() function with crafted input on MariaDB 11.4.0-11.4.9 or 11.8.0-11.8.5. RCE requires precise memory layout control, typically infeasible outside controlled lab environments.

Impact

The CVSS v3.1 score of 8.6 with vector AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H indicates a critical-severity vulnerability with network-based attack vector but high attack complexity. The PR:L requirement means an attacker needs valid database credentials, reducing the attack surface to authenticated users or scenarios where credentials are compromised. The AC:H (high complexity) and S:C (scope change) reflect that successful RCE requires precise control over memory layout, which the vendor explicitly notes is generally only achievable in laboratory conditions. The primary real-world risk is denial of service through server crashes, which is readily exploitable by any authenticated user. Without EPSS data or KEV listing, and given the high attack complexity for RCE, this should be prioritized for patching in environments with untrusted authenticated users, but the immediate risk is database availability rather than code execution. The technical impact is high for availability (immediate crash), but the RCE path requires specialized expertise and conditions.

Exploit ScenarioDerived

An attacker who has obtained valid MariaDB database credentials (either through credential theft, insider access, or compromise of an application service account) connects to the database server and crafts a malicious query using the JSON_SCHEMA_VALID() function with specially crafted inputs that trigger the heap buffer overflow. The immediate result is a server crash causing denial of service for all database users. In a sophisticated attack scenario conducted in a controlled environment with precise knowledge of the server's memory layout and heap state, the attacker could theoretically leverage the buffer overflow to overwrite critical memory structures and achieve arbitrary code execution, potentially gaining control of the database server or the underlying operating system with the privileges of the MariaDB process.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 20, 2026

Authenticated users can trigger a heap overflow in MariaDB 11.4 (before 11.4.10) and 11.8 (before 11.8.6) through the JSON_SCHEMA_VALID() function, causing denial of service and potentially remote code execution under specific memory layout conditions. The vulnerability requires valid database credentials and affects server availability and integrity across scope boundaries. No patch is currently available for vulnerable versions.

Earlier versions of this analysis (1)
v1 Mar 20, 2026 - 18:46 CVSS 8.5

A vulnerability in MariaDB's JSON_SCHEMA_VALID() function allows authenticated users to crash the database server and potentially achieve remote code execution under controlled memory layout conditions. MariaDB server versions 11.4 before 11.4.10 and 11.8 before 11.8.6 are affected. While the CVSS score is high at 8.6, the AC:H complexity and requirement for tight memory control significantly reduce real-world RCE likelihood outside laboratory environments.

RemediationAI

Upgrade MariaDB Server to version 11.4.10 or later for the 11.4 branch, version 11.8.6 or later for the 11.8 branch, or version 12.2.2 or later for the 12.x branch. Patches are available through the official MariaDB distribution channels, with full details in the GitHub Security Advisory at https://github.com/MariaDB/server/security/advisories/GHSA-4rj5-2227-9wgc and technical tracking information at https://jira.mariadb.org/browse/MDEV-38356. Until patching is complete, organizations can mitigate risk by restricting database access to only trusted authenticated users, implementing principle of least privilege for database accounts, monitoring for unexpected server crashes, and avoiding use of JSON_SCHEMA_VALID() function in production environments if feasible. Network-level controls such as database firewall rules and query filtering may provide defense-in-depth but will not prevent exploitation by legitimate authenticated users.

Affected VersionsENISA

Server 12.1.2, < 12.2.2
Server 11.4.1, < 11.4.10
Server 11.8.1, < 11.8.6

Affected Packages

euvd server_11_4_1 fix: 11.4.10
euvd server_11_8_1 fix: 11.8.6
euvd server_12_1_2 fix: 12.2.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 3 packages in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

This vulnerability affects MariaDB Server (cpe:2.3:a:mariadb:server:*:*:*:*:*:*:*:*), a community-developed fork of MySQL that provides database management services. The issue is classified as CWE-122 (Heap-based Buffer Overflow) and manifests in the JSON_SCHEMA_VALID() function, which is used to validate JSON documents against JSON Schema definitions. Heap-based buffer overflows occur when a program writes data beyond the allocated heap memory boundaries, potentially corrupting adjacent memory structures. In this case, the buffer overflow during JSON schema validation operations can lead to memory corruption that crashes the server process and theoretically enables arbitrary code execution if an attacker can precisely manipulate heap layout.

Know when MariaDB gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

GitHub Advisory PRIMARY 8.5 HIGH
AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
SUSE HIGH
Red Hat 7.5 MEDIUM

Primary rating from GitHub Advisory.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
Analysis Updated
Apr 16, 2026 - 06:19 EUVD-patch-fix
executive summary
Patch available
Apr 16, 2026 - 05:29 EUVD
12.2.2,11.4.10,11.8.6
CVE Published
Mar 20, 2026 - 18:31 nvd
HIGH 8.5

DescriptionGitHub Advisory

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.

Executive ViewAI

Why It Matters

MariaDB versions 11.4 before 11.4.10 and 11.8 before 11.8.6 contain a heap overflow vulnerability in the JSON_SCHEMA_VALID() function that allows authenticated database users to crash the database server or potentially execute arbitrary code. This directly threatens database availability and data integrity for any organization running affected MariaDB versions with database access controls.

Business Impact: High
Compensating Controls

Apply vendor patch. If immediate patching is impossible: restrict database user permissions to disable JSON_SCHEMA_VALID() function access via role-based access controls; implement network-level restrictions to limit who can authenticate to the database; monitor database error logs for JSON_SCHEMA_VALID() function calls from authenticated sessions.

Threat Intelligence Overview

EPSS Score
0.3%
Top 51% exploitable
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

CVE-2016-6662 CRITICAL POC
9.8 Sep 20

Oracle MySQL through 5.5.52, 5.6.x through 5.6.33, and 5.7.x through 5.7.15; MariaDB before 5.5.51, 10.0.x before 10.0.2

CVE-2012-5613 MEDIUM POC
6.0 Dec 03

MySQL 5.5.19 and possibly other versions, and MariaDB 5.5.28a and possibly other versions, when configured to assign the

CVE-2014-0195 MEDIUM POC
6.8 Jun 05

The dtls1_reassemble_fragment function in d1_both.c in OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2012-2122 MEDIUM POC
5.1 Jun 26

sql/password.c in Oracle MySQL 5.1.x before 5.1.63, 5.5.x before 5.5.24, and 5.6.x before 5.6.6, and MariaDB 5.1.x befor

CVE-2012-5612 MEDIUM POC
6.5 Dec 03

Heap-based buffer overflow in Oracle MySQL 5.5.19 and other versions through 5.5.28, and MariaDB 5.5.28a and possibly ot

CVE-2012-5611 MEDIUM POC
6.5 Dec 03

Stack-based buffer overflow in the acl_get function in Oracle MySQL 5.5.19 and other versions through 5.5.28, and 5.1.53

CVE-2014-3470 MEDIUM
4.3 Jun 05

The ssl3_send_client_key_exchange function in s3_clnt.c in OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before

CVE-2016-6664 HIGH POC
7.0 Dec 13

mysqld_safe in Oracle MySQL through 5.5.51, 5.6.x through 5.6.32, and 5.7.x through 5.7.14; MariaDB; Percona Server befo

CVE-2014-0221 MEDIUM
4.3 Jun 05

The dtls1_get_message_fragment function in d1_both.c in OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.

CVE-2015-3152 MEDIUM POC
5.9 May 16

Oracle MySQL before 5.7.3, Oracle MySQL Connector/C (aka libmysqlclient) before 6.1.3, and MariaDB before 5.5.44 use the

CVE-2022-0778 HIGH POC
7.5 Mar 15

The BN_mod_sqrt() function, which computes a modular square root, contains a bug that can cause it to loop forever for n

Vendor StatusVendor

SUSE

Severity: High
Product Status
SUSE Linux Enterprise High Performance Computing 15 SP7 SUSE Linux Enterprise Module for Server Applications 15 SP7 SUSE Linux Enterprise Server 15 SP7 SUSE Linux Enterprise Server for SAP Applications 15 SP7 Fixed
SUSE Linux Enterprise Module for Package Hub 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed
SUSE Linux Enterprise Module for Package Hub 15 SP7 Fixed
SUSE Linux Enterprise Module for Server Applications 15 SP7 Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy