CVE Vulnerabilities

CVE-2026-35549

Memory Allocation with Excessive Size Value

Published: Apr 03, 2026 | Modified: Jun 02, 2026
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
6.5 MODERATE
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

An issue was discovered in MariaDB Server before 11.4.10, 11.5.x through 11.8.x before 11.8.6, and 12.x before 12.2.2. If the caching_sha2_password authentication plugin is installed, and some user accounts are configured to use it, a large packet can crash the server because sha256_crypt_r uses alloca.

Weakness

The product allocates memory based on an untrusted, large size value, but it does not ensure that the size is within expected limits, allowing arbitrary amounts of memory to be allocated.

Affected Software

NameVendorStart VersionEnd Version
MariadbMariadb*11.4.10 (excluding)
MariadbMariadb11.5.0 (including)11.8.6 (excluding)
MariadbMariadb12.0.0 (including)12.2.2 (excluding)
MariadbUbuntuupstream*
Mariadb-10.0Ubuntuesm-apps/xenial*

Potential Mitigations

References