CVE-2022-31621: MariaDB

Medium severity, CVSS 5.5. EPSS: 0.2% chance of exploitation in the next 30 days.

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.

Affected products

  • MariaDB MariaDB: before 10.2.41 (fixed in 10.2.41); from 10.3.0, before 10.3.32 (fixed in 10.3.32); from 10.4.0, before 10.4.22 (fixed in 10.4.22); from 10.5.0, before 10.5.13 (fixed in 10.5.13); from 10.6.0, before 10.6.5 (fixed in 10.6.5)

Published 2022-05-25. Last modified 2026-06-17.