CVE-2022-31621: mariadb Improper Locking
Vulnerability summary
CVE-2022-31621 is a medium (CVSS 5.5) Improper Locking vulnerability in mariadb. EPSS estimates a 0.22% chance of exploitation in the next 30 days, higher than 13.7% of scored vulnerabilities.
Not severe (CVSS 5.3, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 6Timeline
- 25-05-2022PublishedVulnerability first disclosed.
- 30-10-2024Last modifiedVulnerability information updated.
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 metrics
5 scores · 4 sources · 2 versions- CVE.orgCNA5.3MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:LDiffers
- OSV · AlpineEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.22%
Chance of exploitation in the next 30 days
Percentile
14%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.22% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Alpine1 product
- mariadb≥ 10.3.0, < 10.6.7-r0 | ≥ 10.6.0, < 10.6.7-r0
Debian1 product
- mariadb-10.5< 1:10.5.15-0+deb11u1
Mariadb1 product
- 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
3 vendors · 3 products
References
8 links- security.netapp.com/advisory/ntap-20220707-0006/Third Party Advisory