CVE-2022-31621
Reported by mitre · Published May 25, 2022
MariaDB Server before 10.7 is vulnerable to Denial of Service. In extra/mariabackup/ds_xbstream.cc, when an error occurs (stream_ctxt->dest_file == NULL) while executing the method xbstream_open, the held lock is not released correctly, which allows local users to trigger a denial of service due to the deadlock. Note: The vendor argues this is just an improper locking bug and not a vulnerability with adverse effects.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| mariadb-min | Bitnami | 10.6.5, 10.5.13, 10.4.22, 10.3.32, 10.2.41 |
| mariadb | Alpine | 10.6.7-r0 |
| mariadb | mariadb | 10.6.5, 10.5.13, 10.4.22, 10.3.32, 10.2.41 |
| mariadb | Bitnami | 10.6.5, 10.5.13, 10.4.22, 10.3.32, 10.2.41 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| alpine | mariadb | 0 |
| n/a | n/a | * |
Timeline
- May 25, 2022 CVE Published
- May 26, 2022 EPSS Score (30 in total, the first dated here)
- Mar 17, 2026 Distribution Patch (5 in total, the first dated here)
- Mar 17, 2026 Security Advisory (9 in total, the first dated here)
- Jun 24, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2022-31621
vulnetix vdb fixes CVE-2022-31621
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-31621/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart