CVE-2026-35549
Analyzed
Analyzed - Analysis Complete
Stack-Based Buffer Overflow in MariaDB caching_sha2_password Plugin
Publication date: 2026-04-03
Last updated on: 2026-06-02
Assigner: MITRE
Description
Description
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.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| mariadb | mariadb | to 11.4.10 (exc) |
| mariadb | mariadb | From 11.5.0 (inc) to 11.8.6 (exc) |
| mariadb | mariadb | From 12.0.0 (inc) to 12.2.2 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-789 | 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. |