Large packet crash in MariaDB <11.4.10/11.8.6/12.2.2 cache_sha2 auth plugin
CVE-2026-35549 Published on April 3, 2026
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.
Vulnerability Analysis
CVE-2026-35549 can be exploited with network access, and requires small amount of user privileges. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality and integrity, and a high impact on availability.
Weakness Type
What is a Stack Exhaustion Vulnerability?
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.
CVE-2026-35549 has been classified to as a Stack Exhaustion vulnerability or weakness.
Products Associated with CVE-2026-35549
Want to know whenever a new CVE is published for MariaDB? stack.watch will email you.
Affected Versions
MariaDB:- Before 11.4.10 is affected.
- Version 11.5.0 and below 11.8.6 is affected.
- Version 12.0.0 and below 12.2.2 is affected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.