BIT-mariadb-min-2022-31621
Record from OSV · Published June 10, 2025
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 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Bitnami | mariadb-min | 0, 10.4.0, 10.5.0 |
Timeline
- Jun 10, 2025 CVE Published
- Jun 10, 2025 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln BIT-mariadb-min-2022-31621
vulnetix vdb fixes BIT-mariadb-min-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/BIT-mariadb-min-2022-31621/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://jira.mariadb.org/browse/MDEV-26561 url
- https://nvd.nist.gov/vuln/detail/CVE-2022-31621 url
- https://github.com/MariaDB/server/commit/b1351c15946349f9daa7e5297fb2ac6f3139e4a8 url
- https://jira.mariadb.org/browse/MDEV-26574?filter=-2 url
- https://security.netapp.com/advisory/ntap-20220707-0006/ url
- https://jira.mariadb.org/browse/MDEV-26574 url