# CVE-2022-31621

- Priority: **Routine**
- Reason: Not severe (CVSS 5.3, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-05-25 · Modified: 2024-10-30
- Aliases: ALPINE-CVE-2022-31621, DEBIAN-CVE-2022-31621
- Record: https://cvemate.com/vulnerability/CVE-2022-31621 · JSON: https://cvemate.com/vulnerability/CVE-2022-31621/json

## Description

```text
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.
```

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.223%, percentile 13.768%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine mariadb (Alpine Linux): ≥ 10.3.0, \< 10.6.7-r0 \| ≥ 10.6.0, \< 10.6.7-r0
- debian mariadb-10.5 (Debian): \< 1:10.5.15-0+deb11u1
- mariadb mariadb: \< 10.2.41 \| ≥ 10.3.0, \< 10.3.32 \| ≥ 10.4.0, \< 10.4.22 \| ≥ 10.5.0, \< 10.5.13 \| ≥ 10.6.0, \< 10.6.5

## References

- <https://github.com/MariaDB/server/commit/b1351c15946349f9daa7e5297fb2ac6f3139e4a8>
- <https://jira.mariadb.org/browse/MDEV-26574?filter=-2>
- <https://security.netapp.com/advisory/ntap-20220707-0006/>
- <https://jira.mariadb.org/browse/MDEV-26574>
- <https://jira.mariadb.org/browse/MDEV-26561>
- <https://security.alpinelinux.org/vuln/CVE-2022-31621>
- <https://security-tracker.debian.org/tracker/CVE-2022-31621>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-31621>

---

Data as of 2026-12-05T06:37:20.744Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
