# CVE-2022-31621: MariaDB Server before 10.7 is vulnerable to Denial of Service.

- Severity: Medium 5.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2022-05-25T00:00:00.000Z
- Modified: 2026-09-10T16:01:47.853Z
- Also known as: BIT-MARIADB-2022-31621, BIT-MARIADB-MIN-2022-31621, BIT-MYSQL-CLIENT-2022-31621
- Weaknesses: CWE-667
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- mariadb mariadb: before 10.2.41; from 10.3.0 before 10.3.32; from 10.4.0 before 10.4.22; from 10.5.0 before 10.5.13; from 10.6.0 before 10.6.5
- mariadb (Bitnami): before 10.2.41; from 10.3.0 before 10.3.32; from 10.4.0 before 10.4.22; from 10.5.0 before 10.5.13; from 10.6.0 before 10.6.5
- mariadb-min (Bitnami): before 10.2.41; from 10.3.0 before 10.3.32; from 10.4.0 before 10.4.22; from 10.5.0 before 10.5.13; from 10.6.0 before 10.6.5
- mysql-client (Bitnami): before 10.2.41; from 10.3.0 before 10.3.32; from 10.4.0 before 10.4.22; from 10.5.0 before 10.5.13; from 10.6.0 before 10.6.5

## Every score

- CISA-ADP: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 2.1 Low `AV:L/AC:L/Au:N/C:N/I:N/A:P`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://github.com/MariaDB/server/commit/b1351c15946349f9daa7e5297fb2ac6f3139e4a8> (advisory, patch, third-party-advisory)
- <https://jira.mariadb.org/browse/MDEV-26574?filter=-2> (advisory, issue-tracking, permissions-required, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20220707-0006/> (advisory, third-party-advisory)
- <https://jira.mariadb.org/browse/MDEV-26574> (web)
- <https://jira.mariadb.org/browse/MDEV-26561> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-31621> (web)

## Sources

- CVE List: [CVE-2022-31621](https://www.cve.org/CVERecord?id=CVE-2022-31621), CVE Terms of Use, modified 2024-10-30
- NVD: [CVE-2022-31621](https://nvd.nist.gov/vuln/detail/CVE-2022-31621), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-MARIADB-2022-31621](https://osv.dev/vulnerability/BIT-MARIADB-2022-31621), Apache-2.0, modified 2026-09-10
- Bitnami Vulnerability Database: [BIT-MARIADB-MIN-2022-31621](https://osv.dev/vulnerability/BIT-MARIADB-MIN-2022-31621), Apache-2.0, modified 2026-09-10
- Bitnami Vulnerability Database: [BIT-MYSQL-CLIENT-2022-31621](https://osv.dev/vulnerability/BIT-MYSQL-CLIENT-2022-31621), Apache-2.0, modified 2026-09-10

---

Page: https://cve.day/CVE-2022-31621 · Whole record: https://cve.day/CVE-2022-31621.json · Rebuilt by cve.day 2026-11-25T22:58:11.940Z
