Vulnerability record · CVE-2022-31621 · published 25 May 2022
CVE-2022-31621: Mariadb vulnerability
Mariadb · Mariadb
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.
Description
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.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://github.com/MariaDB/server/commit/b1351c15946349f9daa7e5297fb2ac6f3139e4a8 | PatchThird Party Advisory |
| https://jira.mariadb.org/browse/MDEV-26561 | |
| https://jira.mariadb.org/browse/MDEV-26574 | |
| https://jira.mariadb.org/browse/MDEV-26574?filter=-2 | Issue TrackingPermissions RequiredThird Party Advisory |
| https://security.netapp.com/advisory/ntap-20220707-0006/ | Third Party Advisory |
| https://github.com/MariaDB/server/commit/b1351c15946349f9daa7e5297fb2ac6f3139e4a8 | PatchThird Party Advisory |
| https://jira.mariadb.org/browse/MDEV-26561 | |
| https://jira.mariadb.org/browse/MDEV-26574 | |
| https://jira.mariadb.org/browse/MDEV-26574?filter=-2 | Issue TrackingPermissions RequiredThird Party Advisory |
| https://security.netapp.com/advisory/ntap-20220707-0006/ | Third Party Advisory |
Track CVE-2022-31621 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2022-31621), CISA KEV, FIRST EPSS (scores of 2026-11-23). This page is refreshed as NVD updates the record.