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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| MariaDB | MariaDB | < 11.4.10, 11.5.0 – < 11.8.6, 12.0.0 – < 12.2.2 | 11.4.10 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | mariadb | 1:11.8.6-1 | — |
| Debian 13 | mariadb | 1:11.8.6-0+deb13u1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 25.10 | mariadb | No fix yet | — |
| Ubuntu 24.04 LTS | mariadb | No fix yet | — |
| Ubuntu 22.04 LTS | mariadb-10.6 | No fix yet | — |
| Ubuntu 20.04 LTS | mariadb-10.3 | No fix yet | — |
| Ubuntu 18.04 LTS | mariadb-10.1 | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | mariadb-10.0 | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | mariadb | 11.8.8-150700.3.15.1 | SUSE-SU-2026:2330-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 16.0 | mariadb | 11.8.8-160000.1.1 | SUSE-SU-2026:22095-1 |
| SLES 16.0 | mariadb | 11.8.8-160000.1.1 | SUSE-SU-2026:22095-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | mariadb | 11.8.7-1.1 | openSUSE-SU-2026:10897-1 |
| openSUSE Leap 16.0 | mariadb | 11.8.8-160000.1.1 | openSUSE-SU-2026:20933-1 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | mariadb-11.8 | 11.8.9-r1 | — |
| Wolfi rolling | mariadb-12.1 | No fix yet | — |
Advisories 5
- SUSE-SU-2026:22095-1 Security update for mariadb SUSE / openSUSE Security Updates · Jun 16, 2026
- WID-SEC-2026-0972 MariaDB: Schwachstelle ermöglicht Denial of Service BSI CERT-Bund (WID) · Jun 14, 2026
- openSUSE-SU-2026:20933-1 Security update for mariadb SUSE / openSUSE Security Updates · Jun 13, 2026
- SUSE-SU-2026:2330-1 Security update for mariadb SUSE / openSUSE Security Updates · Jun 10, 2026
- openSUSE-SU-2026:10897-1 libmariadbd-devel-11.8.7-1.1 on GA media SUSE / openSUSE Security Updates · May 30, 2026